:root {
  --bg: #f4f7fd;
  --bg-soft: #eef3ff;
  --surface: #ffffff;
  --text: #111827;
  --muted: #4b5563;
  --primary: #0b3a7e;
  --primary-strong: #092f65;
  --accent: #0f766e;
  --line: #d9e1ee;
  --shadow: 0 16px 36px rgba(17, 24, 39, 0.08);
  --hero-glow-a: #d8e7ff;
  --hero-glow-b: #d0f4ed;
  --hero-glow-c: #ffe7d3;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", sans-serif;
  color: var(--text);
  background:
    radial-gradient(1000px 520px at 92% -120px, var(--hero-glow-a) 10%, transparent 58%),
    radial-gradient(820px 460px at -14% 8%, var(--hero-glow-b) 8%, transparent 54%),
    radial-gradient(760px 320px at 52% 0%, var(--hero-glow-c) 3%, transparent 47%),
    linear-gradient(180deg, #f8fbff 0%, var(--bg) 34%);
  line-height: 1.65;
}

a {
  color: inherit;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.narrow {
  width: min(760px, 100%);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(246, 248, 252, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

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

.brand-logo {
  width: 170px;
  height: auto;
  display: block;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.5rem;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 0.6rem;
  background: #fff;
  padding: 0;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  gap: 0.23rem;
  flex-direction: column;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 8px;
  background: #1f2937;
}

.nav a {
  text-decoration: none;
  font-weight: 600;
  color: #374151;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.nav a:hover,
.nav a.active {
  background: #e8eef9;
  color: var(--primary);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 5rem 0 2.4rem;
}

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

.hero::before {
  width: 520px;
  height: 520px;
  top: -180px;
  right: -180px;
  background: radial-gradient(circle, rgba(11, 58, 126, 0.2) 0%, rgba(11, 58, 126, 0) 70%);
}

.hero::after {
  width: 360px;
  height: 360px;
  bottom: -160px;
  left: -110px;
  background: radial-gradient(circle, rgba(15, 118, 110, 0.18) 0%, rgba(15, 118, 110, 0) 70%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.25fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

.eyebrow {
  margin: 0 0 0.7rem;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  font-weight: 700;
}

h1,
h2,
h3 {
  line-height: 1.2;
  margin: 0;
}

h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  max-width: 18ch;
}

h2 {
  font-size: clamp(1.55rem, 2.4vw, 2.2rem);
}

h3 {
  font-size: 1.15rem;
}

.lead,
.supporting-text,
p,
li {
  color: var(--muted);
}

.lead {
  margin: 1.1rem 0 1rem;
  max-width: 62ch;
}

.supporting-text {
  margin: 0 0 1.6rem;
  max-width: 60ch;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  border: 0;
  border-radius: 0.65rem;
  padding: 0.78rem 1.2rem;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 18px rgba(17, 24, 39, 0.14);
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-strong);
}

.btn-secondary {
  background: #fff;
  color: var(--text);
  border: 1px solid var(--line);
}

.hero-panel {
  background:
    linear-gradient(145deg, rgba(11, 42, 88, 0.9) 8%, rgba(15, 63, 131, 0.9) 60%, rgba(21, 88, 143, 0.85) 100%),
    repeating-linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.16) 0,
      rgba(255, 255, 255, 0.16) 10px,
      rgba(255, 255, 255, 0.03) 10px,
      rgba(255, 255, 255, 0.03) 20px
    ),
    radial-gradient(circle at 20% 22%, rgba(115, 212, 195, 0.35) 0 7%, transparent 24%),
    radial-gradient(circle at 75% 68%, rgba(141, 184, 255, 0.32) 0 8%, transparent 28%),
    linear-gradient(135deg, #193f7e 0%, #125a86 100%);
  color: #f3f7ff;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: var(--shadow);
  transition: transform 0.18s ease;
  will-change: transform;
}

.hero-panel h2 {
  color: #fff;
  font-size: 1.45rem;
  margin-bottom: 0.8rem;
}

.hero-panel ul {
  margin: 0;
  padding-left: 1.1rem;
}

.hero-panel li {
  color: #d9e6fb;
  margin-bottom: 0.45rem;
}

.panel-note {
  margin: 0.9rem 0 0;
  color: #9ed6cd;
  font-size: 0.92rem;
  font-weight: 600;
}

.section {
  padding: 4.2rem 0;
}

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

.section-soft {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--bg-soft) 0%, #f4f8ff 100%);
}

.section-soft::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.22;
  background:
    linear-gradient(90deg, rgba(43, 108, 176, 0.08) 1px, transparent 1px) 0 0 / 30px 30px,
    linear-gradient(0deg, rgba(43, 108, 176, 0.07) 1px, transparent 1px) 0 0 / 30px 30px;
}

.section-head {
  margin-bottom: 1.6rem;
}

.section-head h2 {
  max-width: 25ch;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.about-preview h2 {
  max-width: 14ch;
}

.about-preview {
  position: relative;
  overflow: hidden;
  border: 1px solid #dbe3f0;
  border-radius: 1rem;
  padding: 1.2rem;
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.95) 0%, rgba(239, 246, 255, 0.95) 100%);
}

.about-preview::before {
  content: "";
  position: absolute;
  right: -80px;
  top: -90px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(15, 118, 110, 0.12) 0%, rgba(15, 118, 110, 0) 70%);
  pointer-events: none;
}

.section-pattern {
  position: relative;
  overflow: hidden;
}

.section-pattern::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.36;
  pointer-events: none;
}

.pattern-lines::before {
  background:
    linear-gradient(90deg, rgba(63, 116, 203, 0.12) 1px, transparent 1px) 0 0 / 28px 28px,
    linear-gradient(0deg, rgba(63, 116, 203, 0.1) 1px, transparent 1px) 0 0 / 28px 28px;
}

.pattern-orbs::before {
  background:
    radial-gradient(circle at 8% 20%, rgba(81, 103, 216, 0.2) 0 14%, transparent 16%),
    radial-gradient(circle at 88% 74%, rgba(15, 118, 110, 0.18) 0 12%, transparent 14%),
    radial-gradient(circle at 52% 10%, rgba(197, 111, 47, 0.16) 0 10%, transparent 12%);
}

.pattern-grid::before {
  background:
    repeating-linear-gradient(
      135deg,
      rgba(11, 58, 126, 0.09) 0,
      rgba(11, 58, 126, 0.09) 12px,
      rgba(15, 118, 110, 0.07) 12px,
      rgba(15, 118, 110, 0.07) 24px
    );
}

.inline-link {
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
}

.inline-link:hover {
  text-decoration: underline;
}

.grid {
  display: grid;
  gap: 1rem;
}

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

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

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

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 0.95rem;
  padding: 1.25rem;
  box-shadow: 0 8px 20px rgba(17, 24, 39, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: #c4d3ea;
  box-shadow: 0 14px 28px rgba(17, 24, 39, 0.11);
}

.card h3,
.card h2 {
  margin-bottom: 0.6rem;
}

.card p {
  margin: 0;
}

.project-card h3 {
  margin-bottom: 0.75rem;
}

.project-card iframe {
  width: 100%;
  height: 210px;
  border: 1px solid #d2deef;
  border-radius: 0.7rem;
  background: #f8fafc;
  margin-bottom: 0.65rem;
}

.industry-list {
  margin: 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.6rem;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.75rem;
}

.timeline article {
  border: 1px solid var(--line);
  border-radius: 0.8rem;
  background: #fff;
  padding: 1rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.timeline article:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(17, 24, 39, 0.1);
}

.timeline p {
  margin: 0.5rem 0 0;
  font-size: 0.92rem;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 4.2rem 0 2.5rem;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.26;
  background:
    radial-gradient(circle at 8% 20%, rgba(81, 103, 216, 0.17) 0 12%, transparent 14%),
    radial-gradient(circle at 88% 74%, rgba(15, 118, 110, 0.14) 0 10%, transparent 12%);
}

.page-hero h1 {
  max-width: 20ch;
  margin-bottom: 1rem;
}

.page-hero p {
  max-width: 68ch;
}

.statement-card {
  min-height: 220px;
}

.section-cta {
  padding-top: 2rem;
}

.cta-box {
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: #fff;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
  box-shadow: var(--shadow);
}

.reveal-item {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.cta-box h2 {
  max-width: 20ch;
  margin-bottom: 0.6rem;
}

.cta-box p {
  margin: 0;
  max-width: 55ch;
}

.contact-card h2 {
  margin-bottom: 0.75rem;
}

.contact-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.6rem;
}

.contact-list a {
  color: var(--primary);
  text-decoration: none;
}

.contact-list a:hover {
  text-decoration: underline;
}

.contact-form {
  display: grid;
  gap: 0.55rem;
}

.contact-form label {
  color: #1f2937;
  font-size: 0.9rem;
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0.6rem;
  padding: 0.65rem 0.75rem;
  font: inherit;
  background: #fff;
}

.contact-form button {
  margin-top: 0.5rem;
  width: fit-content;
}

.site-footer {
  margin-top: 4rem;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(140deg, #0f172a 0%, #14213f 45%, #123255 100%);
  color: #c4cfdf;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.2;
  background:
    linear-gradient(90deg, rgba(143, 179, 255, 0.22) 1px, transparent 1px) 0 0 / 36px 36px,
    linear-gradient(0deg, rgba(143, 179, 255, 0.18) 1px, transparent 1px) 0 0 / 36px 36px;
}

.footer-grid {
  position: relative;
  z-index: 1;
  padding: 2.5rem 0 1.5rem;
  display: grid;
  grid-template-columns: 1.5fr 0.8fr 1fr;
  gap: 1.5rem;
}

.footer-brand .brand-logo {
  width: 190px;
  filter: none;
  opacity: 1;
}

.footer-brand {
  background: #ffffff;
  border-radius: 0.55rem;
  padding: 0.3rem 0.5rem;
  width: fit-content;
}

.site-footer h3 {
  color: #f5f8ff;
  margin-bottom: 0.7rem;
  font-size: 1rem;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.site-footer p,
.site-footer li,
.site-footer a {
  color: #c4cfdf;
  text-decoration: none;
}

.site-footer a:hover {
  color: #ffffff;
}

.footer-bottom {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(196, 207, 223, 0.2);
  padding: 0.9rem 0 1.2rem;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.9rem;
}

@media (max-width: 1040px) {
  .timeline {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

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

@media (max-width: 860px) {
  .nav-wrap {
    align-items: center;
    flex-wrap: wrap;
    padding: 0.85rem 0;
  }

  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .nav {
    width: 100%;
    display: none;
    flex-direction: column;
    gap: 0.35rem;
    padding: 0.6rem 0 0.1rem;
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    background: #ffffffcc;
    border: 1px solid #dbe4f2;
  }

  .hero {
    padding-top: 4.2rem;
  }

  .hero-grid,
  .split,
  .cards-3,
  .cards-2,
  .project-grid,
  .footer-grid,
  .timeline,
  .cta-box {
    grid-template-columns: 1fr;
  }

  .cta-box {
    display: grid;
  }

  .contact-form button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn,
  .hero-panel,
  .card,
  .timeline article,
  .reveal-item {
    transition: none;
    transform: none;
  }
}
