:root {
  --ink: #0b1020;
  --ink-soft: #131b2f;
  --panel: #141e34;
  --panel-raised: #1a2741;
  --paper: #f4f6f0;
  --muted: #aeb9c8;
  --line: rgba(244, 246, 240, .14);
  --accent: #c8f169;
  --accent-deep: #8bb63b;
  --warm: #ffbd7a;
  --shadow: 0 24px 70px rgba(0, 0, 0, .26);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  min-height: 100vh;
  margin: 0;
  color: var(--paper);
  background: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}
body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  opacity: .26;
  background-image: linear-gradient(rgba(200,241,105,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(200,241,105,.06) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, black, transparent 72%);
}

a { color: inherit; }
.container { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.site-shell { padding: 28px 0 54px; }

.site-nav {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  margin-bottom: 68px;
}
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-weight: 850; letter-spacing: -.03em; }
.brand-mark { display: grid; width: 38px; height: 38px; place-items: center; color: var(--ink); background: var(--accent); border-radius: 11px; font-size: .9rem; }
.brand-copy { font-size: 1rem; }
.brand-copy span { display: block; color: var(--muted); font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-links a { padding: 8px 13px; border: 1px solid transparent; border-radius: 99px; color: var(--muted); font-size: .86rem; text-decoration: none; transition: .2s ease; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--paper); border-color: var(--line); background: rgba(255,255,255,.06); }
.nav-links a[aria-current="page"] { color: var(--ink); background: var(--accent); border-color: var(--accent); font-weight: 800; }

.hero { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr); align-items: end; gap: 62px; padding-bottom: 52px; border-bottom: 1px solid var(--line); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 20px; color: var(--accent); font-size: .73rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow::before { width: 26px; height: 2px; content: ""; background: var(--accent); }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 760px; margin-bottom: 22px; font-size: clamp(3rem, 7vw, 6.5rem); line-height: .94; letter-spacing: -.08em; }
h1 em { color: var(--accent); font-family: Georgia, serif; font-weight: 400; }
.lede { max-width: 620px; margin-bottom: 30px; color: var(--muted); font-size: 1.08rem; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 99px; color: var(--muted); font-size: .8rem; }
.pill::before { width: 6px; height: 6px; content: ""; background: var(--accent); border-radius: 50%; }
.hero-card { position: relative; min-height: 330px; padding: 22px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); background: linear-gradient(145deg, var(--panel-raised), var(--panel)); box-shadow: var(--shadow); }
.hero-card::after { position: absolute; width: 180px; height: 180px; right: -50px; bottom: -60px; content: ""; border: 1px solid rgba(200,241,105,.3); border-radius: 50%; box-shadow: 0 0 0 24px rgba(200,241,105,.04), 0 0 0 48px rgba(200,241,105,.03); }
.profile-photo { display: block; width: 100%; height: 280px; object-fit: cover; object-position: center 22%; border-radius: 18px; filter: saturate(.9); }
.hero-card-label { position: absolute; z-index: 1; left: 38px; bottom: 34px; padding: 8px 12px; color: var(--ink); background: var(--accent); border-radius: 8px; font-size: .72rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }

.section { padding: 58px 0 0; }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
.section-title { margin-bottom: 0; font-size: clamp(1.55rem, 3vw, 2.25rem); letter-spacing: -.05em; }
.section-note { color: var(--muted); font-size: .82rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.card { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius-md); background: rgba(20,30,52,.72); }
.card h3 { margin-bottom: 8px; font-size: 1.05rem; }
.card p, .card li { color: var(--muted); }
.card p:last-child { margin-bottom: 0; }
.highlight { color: var(--paper); font-weight: 700; }
mark { padding: 2px 6px; color: var(--ink); background: var(--accent); border-radius: 5px; }

.contact-strip { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 28px; margin-top: 36px; padding: 26px 28px; border: 1px solid rgba(200,241,105,.28); border-radius: var(--radius-md); background: linear-gradient(100deg, rgba(200,241,105,.12), rgba(255,189,122,.06)); }
.contact-strip h2 { margin-bottom: 5px; font-size: 1.3rem; }
.contact-strip p { margin-bottom: 0; color: var(--muted); }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 17px; color: var(--ink); background: var(--accent); border: 1px solid var(--accent); border-radius: 99px; font-size: .84rem; font-weight: 850; text-decoration: none; transition: transform .2s ease, background .2s ease; }
.button:hover { background: #dcff91; transform: translateY(-2px); }

.timeline { position: relative; display: grid; gap: 18px; }
.timeline::before { position: absolute; left: 8px; top: 12px; bottom: 12px; width: 1px; content: ""; background: var(--line); }
.timeline-item { position: relative; padding-left: 36px; }
.timeline-item::before { position: absolute; left: 3px; top: 8px; width: 11px; height: 11px; content: ""; border: 3px solid var(--ink); border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.timeline-item h3 { margin-bottom: 3px; }
.timeline-item small { color: var(--accent); font-size: .75rem; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; }
ul { padding-left: 20px; }

.skill-list { display: grid; gap: 17px; }
.skill-row { display: grid; gap: 7px; }
.skill-label { display: flex; justify-content: space-between; gap: 15px; color: var(--paper); font-size: .88rem; font-weight: 700; }
.skill-label span { color: var(--accent); }
progress { width: 100%; height: 7px; appearance: none; border: 0; border-radius: 99px; background: rgba(255,255,255,.1); overflow: hidden; }
progress::-webkit-progress-bar { background: rgba(255,255,255,.1); border-radius: 99px; }
progress::-webkit-progress-value { background: var(--accent); border-radius: 99px; }
progress::-moz-progress-bar { background: var(--accent); border-radius: 99px; }
.project-card { overflow: hidden; padding: 0; }
.project-copy { padding: 23px 25px 21px; }
.project-copy h3 { margin-bottom: 6px; }
.video-wrapper { position: relative; aspect-ratio: 16 / 9; background: #070b15; }
.video-wrapper iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

footer { display: flex; justify-content: space-between; gap: 20px; margin-top: 74px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: .78rem; }
footer strong { color: var(--accent); }
.address-list { display: grid; gap: 8px; margin-top: 22px; }
.address-list a { color: var(--paper); text-decoration: none; }
.address-list a:hover { color: var(--accent); }

@media (max-width: 760px) {
  .container { width: min(100% - 28px, 620px); }
  .site-shell { padding-top: 18px; }
  .site-nav { align-items: flex-start; margin-bottom: 48px; }
  .nav-links { flex-wrap: wrap; justify-content: flex-end; gap: 3px; }
  .nav-links a { padding: 7px 9px; font-size: .76rem; }
  .hero { grid-template-columns: 1fr; gap: 28px; padding-bottom: 36px; }
  h1 { font-size: clamp(3.15rem, 17vw, 5.5rem); }
  .hero-card { min-height: 260px; }
  .profile-photo { height: 225px; }
  .grid-2, .contact-strip { grid-template-columns: 1fr; }
  .section { padding-top: 42px; }
  footer { flex-direction: column; margin-top: 52px; }
}
@media print {
  body { color: #111; background: #fff; }
  body::before, .site-nav, .contact-strip, footer { display: none; }
  .container { width: 100%; }
  .site-shell { padding: 0; }
  .hero { grid-template-columns: 1fr; border-color: #ddd; }
  .hero-card { display: none; }
  .card, .project-card { border-color: #ddd; background: #fff; box-shadow: none; }
  .card p, .card li, .lede, .section-note { color: #444; }
  h1 em, .eyebrow, .timeline-item small, .skill-label span { color: #345d2f; }
}
