:root {
  color-scheme: dark;
  --bg: #050505;
  --surface: #0e0e0e;
  --surface-strong: #151515;
  --text: #f3f3f3;
  --muted: #b8b8b8;
  --dim: #8f8f8f;
  --line: rgba(255, 255, 255, 0.1);
  --blue: #30c0f0;
  --green: #40b0a0;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 16% 8%, rgba(48, 192, 240, 0.16), transparent 34rem),
    radial-gradient(circle at 86% 18%, rgba(64, 176, 160, 0.13), transparent 30rem),
    linear-gradient(180deg, #050505 0%, #080909 48%, #050505 100%);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  height: auto;
}

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

.shell {
  width: min(100% - 40px, 1534px);
  margin-inline: auto;
}

.section-pad {
  padding-block: clamp(64px, 8vw, 104px);
}

.focus-ring {
  outline: none;
}

.focus-ring:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 4px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(5, 5, 5, 0.78);
  backdrop-filter: blur(18px);
}

.nav {
  display: flex;
  min-height: 80px;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand img,
.footer-brand img {
  width: 50px;
  object-fit: contain;
}

.brand span {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--muted);
  font-size: 0.94rem;
}

.nav-links a,
.footer-links a {
  transition: color 180ms ease;
}

.nav-links a:hover,
.footer-links a:hover {
  color: white;
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 999px;
  font-weight: 700;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    transform 180ms ease;
}

.nav-cta {
  border: 1px solid rgba(48, 192, 240, 0.45);
  background: rgba(48, 192, 240, 0.1);
  padding: 10px 16px;
  box-shadow: 0 0 28px rgba(48, 192, 240, 0.16);
}

.nav-cta:hover,
.button:hover {
  transform: translateY(-1px);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: white;
}

.hero {
  position: relative;
  overflow: hidden;
  padding-top: clamp(48px, 7vw, 86px);
}

.hero::before {
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(48, 192, 240, 0.8), transparent);
  content: "";
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(680px, 1.18fr) minmax(320px, 0.62fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
}

.eyebrow,
.section-kicker {
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  padding: 10px 14px;
  color: var(--muted);
  letter-spacing: 0;
  text-transform: none;
}

.green {
  color: var(--green);
}

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

h1 {
  max-width: 980px;
  margin-top: 28px;
  font-size: clamp(2.4rem, 4.6vw, 4.35rem);
  line-height: 1.07;
  text-wrap: balance;
}

h2 {
  max-width: 620px;
  font-size: clamp(2rem, 3.2vw, 3.25rem);
  line-height: 1.1;
  text-wrap: balance;
}

h3 {
  font-size: 1.16rem;
}

.hero-copy > p,
.lead-copy,
.contact-lead {
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  line-height: 1.75;
}

.hero-copy > p {
  max-width: 760px;
  margin-top: 26px;
}

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

.button {
  border: 1px solid transparent;
  padding: 12px 20px;
}

.button-primary {
  background: white;
  color: black;
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: white;
}

.scope-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  max-width: 760px;
  margin-top: 38px;
}

.scope-strip span,
.badges span {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--muted);
  padding: 12px 14px;
  font-size: 0.92rem;
}

.hero-visual {
  position: relative;
}

.hero-visual::before {
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  background: rgba(48, 192, 240, 0.16);
  filter: blur(60px);
  content: "";
}

.logo-stage {
  position: relative;
  padding: clamp(8px, 2vw, 22px);
}

.logo-stage img {
  filter: drop-shadow(0 0 36px rgba(48, 192, 240, 0.18));
}

.split {
  display: grid;
  grid-template-columns: minmax(300px, 0.8fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(32px, 6vw, 76px);
}

.lead-copy {
  display: grid;
  gap: 28px;
  max-width: 690px;
  padding-top: 4px;
}

.cred-grid,
.capability-grid {
  display: grid;
  gap: 16px;
}

.cred-grid {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 44px;
}

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

.info-card,
.mini-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(14, 14, 14, 0.76);
  padding: 26px;
}

.info-card p,
.mini-card p {
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.7;
}

.icon-dot {
  display: grid;
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 50%;
  background: rgba(64, 176, 160, 0.14);
  color: var(--green);
  font-weight: 800;
}

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

.project-list {
  display: grid;
  gap: 24px;
  margin-top: 46px;
}

.project-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.92fr);
  overflow: hidden;
  min-height: 430px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(14, 14, 14, 0.82);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.2);
}

.project-card.reverse .project-copy {
  order: 2;
}

.project-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 5vw, 52px);
}

.project-type {
  width: fit-content;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  padding: 7px 12px;
  font-size: 0.88rem;
}

.project-copy h3 {
  margin-top: 20px;
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  line-height: 1.08;
}

.project-copy p {
  max-width: 620px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.75;
}

.badges,
.project-links {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 24px;
}

.badges span {
  border-radius: 999px;
  padding: 7px 12px;
}

.project-links a {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  padding: 10px 14px;
  font-weight: 700;
  transition:
    background 180ms ease,
    border-color 180ms ease;
}

.project-links a:hover {
  border-color: rgba(48, 192, 240, 0.6);
  background: rgba(48, 192, 240, 0.1);
}

.project-links small {
  margin-left: 4px;
  color: var(--muted);
}

.project-visual {
  position: relative;
  display: grid;
  min-height: 320px;
  place-items: center;
  overflow: hidden;
  padding: 40px;
}

.project-visual::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 45%),
    radial-gradient(circle at 70% 25%, rgba(255, 255, 255, 0.12), transparent 26%);
  content: "";
}

.project-visual img,
.text-mark {
  position: relative;
  max-width: min(76%, 340px);
  max-height: 260px;
  object-fit: contain;
  filter: drop-shadow(0 28px 60px rgba(0, 0, 0, 0.45));
  transition: transform 220ms ease;
}

.project-card:hover .project-visual img,
.project-card:hover .text-mark {
  transform: scale(1.035);
}

.text-mark {
  display: grid;
  aspect-ratio: 1;
  width: min(80%, 320px);
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 28px;
  background: rgba(0, 0, 0, 0.28);
  color: white;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  text-align: center;
}

.accent-green {
  background: linear-gradient(135deg, rgba(64, 176, 160, 0.22), rgba(64, 176, 160, 0.08), transparent);
}

.accent-blue {
  background: linear-gradient(135deg, rgba(48, 192, 240, 0.2), rgba(48, 192, 240, 0.07), transparent);
}

.accent-amber {
  background: linear-gradient(135deg, rgba(242, 184, 75, 0.2), rgba(64, 176, 160, 0.08), transparent);
}

.accent-violet {
  background: linear-gradient(135deg, rgba(138, 92, 255, 0.22), rgba(48, 192, 240, 0.08), transparent);
}

.accent-teal {
  background: linear-gradient(135deg, rgba(64, 176, 160, 0.22), rgba(138, 92, 255, 0.07), transparent);
}

.accent-gold {
  background: linear-gradient(135deg, rgba(216, 168, 79, 0.24), rgba(56, 214, 200, 0.08), transparent);
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(320px, 0.86fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(34px, 6vw, 80px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 32px;
  background:
    radial-gradient(circle at 10% 20%, rgba(48, 192, 240, 0.14), transparent 30%),
    #0e0e0e;
  padding: clamp(30px, 5vw, 58px);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.32);
}

.contact-panel h2 {
  max-width: 560px;
}

.contact-lead {
  max-width: 560px;
  margin-top: 24px;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  color: #d8d8d8;
}

.check-list li::before {
  margin-right: 10px;
  color: var(--green);
  content: "✓";
}

.contact-email {
  margin-top: 32px;
}

.form-note {
  margin-top: 14px;
  color: var(--dim);
  font-size: 0.9rem;
  line-height: 1.55;
}

code {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
}

.contact-form {
  display: grid;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(0, 0, 0, 0.24);
  padding: clamp(22px, 4vw, 32px);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.94rem;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  color: white;
  font: inherit;
  padding: 13px 14px;
}

textarea {
  resize: vertical;
}

.footer {
  border-top: 1px solid var(--line);
  padding-block: 34px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--dim);
  font-size: 0.92rem;
}

.footer-brand strong,
.footer-brand small {
  display: block;
}

.footer-brand strong {
  color: white;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  color: var(--muted);
}

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

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

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

@media (max-width: 920px) {
  .nav-links {
    position: absolute;
    inset: 80px 20px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(14, 14, 14, 0.98);
    padding: 16px;
  }

  .nav-links.is-open {
    display: flex;
  }

  .menu-button {
    display: block;
  }

  .nav-cta {
    display: none;
  }

  .hero-grid,
  .split,
  .project-card,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    order: -1;
  }

  h1 {
    max-width: 820px;
    font-size: clamp(2.25rem, 8.5vw, 4rem);
  }

  h2 {
    max-width: 760px;
  }

  .project-card.reverse .project-copy {
    order: 2;
  }

  .project-card .project-copy {
    order: 2;
  }

  .project-card .project-visual {
    order: 1;
    min-height: 260px;
  }

  .cred-grid,
  .capability-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .shell {
    width: min(100% - 28px, 1534px);
  }

  .brand span {
    display: inline;
    max-width: 145px;
    overflow: hidden;
    font-size: 0.68rem;
    letter-spacing: 0.16em;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .hero-actions .button {
    width: auto;
    min-width: 0;
    padding-inline: 12px;
    white-space: nowrap;
  }

  .hero-visual {
    justify-self: center;
    width: 80%;
  }

  .scope-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }

  .scope-strip span {
    flex: 0 0 auto;
    width: max-content;
    min-width: max-content;
  }

  h1 {
    font-size: clamp(1.95rem, 8.8vw, 2.65rem);
    line-height: 1.12;
  }

  h2 {
    font-size: clamp(1.85rem, 9vw, 2.7rem);
  }

  .project-copy,
  .project-visual {
    padding: 24px;
  }
}
