:root {
  --bg: #172131;
  --bg-deep: #0f1724;
  --bg-elevated: rgba(34, 49, 70, 0.78);
  --surface: rgba(109, 169, 221, 0.08);
  --surface-strong: rgba(170, 213, 249, 0.12);
  --border: rgba(170, 213, 249, 0.18);
  --text: #d9eeff;
  --muted: #98a9bc;
  --accent: #6da9dd;
  --accent-strong: #aad5f9;
  --accent-deep: #4d7eb8;
  --shadow: 0 24px 60px rgba(4, 10, 18, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(109, 169, 221, 0.24), transparent 28%),
    radial-gradient(circle at 85% 15%, rgba(170, 213, 249, 0.08), transparent 18%),
    linear-gradient(180deg, #1a2638 0%, #172131 58%, #0f1724 100%);
  color: var(--text);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(170, 213, 249, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(170, 213, 249, 0.025) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.45), transparent 80%);
  pointer-events: none;
}

.site-shell {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 24px 0 64px;
}

.topbar,
.hero,
.grid-section,
.split-section,
.contact-strip,
.footer {
  position: relative;
  z-index: 1;
  animation: rise-in 700ms ease-out both;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 22px;
  margin-bottom: 28px;
  background: rgba(15, 23, 36, 0.62);
  border: 1px solid var(--border);
  border-radius: 22px;
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 148px;
  height: 72px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(77, 126, 184, 0.16), rgba(170, 213, 249, 0.06));
  border: 1px solid rgba(170, 213, 249, 0.16);
  padding: 6px 10px;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  border-radius: 12px;
}

.brand-copy .eyebrow {
  margin-bottom: 6px;
}

.eyebrow {
  margin: 0 0 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-strong);
}

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.8fr);
  gap: 28px;
  align-items: stretch;
  margin-bottom: 80px;
}

.hero-copy,
.hero-panel,
.card,
.project-card,
.contact-strip,
.split-section {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.hero-copy {
  padding: 48px;
  border-radius: 30px;
}

.hero h1 {
  margin: 0 0 20px;
  font-size: clamp(2.7rem, 5vw, 5rem);
  line-height: 0.94;
  letter-spacing: -0.05em;
  max-width: 11ch;
}

.lead,
.card p,
.project-card p,
.experience-copy p {
  margin: 0;
  color: #c8dced;
  font-size: 1.05rem;
  line-height: 1.7;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: linear-gradient(135deg, var(--accent-deep), var(--accent), var(--accent-strong));
  color: #08111c;
  text-decoration: none;
  font-weight: 700;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(109, 169, 221, 0.28);
}

.button-ghost {
  background: rgba(170, 213, 249, 0.02);
  border-color: var(--border);
  color: var(--text);
}

.hero-panel {
  border-radius: 30px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.panel-label {
  margin: 0 0 18px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
}

.focus-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.focus-list li {
  padding: 16px 18px;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid rgba(170, 213, 249, 0.08);
  color: #e3edf8;
}

.grid-section,
.split-section {
  margin-bottom: 32px;
  padding: 34px;
  border-radius: 30px;
}

.section-heading {
  margin-bottom: 26px;
}

.section-heading h2,
.contact-strip h2,
.policy-shell h1 {
  margin: 0;
  font-size: clamp(1.6rem, 2.8vw, 2.5rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
  max-width: 14ch;
}

.card-grid,
.project-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.card,
.project-card {
  border-radius: 24px;
  padding: 24px;
}

.card h3,
.project-card h3 {
  margin: 0 0 12px;
  font-size: 1.2rem;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 24px;
}

.experience-copy {
  display: grid;
  gap: 16px;
}

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

.project-card-accent {
  background:
    linear-gradient(180deg, rgba(109, 169, 221, 0.12), rgba(34, 49, 70, 0.88)),
    var(--bg-elevated);
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.status-pill,
.project-type {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
}

.status-pill {
  background: rgba(109, 169, 221, 0.12);
  border: 1px solid rgba(109, 169, 221, 0.24);
  color: var(--accent-strong);
}

.status-pill-muted {
  background: rgba(170, 213, 249, 0.05);
  border-color: rgba(170, 213, 249, 0.1);
  color: #d9e3ee;
}

.project-type {
  background: rgba(170, 213, 249, 0.04);
  border: 1px solid rgba(170, 213, 249, 0.08);
  color: var(--muted);
}

.contact-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px;
  margin-top: 32px;
  border-radius: 30px;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 8px 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer p {
  margin: 0;
}

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

.footer a {
  color: var(--accent-strong);
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

.policy-shell {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 30px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
  padding: 40px 34px;
}

.policy-intro {
  margin-top: 12px;
}

.policy-content {
  display: grid;
  gap: 26px;
}

.policy-section {
  padding-top: 18px;
  border-top: 1px solid rgba(170, 213, 249, 0.1);
}

.policy-section:first-child {
  padding-top: 0;
  border-top: 0;
}

.policy-section h2 {
  margin: 0 0 10px;
  font-size: 1.12rem;
  color: var(--accent-strong);
}

.policy-section p {
  margin: 0 0 12px;
  color: #c8dced;
  line-height: 1.75;
}

.policy-list {
  margin: 0;
  padding-left: 20px;
  color: #c8dced;
  line-height: 1.75;
}

.contact-list {
  margin: 0;
  padding-left: 22px;
  color: #c8dced;
  line-height: 1.9;
}

.policy-section a {
  color: var(--accent-strong);
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

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

@media (max-width: 960px) {
  .hero,
  .split-section,
  .card-grid,
  .project-list,
  .contact-strip {
    grid-template-columns: 1fr;
  }

  .contact-strip,
  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .footer-links {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}

@media (max-width: 720px) {
  .site-shell {
    width: min(100% - 24px, 1120px);
    padding-top: 12px;
  }

  .topbar,
  .hero-copy,
  .hero-panel,
  .grid-section,
  .split-section,
  .contact-strip,
  .policy-shell {
    padding: 22px;
    border-radius: 22px;
  }

  .hero {
    margin-bottom: 44px;
  }

  .hero h1 {
    font-size: clamp(2.2rem, 14vw, 3.4rem);
    max-width: none;
  }

  .lead,
  .card p,
  .project-card p,
  .experience-copy p {
    font-size: 1rem;
  }
}
