@charset "UTF-8";

:root {
  --theme-ink: #0f172a;
  --theme-muted: #56657a;
  --theme-primary: #2563eb;
  --theme-primary-dark: #1d4ed8;
  --theme-secondary: #0f172a;
  --theme-accent: #06b6d4;
  --theme-warm: #8b5cf6;
  --theme-rose: #0ea5e9;
  --theme-bg: #020617;
  --theme-bg-2: #0f172a;
  --theme-bg-3: #e0f2fe;
  --theme-surface: #ffffff;
  --theme-surface-tint: #f8fafc;
  --theme-badge: #dbeafe;
  --theme-border: #bfdbfe;
  --theme-border-soft: rgba(37, 99, 235, 0.16);
  --theme-radius: 20px;
  --theme-radius-sm: 14px;
  --theme-shadow: 0 24px 70px rgba(15, 23, 42, 0.28);
  --theme-shadow-soft: 0 14px 34px rgba(15, 23, 42, 0.12);
  --hero-gradient: linear-gradient(135deg, #020617 0%, #0f172a 46%, #172554 100%);
  --header-height: 76px;
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Be Vietnam Pro", "Segoe UI", Arial, sans-serif;
  color: var(--theme-ink);
  background: var(--theme-bg);
  line-height: 1.65;
}

body.menu-open {
  overflow: hidden;
}

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

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

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(6, 182, 212, 0.46);
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: var(--header-height);
  background: rgba(2, 6, 23, 0.86);
  border-bottom: 1px solid rgba(148, 163, 184, 0.22);
  backdrop-filter: blur(18px);
}

.nav-shell {
  width: min(1160px, calc(100% - 32px));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #e0f2fe;
  font-weight: 800;
  font-size: 1.05rem;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--theme-primary), var(--theme-accent));
  color: #ffffff;
  font-size: 0.82rem;
  box-shadow: var(--theme-shadow-soft);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-link {
  position: relative;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 8px 2px;
  color: #cbd5e1;
  font-weight: 700;
  font-size: 0.94rem;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 5px;
  height: 3px;
  border-radius: 999px;
  background: var(--theme-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: #ffffff;
}

.nav-link:hover::after,
.nav-link.is-active::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.92);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  width: 19px;
  height: 2px;
  background: #e2e8f0;
  border-radius: 999px;
}

main {
  min-height: 100vh;
}

.container,
.hero-inner {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  min-height: calc(100vh - var(--header-height));
  display: flex;
  align-items: center;
  padding: 62px 0 54px;
  background: var(--hero-gradient);
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(330px, 0.75fr);
  gap: 56px;
  align-items: center;
}

.hero-copy {
  max-width: 760px;
}

.hero .eyebrow {
  color: #67e8f9;
}

.hero h1 {
  color: #f8fafc;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--theme-primary-dark);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  font-size: clamp(2.6rem, 6vw, 5.25rem);
  color: #061924;
}

h2 {
  font-size: clamp(1.9rem, 3vw, 3rem);
}

h3 {
  font-size: 1.12rem;
}

p {
  margin: 0;
}

.hero-meta {
  width: fit-content;
  max-width: 100%;
  margin-top: 18px;
  padding: 9px 14px;
  border: 1px solid rgba(96, 165, 250, 0.34);
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.62);
  color: #dbeafe;
  font-weight: 800;
}

.hero-lead {
  max-width: 720px;
  margin-top: 22px;
  font-size: 1.06rem;
  color: #cbd5e1;
}

.hero-actions,
.card-actions,
.detail-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.hero-actions {
  margin-top: 30px;
}

.btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 11px 18px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

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

.btn-primary {
  background: var(--theme-primary);
  color: #ffffff;
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.28);
}

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

.btn-secondary,
.btn-ghost {
  background: rgba(15, 23, 42, 0.72);
  color: #e0f2fe;
  border-color: rgba(96, 165, 250, 0.35);
}

.btn-small {
  min-height: 40px;
  padding: 8px 13px;
  font-size: 0.88rem;
}

.tech-board,
.diagnostic-board {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  padding: 22px;
  border: 1px solid rgba(96, 165, 250, 0.24);
  border-radius: 28px;
  background: #0f172a;
  box-shadow: var(--theme-shadow);
}

.tech-board::before,
.diagnostic-board::before {
  content: none;
}

.hero-avatar-card {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(96, 165, 250, 0.26);
  border-radius: 20px;
  background: rgba(248, 250, 252, 0.96);
}

.hero-avatar-card img {
  width: 92px;
  height: 112px;
  object-fit: cover;
  object-position: center top;
  border-radius: 16px;
  border: 1px solid rgba(37, 99, 235, 0.18);
}

.hero-avatar-card span,
.hero-avatar-card strong {
  display: block;
}

.hero-avatar-card span {
  color: var(--theme-primary-dark);
  font-weight: 800;
  font-size: 1.04rem;
}

.hero-avatar-card strong {
  margin-top: 4px;
  color: var(--theme-ink);
}

.code-window {
  overflow: hidden;
  border: 1px solid rgba(96, 165, 250, 0.24);
  border-radius: 20px;
  background: #020617;
}

.code-toolbar {
  display: flex;
  gap: 8px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

.code-toolbar span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #38bdf8;
}

.code-toolbar span:nth-child(2) {
  background: #8b5cf6;
}

.code-toolbar span:nth-child(3) {
  background: #22c55e;
}

.code-window pre {
  margin: 0;
  padding: 18px;
  overflow-x: auto;
  color: #dbeafe;
  font: 700 0.9rem/1.7 Consolas, "Courier New", monospace;
}

.avatar-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  border-radius: 24px;
  background: var(--theme-surface);
  box-shadow: var(--theme-shadow-soft);
}

.hero-stat {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 58px 1fr;
  align-items: center;
  gap: 12px;
  min-height: 62px;
  padding: 10px 12px;
  border-left: 4px solid var(--theme-accent);
  border-radius: var(--theme-radius-sm);
  background: rgba(248, 250, 252, 0.94);
}

.hero-stat span {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: var(--theme-badge);
  color: var(--theme-primary-dark);
  font-weight: 800;
}

.hero-stat strong {
  color: #0f172a;
}

.section {
  padding: 84px 0;
  background: #f8fafc;
}

.section-soft {
  background: #020617;
  color: #f8fafc;
  border-top: 1px solid rgba(148, 163, 184, 0.18);
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

.section-soft .eyebrow,
.section-soft h2 {
  color: #f8fafc;
}

.section-soft .section-heading p:not(.eyebrow) {
  color: #cbd5e1;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 34px;
}

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

.section-heading p:not(.eyebrow) {
  color: var(--theme-muted);
}

.profile-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
  gap: 28px;
  align-items: stretch;
}

.profile-card,
.goals-list article,
.project-card,
.summary-panel,
.evidence-panel,
.summary-block,
.outcome-grid article {
  background: var(--theme-surface);
  border: 1px solid var(--theme-border-soft);
  border-radius: var(--theme-radius);
  box-shadow: var(--theme-shadow-soft);
}

.profile-card {
  padding: 28px;
  background: var(--theme-surface);
}

.profile-avatar {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  margin-bottom: 20px;
  border-radius: 18px;
  border: 1px solid var(--theme-border-soft);
  box-shadow: var(--theme-shadow-soft);
}

.profile-label {
  margin-bottom: 8px;
  color: var(--theme-primary);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.82rem;
}

.profile-card h3 {
  font-size: 1.6rem;
}

.profile-card dl,
.summary-panel dl {
  display: grid;
  gap: 14px;
  margin: 22px 0 0;
}

.profile-card div,
.summary-panel dl div {
  display: grid;
  gap: 2px;
}

.profile-card dt,
.summary-panel dt {
  color: var(--theme-muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.profile-card dd,
.summary-panel dd {
  margin: 0;
  color: #0f172a;
  font-weight: 700;
}

.goals-list {
  display: grid;
  gap: 16px;
}

.goals-list article {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 16px;
  padding: 22px;
}

.goals-list span {
  width: 50px;
  height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: var(--theme-primary);
  color: #ffffff;
  font-weight: 800;
}

.goals-list p,
.project-body p:not(.project-kicker),
.outcome-grid p,
.summary-block p,
.article-section p,
.article-section li,
.evidence-panel p {
  color: #4b6470;
}

.goals-list p {
  margin-top: 8px;
}

.skill-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.skill-strip span,
.tags span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  border: 1px solid rgba(37, 99, 235, 0.18);
  border-radius: 999px;
  background: var(--theme-badge);
  color: var(--theme-primary-dark);
  padding: 5px 11px;
  font-size: 0.84rem;
  font-weight: 800;
}

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

.project-card {
  display: grid;
  min-height: 100%;
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.project-card:hover {
  transform: translateY(-5px);
  border-color: rgba(37, 99, 235, 0.38);
  box-shadow: var(--theme-shadow);
}

.project-card-head {
  min-height: 112px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 18px 0;
}

.project-badge {
  min-width: 78px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--theme-primary), var(--theme-accent));
  color: #ffffff;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.24);
}

.project-icon {
  width: 118px;
  height: 88px;
  object-fit: cover;
  border-radius: 18px;
  background: var(--theme-bg-3);
  border: 1px solid var(--theme-border-soft);
}

.project-card > img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: var(--theme-bg-3);
}

.project-body {
  display: flex;
  flex-direction: column;
  padding: 18px;
}

.project-kicker {
  margin-bottom: 7px;
  color: var(--theme-accent);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.project-body h3 {
  font-size: 1.2rem;
}

.project-body p:not(.project-kicker) {
  margin-top: 10px;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 20px;
}

.card-actions {
  margin-top: auto;
}

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

.outcome-grid article {
  min-height: 174px;
  padding: 22px;
  border-top: 5px solid var(--theme-primary);
}

.outcome-grid span {
  display: block;
  color: var(--theme-primary-dark);
  font-weight: 800;
}

.outcome-grid p {
  margin-top: 12px;
}

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

.timeline div {
  padding: 20px;
  border: 1px solid var(--theme-border-soft);
  border-radius: var(--theme-radius-sm);
  background: var(--theme-surface);
  box-shadow: var(--theme-shadow-soft);
}

.timeline strong,
.timeline span {
  display: block;
}

.timeline strong {
  color: var(--theme-primary-dark);
}

.timeline span {
  margin-top: 8px;
  color: var(--theme-muted);
}

.page-hero {
  padding: 56px 0 44px;
  background: var(--hero-gradient);
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.page-hero .eyebrow,
.page-hero h1,
.page-hero .hero-lead {
  color: #f8fafc;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: #bfdbfe;
  font-size: 0.92rem;
  margin-bottom: 18px;
}

.breadcrumb a {
  color: #ffffff;
  font-weight: 800;
}

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

.detail-hero-grid img {
  border-radius: var(--theme-radius);
  box-shadow: var(--theme-shadow);
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.page-hero .hero-lead {
  max-width: 720px;
}

.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 36px;
  align-items: start;
}

.article-body {
  display: grid;
  gap: 28px;
}

.article-section {
  padding: 26px;
  border: 1px solid var(--theme-border-soft);
  border-radius: var(--theme-radius);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--theme-shadow-soft);
}

.article-section h2 {
  font-size: 1.35rem;
  margin-bottom: 10px;
  color: var(--theme-primary-dark);
}

.article-section ul,
.article-section ol {
  margin: 10px 0 0;
  padding-left: 22px;
}

.article-section li + li {
  margin-top: 8px;
}

.aside-stack {
  position: sticky;
  top: calc(var(--header-height) + 22px);
  display: grid;
  gap: 18px;
}

.summary-panel,
.evidence-panel {
  padding: 20px;
}

.summary-panel h2,
.evidence-panel h2 {
  font-size: 1.05rem;
  margin-bottom: 12px;
  color: var(--theme-primary-dark);
}

.evidence-panel img {
  margin-bottom: 14px;
  border-radius: var(--theme-radius-sm);
}

.evidence-panel p {
  margin-bottom: 14px;
}

.step-list {
  display: grid;
  gap: 12px;
  padding: 0;
  list-style: none;
}

.step-list li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  align-items: start;
}

.step-list span {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: var(--theme-badge);
  color: var(--theme-primary-dark);
  font-weight: 800;
}

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

.summary-block {
  padding: 24px;
}

.summary-block h2 {
  font-size: 1.22rem;
  margin-bottom: 12px;
  color: var(--theme-primary-dark);
}

.score {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #e0f2fe;
  color: #075985;
  font-weight: 800;
}

.site-footer {
  padding: 28px 0;
  background: #020617;
  color: #dbeafe;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
}

.footer-inner p {
  margin: 0;
}

.back-to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 16px;
  background: var(--theme-primary);
  color: #ffffff;
  font-size: 1.3rem;
  font-weight: 800;
  box-shadow: var(--theme-shadow);
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease, background 180ms ease;
}

.back-to-top:hover {
  background: var(--theme-primary-dark);
}

.back-to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

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

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

@media (max-width: 980px) {
  .hero {
    min-height: auto;
  }

  .hero-inner,
  .profile-layout,
  .detail-hero-grid,
  .content-layout,
  .section-heading-split {
    grid-template-columns: 1fr;
  }

  .tech-board,
  .diagnostic-board {
    max-width: 430px;
  }

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

  .aside-stack {
    position: static;
  }
}

@media (max-width: 720px) {
  :root {
    --header-height: 66px;
  }

  body {
    background: var(--theme-bg);
  }

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

  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 16px;
    background: rgba(2, 6, 23, 0.98);
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
    box-shadow: var(--theme-shadow-soft);
  }

  .nav-menu.is-open {
    display: flex;
  }

  .nav-link {
    justify-content: center;
    padding: 10px 0;
  }

  .hero {
    padding: 42px 0 36px;
  }

  .hero-inner {
    gap: 28px;
  }

  .hero-meta {
    border-radius: var(--theme-radius-sm);
  }

  .tech-board,
  .diagnostic-board {
    padding: 16px;
  }

  .hero-stat {
    grid-template-columns: 52px 1fr;
  }

  .section {
    padding: 62px 0;
  }

  .goals-list article {
    grid-template-columns: 1fr;
  }

  .project-grid,
  .summary-grid,
  .outcome-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .project-card-head {
    min-height: auto;
  }

  .footer-inner {
    display: grid;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
