
:root {
  --ink: #0b2035;
  --blue: #1f6f9c;
  --bright: #5bc0eb;
  --pale: #edf6fa;
  --line: #cfdee7;
  --muted: #526878;
  --paper: #fbfdfe;
  --navy: #071b2e;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
}
a { color: inherit; text-decoration: none; }
::selection { background: #b9e6f7; color: var(--navy); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 76px;
  padding: 0 clamp(24px, 5vw, 76px);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 40px;
  background: rgba(251, 253, 254, .9);
  border-bottom: 1px solid rgba(207, 222, 231, .8);
  backdrop-filter: blur(16px);
}
.brand { font-size: 24px; font-weight: 900; letter-spacing: -.05em; }
.brand span { color: var(--bright); }
nav { display: flex; gap: 34px; font-size: 13px; font-weight: 700; color: var(--muted); }
nav a { transition: color .2s ease; }
nav a:hover { color: var(--blue); }
.nav-cta { justify-self: end; font-size: 13px; font-weight: 800; color: var(--blue); border-bottom: 1px solid var(--blue); padding-bottom: 4px; }

.hero {
  min-height: calc(100vh - 76px);
  padding: clamp(70px, 9vw, 140px) clamp(24px, 8vw, 124px) 70px;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(310px, .7fr);
  align-items: center;
  gap: clamp(50px, 8vw, 130px);
  position: relative;
  overflow: hidden;
}
.hero-glow { position: absolute; width: 600px; height: 600px; right: -220px; top: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(91,192,235,.18), rgba(91,192,235,0) 68%); pointer-events: none; }
.hero-copy { position: relative; z-index: 1; }
.eyebrow { display: flex; align-items: center; gap: 10px; color: var(--blue); text-transform: uppercase; font-size: 11px; font-weight: 900; letter-spacing: .16em; }
.eyebrow span { width: 28px; height: 2px; background: var(--bright); }
.hero h1 { max-width: 900px; margin: 24px 0; font-size: clamp(52px, 6.8vw, 102px); line-height: .98; letter-spacing: -.065em; font-weight: 500; }
.hero h1 strong { display: block; color: var(--blue); font-weight: 800; }
.hero-intro { max-width: 650px; margin: 30px 0 0; color: var(--muted); font-size: clamp(17px, 1.7vw, 22px); line-height: 1.65; }
.hero-intro b { color: var(--ink); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 22px; min-height: 52px; padding: 0 24px; border: 1px solid var(--ink); font-size: 13px; font-weight: 800; transition: transform .2s ease, background .2s ease, color .2s ease; }
.button:hover { transform: translateY(-3px); }
.button.primary { background: var(--ink); color: white; }
.button.primary:hover { background: var(--blue); border-color: var(--blue); }
.button.secondary { border-color: var(--line); background: white; }
.button.secondary:hover { border-color: var(--blue); color: var(--blue); }
.hero-panel { position: relative; min-height: 440px; padding: 38px; display: flex; flex-direction: column; justify-content: flex-end; background: var(--navy); color: white; box-shadow: 30px 30px 0 var(--pale); }
.orbit-mark { position: absolute; inset: 34px 34px auto auto; width: 148px; height: 148px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; }
.orbit-mark:before, .orbit-mark:after { content: ""; position: absolute; border-radius: 50%; border: 1px solid rgba(91,192,235,.4); }
.orbit-mark:before { inset: 18px; }
.orbit-mark:after { inset: 40px; background: rgba(91,192,235,.12); }
.orbit-mark span { z-index: 1; color: var(--bright); font-weight: 900; letter-spacing: -.06em; }
.hero-stat { display: flex; align-items: baseline; gap: 16px; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.hero-stat strong { color: var(--bright); font-size: 34px; }
.hero-stat span { font-size: 13px; color: #c6d4de; }
.hero-panel > p { margin: 22px 0 0; font-size: 11px; letter-spacing: .08em; color: #9eb6c6; text-transform: uppercase; }
.scroll-cue { position: absolute; bottom: 28px; left: clamp(24px, 8vw, 124px); display: flex; align-items: center; gap: 12px; font-size: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: .14em; }
.scroll-cue i { display: block; width: 50px; height: 1px; background: var(--line); }

.section { padding: clamp(80px, 9vw, 140px) clamp(24px, 8vw, 124px); }
.section-kicker { margin-bottom: 40px; color: var(--blue); font-size: 11px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.about-grid, .journey-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(50px, 9vw, 150px); }
.section h2 { margin: 0; font-size: clamp(34px, 4vw, 62px); line-height: 1.05; letter-spacing: -.045em; }
.about-copy { max-width: 690px; }
.about-copy p { margin: 0 0 26px; color: var(--muted); font-size: 18px; line-height: 1.8; }
.about-copy b { color: var(--ink); }

.skills { background: var(--navy); color: white; }
.section-kicker.light { color: var(--bright); }
.skills-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
.skills-heading p { max-width: 440px; margin: 0; color: #a9bdca; line-height: 1.7; }
.skills-grid { margin-top: 60px; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,.16); border-bottom: 1px solid rgba(255,255,255,.16); }
.skill-card { min-height: 260px; padding: 28px; border-right: 1px solid rgba(255,255,255,.16); transition: background .25s ease; }
.skill-card:last-child { border-right: 0; }
.skill-card:hover { background: rgba(91,192,235,.09); }
.skill-card > span { color: var(--bright); font-size: 11px; font-weight: 800; }
.skill-card h3 { margin: 80px 0 14px; font-size: 19px; }
.skill-card p { margin: 0; color: #a9bdca; font-size: 14px; line-height: 1.7; }

.projects-title { display: flex; justify-content: space-between; align-items: flex-end; gap: 50px; margin-bottom: 54px; }
.projects-title .section-kicker { margin-bottom: 24px; }
.projects-title > a { flex: 0 0 auto; display: flex; gap: 12px; color: var(--blue); font-size: 13px; font-weight: 800; border-bottom: 1px solid var(--blue); padding-bottom: 5px; }
.project-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.project-card { min-height: 390px; padding: clamp(28px, 4vw, 52px); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: white; transition: background .25s ease, transform .25s ease; }
.project-card:hover { background: var(--pale); transform: translateY(-4px); }
.project-top { display: flex; justify-content: space-between; color: var(--blue); font-size: 12px; font-weight: 900; }
.project-top > span:first-child { color: #92a9b8; }
.project-category { margin: 55px 0 13px; color: var(--blue); font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: .12em; }
.project-card h3 { margin: 0; font-size: clamp(24px, 2.4vw, 34px); letter-spacing: -.035em; }
.project-description { max-width: 560px; margin: 20px 0 28px; color: var(--muted); line-height: 1.7; }
.project-card ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.project-card li { padding: 7px 10px; background: var(--pale); color: var(--blue); font-size: 11px; font-weight: 800; }
.project-card:hover li { background: white; }

.journey { background: #f1f6f9; }
.timeline article { display: grid; grid-template-columns: 145px 1fr; gap: 24px; padding: 25px 0; border-top: 1px solid var(--line); }
.timeline article:last-child { border-bottom: 1px solid var(--line); }
.timeline time { color: var(--blue); font-size: 12px; font-weight: 900; }
.timeline h3 { margin: 0 0 7px; font-size: 19px; }
.timeline p { margin: 0; color: var(--muted); line-height: 1.5; }

.contact { padding: clamp(90px, 11vw, 170px) clamp(24px, 8vw, 124px) 55px; background: var(--blue); color: white; }
.contact-eyebrow { color: #c9efff; }
.contact h2 { margin: 35px 0; font-size: clamp(46px, 7vw, 100px); line-height: 1; letter-spacing: -.06em; }
.contact > a { display: inline-flex; align-items: center; gap: 24px; padding-bottom: 7px; border-bottom: 2px solid var(--bright); font-size: clamp(18px, 2.5vw, 30px); font-weight: 800; }
.contact-meta { margin-top: 110px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.28); display: flex; gap: 36px; font-size: 12px; color: #d6eef8; }
.contact-meta a { margin-left: auto; }
footer { padding: 24px clamp(24px, 8vw, 124px); display: flex; justify-content: space-between; gap: 24px; background: var(--navy); color: #91aabb; font-size: 11px; }
footer a { color: white; }

@media (max-width: 980px) {
  .site-header { grid-template-columns: 1fr auto; }
  nav { display: none; }
  .hero { grid-template-columns: 1fr; }
  .hero-panel { min-height: 360px; max-width: 560px; width: 100%; }
  .scroll-cue { display: none; }
  .about-grid, .journey-grid { grid-template-columns: 1fr; gap: 42px; }
  .skills-grid { grid-template-columns: repeat(2, 1fr); }
  .skill-card:nth-child(2) { border-right: 0; }
  .skill-card:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.16); }
}

@media (max-width: 640px) {
  .site-header { height: 66px; padding-inline: 20px; }
  .nav-cta { font-size: 11px; }
  .hero { min-height: auto; padding-top: 72px; }
  .hero h1 { font-size: 49px; }
  .hero-panel { min-height: 330px; padding: 28px; box-shadow: 14px 14px 0 var(--pale); }
  .orbit-mark { width: 120px; height: 120px; }
  .skills-heading, .projects-title { align-items: flex-start; flex-direction: column; }
  .skills-grid, .project-grid { grid-template-columns: 1fr; }
  .skill-card { min-height: 220px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.16); }
  .skill-card h3 { margin-top: 50px; }
  .project-card { min-height: 350px; }
  .timeline article { grid-template-columns: 1fr; gap: 9px; }
  .contact-meta, footer { flex-direction: column; }
  .contact-meta { margin-top: 80px; }
  .contact-meta a { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *:before, *:after { transition: none !important; }
}
