:root {
  --yellow: #ffc928;
  --yellow-strong: #f1b900;
  --cyan: #67e8f9;
  --lime: #a3e635;
  --rose: #fb7185;
  --ink: #080807;
  --ink-soft: #151410;
  --panel: #11110f;
  --panel-soft: #1c1a14;
  --muted: #6f6549;
  --muted-light: #b8af98;
  --line: rgba(255, 255, 255, 0.12);
  --line-dark: rgba(0, 0, 0, 0.14);
  --white: #ffffff;
  --shadow: 0 28px 70px rgba(0, 0, 0, 0.34);
  --radius: 8px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

::selection {
  color: var(--ink);
  background: var(--yellow);
}

a,
button {
  font: inherit;
}

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

button {
  cursor: pointer;
}

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

.page-shell {
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 8% 10%, rgba(255, 201, 40, 0.18), transparent 25%),
    radial-gradient(circle at 88% 6%, rgba(103, 232, 249, 0.1), transparent 26%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.03), transparent 42%),
    var(--ink);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
  min-height: 82px;
  padding: 0 7vw;
  background: rgba(255, 201, 40, 0.9);
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  flex-direction: column;
  width: max-content;
  line-height: 1;
}

.brand strong,
.footer strong {
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 500;
  letter-spacing: 0;
}

.brand span,
.footer span {
  margin-top: 7px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  font-size: 14px;
  font-weight: 800;
}

.nav a {
  position: relative;
  padding: 31px 0 26px;
  transition: opacity 160ms var(--ease), transform 160ms var(--ease);
}

.nav a::after {
  position: absolute;
  right: 0;
  bottom: 17px;
  left: 0;
  height: 4px;
  content: "";
  background: var(--ink);
  border-radius: 99px;
  opacity: 0;
  transform: scaleX(0.45);
  transition: opacity 180ms var(--ease), transform 180ms var(--ease);
}

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

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

.topbar-actions {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: 12px;
}

.talk-button,
.primary-action,
.secondary-action,
.outline-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 900;
  white-space: nowrap;
  transition:
    transform 160ms var(--ease),
    box-shadow 160ms var(--ease),
    border-color 160ms var(--ease),
    background 160ms var(--ease);
}

.talk-button,
.primary-action {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.22);
}

.talk-button::before,
.primary-action::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.24), transparent);
  transform: translateX(-120%);
  transition: transform 540ms var(--ease);
}

.talk-button:hover::before,
.primary-action:hover::before {
  transform: translateX(120%);
}

.talk-button span,
.primary-action span,
.secondary-action span,
.outline-button span {
  position: relative;
  z-index: 1;
  transition: transform 160ms var(--ease);
}

.talk-button:hover span,
.primary-action:hover span,
.secondary-action:hover span,
.outline-button:hover span {
  transform: translate(2px, -2px);
}

.secondary-action {
  color: var(--ink);
  border: 1px solid rgba(0, 0, 0, 0.24);
  background: rgba(255, 255, 255, 0.18);
}

.outline-button {
  color: var(--white);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
}

.talk-button:hover,
.primary-action:hover,
.secondary-action:hover,
.outline-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.24);
}

.talk-button:active,
.primary-action:active,
.secondary-action:active,
.outline-button:active {
  transform: translateY(0) scale(0.98);
}

.talk-button:focus-visible,
.primary-action:focus-visible,
.secondary-action:focus-visible,
.outline-button:focus-visible,
.menu-button:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.75);
  outline-offset: 3px;
}

.menu-button {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.2);
}

.menu-button span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
  border-radius: 99px;
  transition: transform 180ms var(--ease), opacity 180ms var(--ease);
}

.menu-button.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-button.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-button.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  inset: 82px 16px auto;
  z-index: 19;
  display: none;
  padding: 12px;
  color: var(--white);
  background: rgba(12, 12, 11, 0.96);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transform: translateY(-10px);
  opacity: 0;
}

.mobile-menu.is-open {
  display: grid;
  gap: 4px;
  animation: menu-in 220ms var(--ease) forwards;
}

.mobile-menu a {
  padding: 14px 15px;
  color: #f7f1d2;
  font-weight: 800;
  border-radius: 7px;
}

.mobile-menu a:hover {
  background: rgba(255, 201, 40, 0.14);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(330px, 0.84fr) minmax(420px, 1.16fr);
  gap: 58px;
  min-height: 680px;
  padding: 90px 7vw 64px;
  overflow: hidden;
  background:
    radial-gradient(circle at 74% 28%, rgba(255, 255, 255, 0.24), transparent 23%),
    linear-gradient(120deg, #ffe26a 0%, var(--yellow) 42%, #f4b208 70%, #15120a 100%);
}

.hero::before,
.hero::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.hero::before {
  inset: 0;
  background:
    linear-gradient(rgba(0, 0, 0, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.035) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(90deg, #000, transparent 78%);
}

.hero::after {
  right: -120px;
  bottom: -90px;
  width: 420px;
  height: 420px;
  border: 44px solid rgba(0, 0, 0, 0.055);
  border-radius: 50%;
}

.hero-copy,
.hero-showcase {
  position: relative;
  z-index: 1;
  align-self: center;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: #5a4300;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.7px;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(46px, 6vw, 82px);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: 0;
}

.text-reveal span {
  display: block;
  overflow: hidden;
  animation: text-line-up 760ms var(--ease) both;
}

.text-reveal span:nth-child(2) {
  animation-delay: 120ms;
}

.hero h1::after {
  display: block;
  width: min(220px, 48vw);
  height: 6px;
  margin-top: 24px;
  content: "";
  background: linear-gradient(90deg, var(--ink), var(--cyan), transparent);
  border-radius: 99px;
}

.lead {
  max-width: 570px;
  margin: 26px 0 34px;
  color: #211c0c;
  font-size: 18px;
  font-weight: 550;
  line-height: 1.65;
}

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

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 600px;
  margin-top: 28px;
}

.hero-tags span,
.capability-band span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 13px;
  color: #241b00;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.32);
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 99px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 590px;
  margin-top: 18px;
}

.hero-metrics div {
  position: relative;
  overflow: hidden;
  min-height: 96px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.24);
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: var(--radius);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.12);
}

.hero-metrics div::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(110deg, transparent, rgba(255, 255, 255, 0.24), transparent);
  transform: translateX(-120%);
  animation: metric-shine 3.8s var(--ease) infinite;
}

.hero-metrics strong {
  display: block;
  color: var(--ink);
  font-size: 36px;
  font-weight: 950;
  line-height: 1;
}

.hero-metrics span {
  display: block;
  margin-top: 8px;
  color: #372a00;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-showcase {
  min-width: 0;
}

.browser-card {
  position: relative;
  overflow: hidden;
  background: #0a0a09;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  box-shadow: var(--shadow);
  transform: perspective(1100px) rotateY(calc(-8deg + var(--tilt-y, 0deg))) rotateX(calc(4deg + var(--tilt-x, 0deg)));
  transition: transform 280ms var(--ease), box-shadow 280ms var(--ease);
}

.browser-card::before,
.project-card::before,
.systems-grid article::before,
.process-grid article::before {
  position: absolute;
  inset: -2px;
  content: "";
  pointer-events: none;
  background: conic-gradient(
    from var(--angle, 0deg),
    transparent 0deg,
    transparent 72deg,
    rgba(255, 201, 40, 0.95) 98deg,
    rgba(103, 232, 249, 0.9) 126deg,
    transparent 158deg,
    transparent 360deg
  );
  border-radius: inherit;
  opacity: 0;
  animation: border-spin 4.2s linear infinite;
  transition: opacity 180ms var(--ease);
  z-index: 0;
}

.browser-card::after,
.project-card::after,
.systems-grid article .card-mask,
.process-grid article .card-mask {
  position: absolute;
  inset: 1px;
  content: "";
  pointer-events: none;
  background: inherit;
  border-radius: calc(var(--radius) - 1px);
  z-index: 0;
}

.browser-card:hover::before,
.project-card:hover::before,
.project-card:focus-within::before,
.systems-grid article:hover::before,
.process-grid article:hover::before {
  opacity: 1;
}

.browser-card:hover {
  box-shadow: 0 36px 90px rgba(0, 0, 0, 0.42);
  transform: perspective(1100px) rotateY(calc(-3deg + var(--tilt-y, 0deg))) rotateX(calc(1deg + var(--tilt-x, 0deg))) translateY(-4px);
}

.showcase-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 680px;
  margin-top: 16px;
}

.showcase-tabs button {
  position: relative;
  overflow: hidden;
  min-height: 38px;
  padding: 0 13px;
  color: #f7f1d2;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  background: rgba(0, 0, 0, 0.38);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 99px;
  transition: transform 160ms var(--ease), background 160ms var(--ease), color 160ms var(--ease);
}

.showcase-tabs button::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.18), transparent);
  transform: translateX(-130%);
  transition: transform 520ms var(--ease);
}

.showcase-tabs button:hover,
.showcase-tabs button:focus-visible,
.showcase-tabs button.is-active {
  color: var(--ink);
  background: var(--yellow);
  transform: translateY(-2px);
}

.showcase-tabs button:hover::after,
.showcase-tabs button:focus-visible::after,
.showcase-tabs button.is-active::after {
  transform: translateX(130%);
}

.showcase-swap {
  animation: showcase-swap 360ms var(--ease) both;
}

.browser-dots {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 8px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.browser-dots span {
  width: 10px;
  height: 10px;
  background: #35342e;
  border-radius: 50%;
}

.browser-dots span:first-child {
  background: #ff5b5b;
}

.browser-dots span:nth-child(2) {
  background: #ffd45a;
}

.browser-dots span:nth-child(3) {
  background: #43d17a;
}

.browser-screen {
  position: relative;
  z-index: 1;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.browser-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.screen-badge,
.project-badge {
  position: absolute;
  z-index: 1;
  padding: 10px 13px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  background: var(--yellow);
  border-radius: 7px;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.28);
}

.screen-badge {
  right: 18px;
  bottom: 18px;
}

.floating-metric {
  position: absolute;
  z-index: 2;
  min-width: 164px;
  padding: 16px 18px;
  color: var(--white);
  background: rgba(13, 13, 12, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  box-shadow: 0 22px 46px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(14px);
  animation: float-card 4.4s var(--ease) infinite;
}

.floating-metric span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted-light);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.floating-metric strong {
  font-size: 16px;
}

.metric-one {
  top: -18px;
  left: -24px;
}

.metric-two {
  right: -16px;
  bottom: -20px;
  animation-delay: 700ms;
}

.capability-band {
  display: flex;
  gap: 12px;
  padding: 18px 7vw;
  overflow-x: auto;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(103, 232, 249, 0.14), transparent 26%),
    linear-gradient(180deg, #0f0f0d, #080807);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  scrollbar-width: none;
}

.capability-band::-webkit-scrollbar {
  display: none;
}

.capability-band span {
  flex: 0 0 auto;
  color: #f7f1d2;
  background: rgba(255, 255, 255, 0.065);
  border-color: rgba(255, 255, 255, 0.13);
  transition: transform 160ms var(--ease), background 160ms var(--ease);
}

.capability-band span:hover {
  background: rgba(255, 201, 40, 0.16);
  transform: translateY(-2px);
}

.marquee-strip {
  position: relative;
  overflow: hidden;
  padding: 13px 0;
  color: #f7f1d2;
  background: #070706;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.marquee-strip::before,
.marquee-strip::after {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: 12vw;
  content: "";
  pointer-events: none;
}

.marquee-strip::before {
  left: 0;
  background: linear-gradient(90deg, #070706, transparent);
}

.marquee-strip::after {
  right: 0;
  background: linear-gradient(270deg, #070706, transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 12px;
  animation: marquee-run 24s linear infinite;
}

.marquee-track span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 132px;
  height: 38px;
  color: #f7f1d2;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 201, 40, 0.17), transparent 50%),
    rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 99px;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  padding: 1px 7vw;
  color: var(--white);
  background: #050505;
}

.proof-strip div {
  min-height: 104px;
  padding: 24px;
  background: linear-gradient(180deg, #151411, #0e0e0c);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: transform 180ms var(--ease), background 180ms var(--ease);
}

.proof-strip div:hover {
  background: linear-gradient(180deg, #1d1a12, #10100e);
  transform: translateY(-2px);
}

.proof-icon {
  display: inline-flex;
  margin-right: 10px;
}

.proof-strip strong {
  font-size: 15px;
}

.proof-strip small {
  display: block;
  margin-top: 7px;
  color: var(--muted-light);
  font-size: 13px;
  line-height: 1.45;
}

.projects-section,
.services-section,
.process-section,
.systems-section {
  padding: 78px 7vw 90px;
  color: var(--white);
  background:
    radial-gradient(circle at 91% 16%, rgba(255, 201, 40, 0.1), transparent 24%),
    #0b0b0a;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 38px;
}

.section-head.compact {
  margin-bottom: 24px;
}

.projects-section .section-kicker,
.services-section .section-kicker,
.process-section .section-kicker {
  color: var(--yellow);
}

.section-head h2,
.services-section h2,
.process-section h2 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.04;
  letter-spacing: 0;
}

.section-head p,
.services-section p,
.process-section p {
  max-width: 650px;
  margin: 14px 0 0;
  color: #b9b29b;
  font-size: 17px;
  line-height: 1.7;
}

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

.project-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #1b1a16, #121210);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.34);
  transform: perspective(1000px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  transition: transform 220ms var(--ease), border-color 220ms var(--ease), box-shadow 220ms var(--ease);
  will-change: transform;
}

.project-card > * {
  position: relative;
  z-index: 1;
}

.project-card::after {
  background:
    radial-gradient(circle at var(--mx, 50%) var(--my, 0%), rgba(255, 201, 40, 0.14), transparent 34%),
    linear-gradient(180deg, #1b1a16, #121210);
  opacity: 1;
}

.project-card:hover,
.project-card:focus-within {
  border-color: rgba(255, 201, 40, 0.42);
  box-shadow: 0 34px 76px rgba(0, 0, 0, 0.42);
  transform: perspective(1000px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)) translateY(-6px);
}

.project-preview {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  min-height: 210px;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: #050505;
}

.project-preview::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.62)),
    radial-gradient(circle at 80% 16%, rgba(255, 201, 40, 0.22), transparent 32%);
}

.project-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transform: scale(1.01);
  transition: transform 500ms var(--ease), filter 500ms var(--ease);
}

.project-card:hover .project-preview img {
  filter: saturate(1.08) contrast(1.04);
  transform: scale(1.06);
}

.project-badge {
  right: 16px;
  bottom: 16px;
}

.project-info {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 22px 24px;
}

.project-info h3 {
  margin: 0 0 10px;
  font-size: 20px;
}

.project-info p {
  margin: 0;
  color: #aaa28b;
  font-size: 14px;
  line-height: 1.5;
}

.project-info > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  color: var(--ink);
  font-weight: 900;
  background: var(--yellow);
  border-radius: var(--radius);
  transition: transform 160ms var(--ease);
}

.project-info > a:hover {
  transform: translate(2px, -2px);
}

.services-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.86fr) minmax(320px, 1.14fr);
  gap: 46px;
  background:
    radial-gradient(circle at 10% 12%, rgba(255, 201, 40, 0.11), transparent 26%),
    #11100d;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.systems-section {
  background:
    linear-gradient(135deg, rgba(103, 232, 249, 0.12), transparent 32%),
    linear-gradient(315deg, rgba(251, 113, 133, 0.12), transparent 28%),
    #080807;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.service-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-self: center;
}

.service-list span,
.process-grid article,
.systems-grid article {
  position: relative;
  min-height: 72px;
  padding: 20px;
  color: #f7f1d2;
  font-weight: 850;
  background: linear-gradient(180deg, #1b1913, #13120f);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius);
  transition: transform 180ms var(--ease), border-color 180ms var(--ease), background 180ms var(--ease);
}

.systems-grid article > *,
.process-grid article > * {
  position: relative;
  z-index: 1;
}

.service-list span:hover,
.process-grid article:hover,
.systems-grid article:hover {
  border-color: rgba(255, 201, 40, 0.32);
  background: linear-gradient(180deg, #211e14, #15130e);
  transform: translateY(-3px);
}

.service-list strong {
  display: block;
  margin-bottom: 8px;
  color: var(--yellow);
  font-size: 13px;
}

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

.systems-grid article {
  min-height: 260px;
  overflow: hidden;
}

.systems-grid article::after {
  position: absolute;
  right: -48px;
  bottom: -48px;
  width: 160px;
  height: 160px;
  content: "";
  background:
    linear-gradient(135deg, rgba(255, 201, 40, 0.2), rgba(103, 232, 249, 0.12));
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  transform: rotate(18deg);
  z-index: 0;
}

.system-icon {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 42px;
  color: var(--ink);
  font-weight: 900;
  background: linear-gradient(135deg, var(--yellow), var(--cyan));
  border-radius: var(--radius);
}

.systems-grid h3,
.systems-grid p {
  position: relative;
  z-index: 1;
}

.systems-grid h3 {
  margin: 0 0 12px;
  font-size: 23px;
}

.systems-grid p {
  margin: 0;
  color: #b9b29b;
  line-height: 1.65;
}

.process-section {
  background: var(--yellow);
  color: var(--ink);
}

.process-section .section-kicker,
.process-section p {
  color: #554410;
}

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

.process-grid article {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.34);
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.12);
}

.process-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 24px;
  color: var(--white);
  font-weight: 900;
  background: var(--ink);
  border-radius: var(--radius);
}

.process-grid h3 {
  margin: 0 0 10px;
  font-size: 21px;
}

.process-grid p {
  margin: 0;
  color: #493c17;
  line-height: 1.62;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 38px 7vw;
  color: var(--white);
  background: #050505;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer div:first-child {
  display: flex;
  flex-direction: column;
}

.footer span {
  color: #a8a08a;
}

.footer-contact {
  display: flex;
  align-items: center;
  gap: 18px;
}

.footer-contact p {
  margin: 0;
  color: var(--muted-light);
  font-weight: 700;
}

.reveal {
  animation: reveal-up 620ms var(--ease) both;
}

.proof-strip {
  animation-delay: 80ms;
}

.projects-section {
  animation-delay: 140ms;
}

.services-section {
  animation-delay: 200ms;
}

.process-section {
  animation-delay: 260ms;
}

@keyframes reveal-up {
  from {
    opacity: 0;
    transform: translateY(22px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float-card {
  0%,
  100% {
    transform: translateY(0);
  }

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

@keyframes menu-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes border-spin {
  to {
    --angle: 360deg;
  }
}

@keyframes text-line-up {
  from {
    opacity: 0;
    filter: blur(10px);
    transform: translateY(105%);
  }

  to {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
  }
}

@keyframes metric-shine {
  0%,
  48% {
    transform: translateX(-120%);
  }

  74%,
  100% {
    transform: translateX(120%);
  }
}

@keyframes marquee-run {
  to {
    transform: translateX(-50%);
  }
}

@keyframes showcase-swap {
  from {
    opacity: 0;
    filter: blur(12px);
    transform: scale(1.035);
  }

  to {
    opacity: 1;
    filter: blur(0);
    transform: scale(1);
  }
}

@property --angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }
}

@media (max-width: 1180px) {
  .topbar {
    grid-template-columns: 1fr auto;
  }

  .nav {
    display: none;
  }

  .menu-button {
    display: inline-block;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .hero-copy {
    max-width: 820px;
  }

  .hero-showcase {
    max-width: 760px;
  }

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

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

@media (max-width: 760px) {
  .topbar {
    min-height: 74px;
    padding: 0 18px;
  }

  .brand strong {
    font-size: 29px;
  }

  .brand span {
    font-size: 8px;
  }

  .topbar .talk-button {
    display: none;
  }

  .mobile-menu {
    inset: 82px 14px auto;
  }

  .hero {
    min-height: auto;
    padding: 52px 20px 46px;
  }

  .hero h1 {
    font-size: clamp(39px, 11vw, 52px);
  }

  .lead {
    font-size: 16px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .hero-metrics div {
    min-height: 82px;
  }

  .marquee-track {
    animation-duration: 18s;
  }

  .marquee-track span {
    min-width: 112px;
    height: 34px;
    font-size: 11px;
  }

  .primary-action,
  .secondary-action,
  .outline-button,
  .footer .talk-button {
    width: 100%;
  }

  .browser-card {
    border-radius: 10px;
    transform: none;
  }

  .browser-card:hover {
    transform: translateY(-3px);
  }

  .showcase-tabs {
    gap: 7px;
  }

  .showcase-tabs button {
    flex: 1 1 46%;
    min-height: 42px;
  }

  .floating-metric {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    display: inline-block;
    min-width: 0;
    margin-top: 12px;
    margin-right: 8px;
    animation: none;
  }

  .proof-strip,
  .projects-section,
  .services-section,
  .systems-section,
  .process-section {
    padding-right: 20px;
    padding-left: 20px;
  }

  .proof-strip,
  .projects-grid,
  .service-list,
  .systems-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .section-head,
  .services-section,
  .footer,
  .footer-contact {
    display: block;
  }

  .outline-button,
  .footer-contact {
    margin-top: 22px;
  }

  .project-preview {
    min-height: 230px;
  }

  .project-info {
    padding: 20px;
  }

  .page-shell {
    padding-bottom: 88px;
  }

  .bottom-nav {
    display: grid;
    padding-bottom: calc(7px + env(safe-area-inset-bottom));
  }
}

/* Motion pack */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 80;
  width: var(--progress, 0%);
  height: 4px;
  background: linear-gradient(90deg, var(--yellow), var(--cyan), var(--rose));
  box-shadow: 0 0 18px rgba(255, 201, 40, 0.5);
  transition: width 90ms linear;
}

.ambient-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background: #070706;
}

.ambient-bg span {
  position: absolute;
  width: 34vw;
  height: 34vw;
  min-width: 260px;
  min-height: 260px;
  background: radial-gradient(circle, rgba(255, 201, 40, 0.18), transparent 66%);
  border-radius: 50%;
  filter: blur(16px);
  animation: drift 12s var(--ease) infinite alternate;
}

.ambient-bg span:nth-child(1) {
  top: 7%;
  left: -12%;
}

.ambient-bg span:nth-child(2) {
  right: -10%;
  bottom: 16%;
  background: radial-gradient(circle, rgba(103, 232, 249, 0.13), transparent 66%);
  animation-delay: 1.4s;
}

.ambient-bg span:nth-child(3) {
  top: 48%;
  left: 36%;
  background: radial-gradient(circle, rgba(251, 113, 133, 0.12), transparent 66%);
  animation-delay: 2.2s;
}

.hero-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 580px;
  margin-top: 22px;
  padding: 12px 14px;
  color: #241b00;
  font-size: 13px;
  font-weight: 850;
  background: rgba(255, 255, 255, 0.3);
  border: 1px solid rgba(0, 0, 0, 0.13);
  border-radius: var(--radius);
  backdrop-filter: blur(12px);
}

.pulse-dot {
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  background: #16a34a;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.48);
  animation: pulse 1.7s ease-out infinite;
}

.hero-tags span {
  animation: tag-in 520ms var(--ease) both;
}

.hero-tags span:nth-child(2) {
  animation-delay: 70ms;
}

.hero-tags span:nth-child(3) {
  animation-delay: 140ms;
}

.hero-tags span:nth-child(4) {
  animation-delay: 210ms;
}

.hero-tags span:nth-child(5) {
  animation-delay: 280ms;
}

.hero::before {
  animation: grid-drift 16s linear infinite;
}

.browser-card:hover .browser-screen img,
.browser-card:active .browser-screen img {
  animation: screen-pan 5.6s var(--ease) infinite alternate;
}

.secondary-action,
.outline-button,
.service-list span,
.systems-grid article,
.process-grid article,
.project-info > a {
  overflow: hidden;
}

.secondary-action::before,
.outline-button::before,
.service-list span::before {
  position: absolute;
  inset: auto auto 0 0;
  width: 100%;
  height: 100%;
  content: "";
  pointer-events: none;
  background: radial-gradient(circle at var(--tap-x, 50%) var(--tap-y, 50%), rgba(255, 255, 255, 0.34), transparent 30%);
  opacity: 0;
  transform: scale(0.5);
}

.tap-effect::before {
  animation: tap-ripple 520ms var(--ease);
}

.project-card:active,
.service-list span:active,
.systems-grid article:active,
.process-grid article:active {
  transform: translateY(-1px) scale(0.99);
}

.float-whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 30;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 16px 0 18px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 950;
  background: linear-gradient(135deg, #22c55e, #bbf7d0);
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  box-shadow: 0 18px 42px rgba(34, 197, 94, 0.3);
  transition: transform 170ms var(--ease), box-shadow 170ms var(--ease);
}

.float-whatsapp strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  color: var(--white);
  background: rgba(0, 0, 0, 0.78);
  border-radius: 50%;
}

.float-whatsapp:hover,
.float-whatsapp:focus-visible {
  box-shadow: 0 24px 54px rgba(34, 197, 94, 0.42);
  transform: translateY(-4px);
}

.bottom-nav {
  position: fixed;
  right: 12px;
  bottom: 12px;
  left: 12px;
  z-index: 29;
  display: none;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 4px;
  padding: 7px;
  color: #f7f1d2;
  background: rgba(8, 8, 7, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(18px);
}

.bottom-nav a {
  display: grid;
  place-items: center;
  gap: 3px;
  min-height: 52px;
  font-size: 10px;
  font-weight: 900;
  border-radius: 13px;
  transition: background 160ms var(--ease), color 160ms var(--ease), transform 160ms var(--ease);
}

.bottom-nav a span {
  font-size: 17px;
  line-height: 1;
}

.bottom-nav a.active,
.bottom-nav a:hover,
.bottom-nav a:focus-visible {
  color: var(--ink);
  background: var(--yellow);
  transform: translateY(-2px);
}

.reveal:not(.hero) {
  position: relative;
  opacity: 0;
  filter: blur(12px);
  transform: translateX(var(--reveal-x, -54px)) scale(0.985);
  animation: none;
  transition:
    opacity 820ms var(--ease),
    filter 820ms var(--ease),
    transform 820ms var(--ease);
}

.proof-strip.reveal,
.services-section.reveal,
.process-section.reveal {
  --reveal-x: 54px;
}

.capability-band.reveal,
.projects-section.reveal,
.systems-section.reveal {
  --reveal-x: -54px;
}

.reveal:not(.hero)::before {
  position: absolute;
  inset: 0;
  z-index: 2;
  content: "";
  pointer-events: none;
  background: linear-gradient(105deg, transparent 18%, rgba(255, 255, 255, 0.16) 48%, transparent 74%);
  opacity: 0;
  transform: translateX(-120%);
}

.reveal.is-visible,
.hero.reveal {
  opacity: 1;
  filter: blur(0);
  transform: translateX(0) scale(1);
}

.reveal.is-visible:not(.hero)::before {
  animation: reveal-sheen 980ms var(--ease) 90ms both;
}

.project-card,
.proof-strip div,
.service-list span,
.systems-grid article,
.process-grid article {
  transform-origin: center bottom;
}

.stagger-in {
  animation: child-rise 620ms var(--ease) var(--stagger, 0ms) both;
}

@keyframes drift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }

  to {
    transform: translate3d(8vw, -5vh, 0) scale(1.18);
  }
}

@keyframes grid-drift {
  to {
    background-position: 46px 46px;
  }
}

@keyframes tag-in {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.96);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes pulse {
  to {
    box-shadow: 0 0 0 12px rgba(22, 163, 74, 0);
  }
}

@keyframes screen-pan {
  to {
    transform: translateY(-4%) scale(1.04);
  }
}

@keyframes tap-ripple {
  0% {
    opacity: 0.62;
    transform: scale(0.2);
  }

  100% {
    opacity: 0;
    transform: scale(1.8);
  }
}

@keyframes reveal-sheen {
  0% {
    opacity: 0;
    transform: translateX(-120%);
  }

  28% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translateX(120%);
  }
}

@keyframes child-rise {
  from {
    opacity: 0;
    filter: blur(8px);
    transform: translateX(var(--child-x, -22px)) scale(0.97);
  }

  to {
    opacity: 1;
    filter: blur(0);
    transform: translateX(0) scale(1);
  }
}

.proof-strip .stagger-in,
.services-section .stagger-in,
.process-section .stagger-in {
  --child-x: 22px;
}

.capability-band .stagger-in,
.projects-section .stagger-in,
.systems-section .stagger-in {
  --child-x: -22px;
}

@media (max-width: 760px) {
  .ambient-bg span {
    filter: blur(22px);
    opacity: 0.72;
  }

  .hero-status {
    font-size: 12px;
    line-height: 1.45;
  }

  .float-whatsapp {
    right: 16px;
    bottom: 88px;
    min-height: 50px;
    padding: 0 12px 0 14px;
  }

  .float-whatsapp span {
    display: none;
  }
}
