:root {
  --bg: #d8e0ec;
  --surface: #ffffff;
  --text: #0b1224;
  --muted: #334155;
  --accent: #2563eb;
  --accent-soft: #c8d8ff;
  --border: #c4cedd;
  --shadow: 0 28px 72px rgba(11, 18, 36, 0.2);
  --shadow-strong: 0 32px 88px rgba(11, 18, 36, 0.24);
  --radius-lg: 18px;
  --radius-sm: 12px;
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

*::selection {
  background: var(--accent-soft);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Sora", "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  min-height: 100vh;
}

h1, h2, h3, h4 {
  font-family: inherit;
  line-height: 1.2;
  margin: 0 0 0.4em;
}

p {
  margin: 0 0 1em;
  color: var(--muted);
}

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

a {
  color: var(--text);
  text-decoration: none;
}

a:hover {
  color: var(--accent);
}

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

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.wrapper {
  width: min(var(--max-width), calc(100% - 48px));
  margin: 0 auto;
}

section {
  padding: 64px 0;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
  color: #64748b;
  margin-bottom: 0.6rem;
  font-weight: 700;
}

.eyebrow-highlight {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  background: linear-gradient(120deg, rgba(37, 99, 235, 0.18), rgba(14, 165, 233, 0.18));
  color: #0f172a;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.12);
}

.lede {
  font-size: 18px;
  color: var(--muted);
  max-width: 620px;
}

.body-text {
  color: var(--muted);
  max-width: 640px;
}

.small-label {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
  color: #64748b;
  margin-bottom: 0.4rem;
  font-weight: 700;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.btn.primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.22);
}

.btn.primary:hover {
  transform: translateY(-1px);
}

.btn.ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}

.btn.ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--accent);
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.pill {
  padding: 8px 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--muted);
  font-weight: 600;
  font-size: 14px;
}

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

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: relative;
  height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  color: var(--text);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, #2563eb, #0ea5e9);
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-text {
  display: flex;
  flex-direction: column;
  font-size: 14px;
  line-height: 1.2;
}

.brand-name {
  font-size: 15px;
  font-weight: 700;
}

.brand-role {
  color: #64748b;
  font-weight: 600;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  padding: 10px 14px;
  border-radius: 12px;
  color: var(--muted);
  font-weight: 600;
}

.nav-link[aria-current="page"] {
  color: var(--text);
  background: var(--accent-soft);
}

.nav-link:hover {
  color: var(--accent);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-direction: column;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
}

.desktop-only {
  display: inline-flex;
}

.hero {
  padding: 96px 0 64px;
}

.hero > .wrapper,
.section:not(.cta) > .wrapper {
  position: relative;
  padding: 32px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-strong);
  overflow: hidden;
}

.hero > .wrapper::before,
.section:not(.cta) > .wrapper::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  background: conic-gradient(from 0deg, rgba(37, 99, 235, 0.4), rgba(14, 165, 233, 0.5), rgba(37, 99, 235, 0.4), rgba(14, 165, 233, 0.5));
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  animation: borderShift 12s linear infinite;
  pointer-events: none;
}

.hero > .wrapper::after,
.section:not(.cta) > .wrapper::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0));
  opacity: 0;
  animation: sheen 8s ease-in-out infinite;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 36px;
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(32px, 4vw, 44px);
  margin-bottom: 16px;
}

.hero-copy {
  animation: fadeUp 0.8s ease both;
}

.hero-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow);
  animation: fadeUp 0.8s ease both;
}

.hero-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  margin: 20px 0 8px;
  flex-wrap: wrap;
}

.stat-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.stat {
  background: #f8fafc;
  border-radius: var(--radius-sm);
  padding: 14px;
  border: 1px solid var(--border);
}

.hero-card .pill-row {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
}

.hero-card .pill {
  display: block;
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px;
  color: var(--muted);
  font-weight: 700;
  font-size: 14px;
}

.stat-number {
  display: block;
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
}

.stat-label {
  color: var(--muted);
  font-size: 14px;
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr);
  gap: 36px;
  align-items: start;
}

.list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.list-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 18px;
}

.simple-list li {
  padding-left: 14px;
  position: relative;
  color: var(--muted);
  margin-bottom: 10px;
}

.simple-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--accent);
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: 0 22px 54px rgba(15, 23, 42, 0.16);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  animation: fadeUp 0.8s ease both;
}

.stack-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--text);
  font-weight: 700;
  font-size: 13px;
  width: fit-content;
}

.checks {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.check {
  display: flex;
  gap: 10px;
  align-items: baseline;
  color: var(--muted);
}

.check span {
  color: var(--accent);
  font-weight: 700;
}

.section.light {
  background: radial-gradient(circle at 20% 20%, rgba(37, 99, 235, 0.06), transparent 30%),
    radial-gradient(circle at 80% 40%, rgba(14, 165, 233, 0.05), transparent 34%),
    var(--bg);
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 28px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.feature-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.feature-card h3 {
  margin: 4px 0 6px;
}

.feature-card .chip {
  margin-bottom: 4px;
}

.feature-card p {
  margin: 0;
}

.cta {
  padding: 64px 0 100px;
}

.cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px;
  background: linear-gradient(120deg, #2563eb, #0ea5e9);
  color: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.cta-card h2,
.cta-card p,
.cta-card .eyebrow {
  color: #fff;
}

.cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.site-footer {
  padding: 32px 0 40px;
  border-top: 1px solid var(--border);
  background: #fff;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-inner .muted {
  max-width: 520px;
}

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-links a {
  font-weight: 600;
  color: var(--text);
}

.footer-links a:hover {
  color: var(--accent);
}

.page-hero {
  padding: 88px 0 32px;
}

.page-hero h1 {
  font-size: clamp(30px, 4vw, 40px);
}

.timeline {
  display: grid;
  gap: 18px;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
}

.timeline-card {
  position: relative;
  padding-left: 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px 18px 18px 32px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.05);
}

.timeline-card::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 22px;
  width: 12px;
  height: 12px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 6px var(--accent-soft);
}

.timeline-meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: baseline;
  margin-bottom: 6px;
}

.role {
  font-weight: 700;
  color: var(--text);
}

.time {
  color: var(--muted);
  font-weight: 600;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.tag {
  padding: 6px 10px;
  border-radius: 999px;
  background: #f8fafc;
  border: 1px solid var(--border);
  font-weight: 600;
  font-size: 13px;
  color: var(--muted);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.project-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.project-card .cta-actions {
  margin-top: 4px;
  align-self: flex-start;
  display: flex;
}

.project-card h3 {
  margin: 0 0 4px;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--muted);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.contact-card {
  padding: 22px;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.12);
}

.card-grid .card:nth-child(1) { animation-delay: 0.05s; }
.card-grid .card:nth-child(2) { animation-delay: 0.12s; }
.card-grid .card:nth-child(3) { animation-delay: 0.18s; }
.card-grid .card:nth-child(4) { animation-delay: 0.24s; }
.card-grid .card:nth-child(5) { animation-delay: 0.3s; }

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes borderShift {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes sheen {
  0%, 100% { opacity: 0; transform: translateX(-35%); }
  50% { opacity: 0.55; transform: translateX(35%); }
}

.form-grid {
  display: grid;
  gap: 14px;
}

label {
  font-weight: 700;
  color: var(--text);
  display: block;
  margin-bottom: 6px;
}

input,
textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #fff;
  font-size: 15px;
  font-family: inherit;
  color: var(--text);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

textarea {
  resize: vertical;
  min-height: 140px;
}

.helper-text {
  font-size: 13px;
  color: var(--muted);
}

@media (max-width: 900px) {
  .site-nav {
    position: absolute;
    top: 76px;
    left: 24px;
    right: 24px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 12px;
    box-shadow: var(--shadow);
    display: none;
    flex-direction: column;
  }

  .site-nav.open {
    display: flex;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .desktop-only {
    display: none;
  }

  .header-inner {
    height: auto;
    padding: 14px 0;
  }

  .hero-grid,
  .section-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .wrapper {
    width: calc(100% - 32px);
  }

  section {
    padding: 72px 0;
  }

  .cta-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-header {
    position: sticky;
  }
}

body.nav-open {
  overflow: hidden;
}
