:root {
  --ink: #102349;
  --ink-soft: #4f5b6d;
  --muted: #7b8594;
  --line: #dfe4ea;
  --surface: #f7f9fb;
  --surface-blue: #edf6fa;
  --accent: #9e2737;
  --blue: #277db5;
  --dark: #06111f;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(16, 35, 73, 0.11);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 76px;
  padding: 14px clamp(18px, 4vw, 64px);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(223, 228, 234, 0.8);
  backdrop-filter: blur(18px);
}

.brand {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: 128px;
  height: 42px;
}

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

.nav-links {
  justify-self: center;
  display: flex;
  gap: 30px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 650;
}

.nav-links a {
  padding: 10px 0;
}

.nav-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.lang-toggle {
  min-width: 58px;
  height: 38px;
  padding: 0 14px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  font: inherit;
  font-size: 13px;
  font-weight: 750;
  cursor: pointer;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  color: var(--white);
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 750;
  box-shadow: 0 14px 30px rgba(16, 35, 73, 0.18);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 38px rgba(16, 35, 73, 0.22);
}

.button-small {
  min-height: 38px;
  padding: 0 16px;
  font-size: 13px;
  box-shadow: none;
}

.button-ghost {
  color: var(--ink);
  background: var(--white);
  border-color: var(--line);
  box-shadow: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.92fr);
  align-items: center;
  gap: clamp(20px, 4vw, 58px);
  min-height: calc(100svh - 76px);
  padding: clamp(54px, 8vw, 92px) clamp(20px, 6vw, 92px) clamp(42px, 6vw, 80px);
  overflow: hidden;
}

.hero-copy {
  min-width: 0;
  max-width: 680px;
}

.eyebrow {
  position: relative;
  margin: 0 0 24px;
  padding-top: 26px;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 76px;
  height: 3px;
  background: var(--accent);
}

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

h1 {
  max-width: 600px;
  margin-bottom: 24px;
  font-size: clamp(48px, 6.2vw, 84px);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(32px, 4.6vw, 58px);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.08;
  letter-spacing: 0;
}

.hero-text,
.statement-text p,
.section-heading p,
.result-copy p,
footer p {
  color: var(--ink-soft);
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.65;
}

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

.hero-visual {
  position: relative;
  min-width: 0;
  min-height: 620px;
  isolation: isolate;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 7% 2% 3% 16%;
  z-index: -1;
  background:
    linear-gradient(142deg, rgba(237, 246, 250, 0.86), rgba(255, 255, 255, 0.42)),
    radial-gradient(circle at 52% 36%, rgba(39, 125, 181, 0.12), transparent 44%);
  border-radius: 8px;
  transform: skewX(-4deg);
}

.hero-visual::after {
  content: "";
  position: absolute;
  right: 5%;
  bottom: 4%;
  left: 26%;
  z-index: -1;
  height: 22%;
  background: radial-gradient(ellipse, rgba(16, 35, 73, 0.16), transparent 68%);
  filter: blur(22px);
}

.hero-visual img {
  width: min(100%, 560px);
  max-height: 75svh;
  object-fit: contain;
  margin-left: auto;
  filter: drop-shadow(0 34px 46px rgba(16, 35, 73, 0.13));
}

.statement,
.result {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  align-items: center;
  gap: clamp(28px, 5vw, 76px);
  padding: clamp(58px, 8vw, 112px) clamp(20px, 6vw, 92px);
  background: var(--surface);
}

.statement-text p {
  min-width: 0;
  max-width: 650px;
  color: var(--ink);
  font-weight: 720;
}

.statement-media,
.result-media {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.statement-media img,
.result-media img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.technology,
.experience {
  padding: clamp(62px, 9vw, 124px) clamp(20px, 6vw, 92px);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 42px;
}

.section-heading-split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.7fr);
  align-items: end;
  gap: 32px;
  max-width: none;
}

.section-heading-split > p {
  margin-bottom: 22px;
}

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

.feature-card {
  min-height: 500px;
  overflow: hidden;
  display: grid;
  align-content: end;
  position: relative;
  padding: 28px;
  color: var(--white);
  background: var(--dark);
  border-radius: 8px;
  isolation: isolate;
}

.feature-card-large {
  grid-row: span 2;
  min-height: 720px;
}

.feature-card img {
  position: absolute;
  inset: 0;
  z-index: -2;
  height: 100%;
  object-fit: cover;
  opacity: 0.82;
}

.feature-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, transparent 26%, rgba(6, 17, 31, 0.78) 100%);
}

.feature-card p {
  max-width: 410px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 16px;
  line-height: 1.55;
}

.feature-index,
.steps span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 28px;
  margin-bottom: 16px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

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

.steps article {
  padding: 12px 12px 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 46px rgba(16, 35, 73, 0.07);
}

.steps img {
  aspect-ratio: 4 / 5;
  margin-bottom: 22px;
  border-radius: 6px;
  object-fit: cover;
  background: var(--surface);
}

.steps span {
  margin-left: 14px;
  color: var(--ink);
  background: var(--surface-blue);
  border-color: transparent;
}

.steps h3,
.steps p {
  padding: 0 14px;
}

.steps p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.55;
}

.result {
  grid-template-columns: minmax(360px, 1.05fr) minmax(0, 0.95fr);
  background: linear-gradient(180deg, var(--surface) 0%, var(--white) 100%);
}

.result-copy {
  max-width: 680px;
}

.mini-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 30px;
}

.mini-gallery img {
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 36px;
  padding: clamp(60px, 9vw, 120px) clamp(20px, 6vw, 92px);
  color: var(--white);
  background:
    linear-gradient(100deg, rgba(6, 17, 31, 0.96), rgba(16, 35, 73, 0.9)),
    url("./assets/tech-vortex.webp") center / cover;
}

.contact .eyebrow,
.contact h2 {
  color: var(--white);
}

.contact h2 {
  max-width: 920px;
}

.contact-panel {
  min-width: min(420px, 100%);
  padding: 28px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  backdrop-filter: blur(14px);
}

.contact-link {
  display: block;
  margin-bottom: 22px;
  color: var(--white);
  font-size: 22px;
  font-weight: 780;
}

footer {
  display: grid;
  grid-template-columns: auto minmax(0, 760px);
  justify-content: space-between;
  gap: 24px;
  padding: 28px clamp(20px, 6vw, 92px);
  border-top: 1px solid var(--line);
}

footer p {
  margin: 0;
  font-size: 12px;
  line-height: 1.55;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 600ms ease,
    transform 600ms ease;
}

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

@media (max-width: 980px) {
  .site-header {
    display: flex;
    justify-content: space-between;
  }

  .nav-links {
    display: none;
  }

  .nav-actions {
    margin-left: auto;
  }

  .hero,
  .statement,
  .result,
  .section-heading-split,
  .contact,
  footer {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    min-height: 0;
  }

  .hero-visual img {
    margin: 0 auto;
    max-height: none;
  }

  .statement {
    padding-top: 30px;
  }

  .feature-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .feature-card,
  .feature-card-large {
    min-height: 520px;
  }

  .contact-panel {
    min-width: 0;
  }
}

@media (max-width: 620px) {
  .site-header {
    min-height: 66px;
    gap: 14px;
    padding: 12px 16px;
    width: 100vw;
    max-width: 100vw;
    justify-content: flex-start;
  }

  .brand {
    width: 96px;
    height: 34px;
  }

  .button-small {
    display: none;
  }

  .nav-actions {
    position: static;
    margin-left: 18px;
  }

  .hero {
    padding-top: 44px;
  }

  .eyebrow {
    max-width: 100%;
    font-size: 11px;
    line-height: 1.35;
    overflow-wrap: anywhere;
  }

  h1 {
    max-width: 330px;
    font-size: 38px;
    line-height: 1.03;
  }

  h2 {
    font-size: 34px;
  }

  .hero-text,
  .statement-text p,
  .section-heading p,
  .result-copy p {
    font-size: 16px;
  }

  .feature-card,
  .feature-card-large {
    min-height: 430px;
    padding: 22px;
  }

  .mini-gallery {
    grid-template-columns: 1fr 1fr;
  }

  .contact-link {
    font-size: 18px;
  }
}
