:root {
  --bg: #eef4fb;
  --bg-strong: #dfe9f7;
  --panel: rgba(255, 255, 255, 0.84);
  --panel-strong: #ffffff;
  --ink: #0d1728;
  --muted: #5f6f84;
  --line: rgba(13, 23, 40, 0.1);
  --line-strong: rgba(13, 23, 40, 0.18);
  --accent: #1d74f5;
  --accent-strong: #0c59cc;
  --accent-soft: rgba(29, 116, 245, 0.1);
  --teal: #0fa7a0;
  --success: #16856f;
  --warning: #a16018;
  --shadow-lg: 0 30px 80px rgba(15, 26, 43, 0.12);
  --shadow-md: 0 18px 44px rgba(15, 26, 43, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Plus Jakarta Sans", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(29, 116, 245, 0.16), transparent 26%),
    radial-gradient(circle at 85% 10%, rgba(15, 167, 160, 0.16), transparent 20%),
    linear-gradient(180deg, #f7fbff 0%, var(--bg) 42%, #f6f8fc 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(13, 23, 40, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13, 23, 40, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.78), transparent 88%);
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

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

.page-shell {
  width: min(1220px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 40px;
}

.site-header,
.capability-card,
.delivery-card,
.policy-card,
.project-card,
.cta-card,
.board-card,
.stat-card {
  animation: fade-up 700ms ease both;
  animation-delay: var(--delay, 0ms);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.56);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-md);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--ink);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 16px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0)),
    linear-gradient(135deg, var(--accent), var(--teal));
  color: #fff;
  font-family: "Sora", sans-serif;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.32);
}

.brand-text {
  display: grid;
  gap: 2px;
}

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

.brand-text strong {
  font-family: "Sora", sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
}

.brand-text small {
  color: var(--muted);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.topbar-links {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}

.topbar-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease,
    color 180ms ease;
}

.button:hover,
.filter-button:hover,
.card-link:hover {
  transform: translateY(-2px);
}

.button-compact {
  min-height: 44px;
}

.button-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #fff;
  box-shadow: 0 14px 30px rgba(29, 116, 245, 0.22);
}

.button-secondary {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.65);
  color: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.92fr);
  gap: 28px;
  padding: 48px 4px 12px;
}

.hero-copy h1,
.section-intro h2,
.board-card h2,
.cta-card h2,
.project-card h3 {
  margin: 0;
  font-family: "Sora", sans-serif;
  letter-spacing: -0.04em;
}

.hero-copy h1 {
  max-width: 13ch;
  font-size: clamp(3.15rem, 7vw, 6.2rem);
  line-height: 0.94;
}

.hero-text,
.section-intro p,
.board-card p,
.delivery-card p,
.capability-card p,
.policy-card p,
.cta-card p,
.project-card p,
.project-notice,
.project-detail,
.stat-card span,
.board-metric span {
  color: var(--muted);
  line-height: 1.72;
}

.hero-text {
  max-width: 62ch;
  margin-top: 24px;
  font-size: 1.04rem;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent-strong);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

.signal-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.signal-chip {
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid rgba(29, 116, 245, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  font-size: 0.86rem;
  font-weight: 700;
}

.hero-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.stat-card,
.board-card,
.capability-card,
.delivery-card,
.project-card,
.policy-card,
.cta-card {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--panel);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-md);
}

.stat-card {
  padding: 18px;
}

.stat-card strong {
  display: block;
  font-family: "Sora", sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.15rem);
}

.hero-panel {
  display: grid;
  gap: 16px;
}

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

.board-card {
  padding: 24px;
}

.board-card-primary {
  padding: 28px;
  background:
    linear-gradient(180deg, rgba(11, 24, 44, 0.98), rgba(17, 31, 58, 0.95));
  color: #fff;
  box-shadow: var(--shadow-lg);
}

.board-card-primary p,
.board-card-primary .board-kicker {
  color: rgba(232, 239, 248, 0.82);
}

.board-card-primary h2 {
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  line-height: 1.02;
  margin-bottom: 14px;
}

.board-kicker {
  margin: 0 0 12px;
  color: var(--accent-strong);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.board-list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.9;
}

.board-metric strong {
  display: block;
  margin-bottom: 8px;
  font-family: "Sora", sans-serif;
  font-size: 1.1rem;
}

.main-content {
  display: grid;
  gap: 28px;
  margin-top: 26px;
}

.capabilities-section,
.projects-section,
.policy-section {
  padding: 0 2px;
}

.section-intro {
  display: grid;
  gap: 10px;
  max-width: 820px;
}

.section-intro h2,
.cta-card h2 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 0.98;
}

.capability-grid,
.policy-grid {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}

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

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

.capability-card,
.policy-card {
  padding: 26px;
}

.capability-index,
.delivery-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-family: "Sora", sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
}

.capability-card h3,
.policy-card h3 {
  margin: 18px 0 10px;
  font-family: "Sora", sans-serif;
  font-size: 1.26rem;
  line-height: 1.12;
}

.project-intro {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
}

.filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-button {
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease,
    color 180ms ease;
}

.filter-button.is-active {
  border-color: transparent;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #fff;
}

.project-notice {
  margin-top: 20px;
  padding: 14px 18px;
  border: 1px solid rgba(29, 116, 245, 0.14);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.55);
  font-size: 0.94rem;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.project-card {
  grid-column: span 6;
  position: relative;
  overflow: hidden;
  padding: 24px;
}

.project-card::after {
  content: "";
  position: absolute;
  inset: auto -50px -50px auto;
  width: 180px;
  height: 180px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(29, 116, 245, 0.12), transparent 68%);
  pointer-events: none;
}

.project-topline {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.project-category {
  color: var(--accent-strong);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
}

.status-pill.public {
  background: rgba(22, 133, 111, 0.12);
  color: var(--success);
}

.status-pill.private {
  background: rgba(161, 96, 24, 0.12);
  color: var(--warning);
}

.project-card h3 {
  margin: 16px 0 10px;
  font-size: 1.5rem;
  line-height: 1.06;
}

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

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(13, 23, 40, 0.05);
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 700;
}

.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.card-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 700;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease,
    color 180ms ease;
}

.card-link.primary {
  border-color: transparent;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #fff;
}

.card-link.secondary {
  border-color: rgba(29, 116, 245, 0.16);
  color: var(--accent-strong);
}

.card-link.is-disabled {
  background: rgba(13, 23, 40, 0.05);
  color: var(--muted);
  cursor: not-allowed;
}

.private-note {
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(161, 96, 24, 0.08);
  color: #8a5315;
  font-size: 0.92rem;
  line-height: 1.6;
}

.policy-layout {
  display: grid;
  gap: 18px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 4px 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.empty-state {
  grid-column: 1 / -1;
  padding: 34px;
  border: 1px dashed var(--line-strong);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.56);
  color: var(--muted);
  text-align: center;
}

@media (max-width: 1080px) {
  .hero,
  .capability-grid,
  .policy-grid {
    grid-template-columns: 1fr;
  }

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

  .project-card {
    grid-column: span 12;
  }

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

@media (max-width: 820px) {
  .page-shell {
    width: min(100% - 20px, 1220px);
  }

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

  .topbar-links {
    width: 100%;
    justify-content: space-between;
  }

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

  .hero {
    padding-top: 32px;
  }

  .hero-copy h1 {
    max-width: 100%;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .hero-stat-grid {
    grid-template-columns: 1fr;
  }

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

  .project-card {
    grid-column: span 1;
    padding: 20px;
  }

  .topbar-links {
    gap: 12px;
  }

  .topbar-links a {
    font-size: 0.88rem;
  }

  .button,
  .filter-button,
  .card-link {
    width: 100%;
  }
}
