
:root {
  --bg: #0b1020;
  --bg-soft: #121a30;
  --panel: rgba(255,255,255,0.06);
  --panel-strong: rgba(255,255,255,0.09);
  --text: #f7f9ff;
  --muted: #aab4cf;
  --line: rgba(255,255,255,0.1);
  --accent: #73a7ff;
  --accent-2: #8ce1c1;
  --shadow: 0 20px 60px rgba(0,0,0,0.28);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 10%, rgba(76,114,255,.18), transparent 28%),
    radial-gradient(circle at 85% 18%, rgba(56,198,160,.12), transparent 25%),
    var(--bg);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(16px);
  background: rgba(11,16,32,.72);
  border-bottom: 1px solid var(--line);
}
.nav-wrap { height: 72px; display: flex; align-items: center; justify-content: space-between; }
.brand {
  width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #08111f; font-family: "Space Grotesk", sans-serif; font-weight: 800;
}
nav { display: flex; gap: 24px; }
nav a { color: var(--muted); font-size: .95rem; }
nav a:hover { color: var(--text); }

.hero { padding: 92px 0 72px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 72px; }
.eyebrow, .section-kicker {
  color: var(--accent-2); font-weight: 700; text-transform: uppercase; letter-spacing: .14em; font-size: .78rem;
}
h1, h2, h3, h4 { font-family: "Space Grotesk", sans-serif; line-height: 1.1; margin-top: 0; }
h1 { font-size: clamp(3rem, 7vw, 6.5rem); letter-spacing: -.045em; margin-bottom: 24px; }
h1 span { color: var(--accent); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); letter-spacing: -.03em; margin-bottom: 16px; }
h3 { font-size: 1.35rem; }
.hero-lead { font-size: 1.2rem; max-width: 680px; color: var(--muted); }
.hero-actions { display: flex; gap: 14px; margin: 32px 0; }
.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 20px; border-radius: 14px; font-weight: 700;
  border: 1px solid var(--line); transition: transform .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); }
.primary { background: linear-gradient(135deg, var(--accent), #90c2ff); color: #08111f; }
.secondary { background: rgba(255,255,255,.04); color: var(--text); }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-meta span {
  padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted);
  background: rgba(255,255,255,.03); font-size: .9rem;
}
.hero-visual { display: flex; justify-content: center; }
.portrait-shell {
  position: relative; width: min(420px, 100%); aspect-ratio: 1 / 1.05;
  border-radius: 36px; background: linear-gradient(145deg, rgba(115,167,255,.16), rgba(140,225,193,.08));
  border: 1px solid var(--line); overflow: hidden; box-shadow: var(--shadow);
}
.portrait-shell img {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 88%;
  height: 94%;
  object-fit: contain;
  object-position: center bottom;
  transform: translateX(-50%);
  z-index: 2;
}
.portrait-glow {
  position: absolute; width: 260px; height: 260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(115,167,255,.5), rgba(115,167,255,0));
  top: 18%; left: 18%; filter: blur(6px);
}

.section { padding: 92px 0; }
.alt { background: rgba(255,255,255,.025); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.two-col { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; }
.copy-block p { color: var(--muted); font-size: 1.08rem; margin-top: 0; }
.section-heading { max-width: 760px; margin-bottom: 40px; }
.section-subtitle { color: var(--muted); font-size: 1.05rem; }

.role-card {
  display: grid; grid-template-columns: .9fr 1.1fr; gap: 32px;
  padding: 32px; border: 1px solid var(--line); border-radius: 24px; background: var(--panel);
}
.role-summary p, .mini-card p, .timeline-card p, .project-card p { color: var(--muted); }
.role-points { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.mini-card, .timeline-card, .credential-card, .project-card {
  border: 1px solid var(--line); background: var(--panel); border-radius: 20px;
}
.mini-card { padding: 22px; }
.mini-card h4 { margin-bottom: 8px; }

.timeline-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.timeline-card { padding: 24px; }
.number { color: var(--accent); font-weight: 800; font-size: .85rem; display: block; margin-bottom: 28px; }

.skills-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; align-items: start; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips span {
  padding: 10px 12px; border-radius: 12px; background: rgba(115,167,255,.08);
  border: 1px solid rgba(115,167,255,.18); color: #dce8ff;
}
.credential-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.credential-card { padding: 20px; display: flex; flex-direction: column; gap: 4px; }
.credential-card strong { font-family: "Space Grotesk"; font-size: 1.2rem; }
.credential-card span { color: var(--muted); }

.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.project-card { padding: 26px; position: relative; overflow: hidden; }
.project-card.featured {
  background: linear-gradient(160deg, rgba(115,167,255,.15), rgba(255,255,255,.045));
}
.project-tag {
  display: inline-block; font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 800;
  color: var(--accent-2); margin-bottom: 18px;
}
.project-card ul { margin: 20px 0 0; padding-left: 18px; color: #dbe4f8; }

.contact-section { padding-top: 40px; }
.contact-card {
  border: 1px solid var(--line); border-radius: 28px; padding: 34px;
  background: linear-gradient(135deg, rgba(115,167,255,.11), rgba(140,225,193,.07));
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.contact-card p { color: var(--muted); max-width: 760px; }

footer { border-top: 1px solid var(--line); padding: 26px 0 36px; color: var(--muted); font-size: .9rem; }
.footer-wrap { display: flex; justify-content: space-between; gap: 20px; }

@media (max-width: 900px) {
  nav { display: none; }
  .hero-grid, .two-col, .role-card, .skills-layout { grid-template-columns: 1fr; }
  .hero { padding-top: 64px; }
  .hero-visual { order: -1; }
  .portrait-shell { width: min(330px, 86vw); }
  .timeline-grid, .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .container { width: min(100% - 28px, 1120px); }
  h1 { font-size: 3.2rem; }
  .section { padding: 68px 0; }
  .role-points, .timeline-grid, .portfolio-grid, .credential-grid { grid-template-columns: 1fr; }
  .contact-card, .footer-wrap { flex-direction: column; align-items: flex-start; }
  .hero-actions { flex-direction: column; align-items: stretch; }
}

/* App support and policy pages */
.page-hero { padding: 104px 0 72px; }
.page-hero.compact { padding-bottom: 52px; }
.narrow { max-width: 860px; }
.faq-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.info-card, .notice { border: 1px solid var(--line); background: var(--panel); border-radius: 20px; padding: 24px; }
.info-card p, .policy-copy p, .notice p { color: var(--muted); }
.info-card h3 { margin-top: 0; }
.text-link, .footer-link, .project-links a { color: var(--accent); text-decoration: none; font-weight: 700; }
.text-link:hover, .footer-link:hover, .project-links a:hover { text-decoration: underline; }
.policy-copy h2 { margin-top: 40px; margin-bottom: 10px; font-size: 1.55rem; }
.notice { margin-bottom: 38px; }
.notice p { margin-bottom: 0; }
.project-links { display: flex; gap: 18px; margin-top: 22px; }
@media (max-width: 620px) { .faq-grid { grid-template-columns: 1fr; } .page-hero { padding-top: 72px; } }
