* { box-sizing: border-box; }

:root {
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #0b111b;
  color: #e9eff7;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}

html { scroll-behavior: smooth; }
body { margin: 0; }
a { color: inherit; }
.accent { color: #86e0c2; }

.skip-link {
  position: absolute;
  top: -4rem;
  left: 1rem;
  z-index: 10;
  padding: .7rem 1rem;
  background: #86e0c2;
  color: #0b111b;
}
.skip-link:focus { top: 1rem; }
:focus-visible { outline: 2px solid #86e0c2; outline-offset: 4px; }

.site-shell {
  min-height: 100vh;
  overflow: hidden;
  background: radial-gradient(ellipse at 78% 17%, #172b34 0, transparent 32rem), #0b111b;
}
.site-header, main, .site-footer { max-width: 1160px; margin: 0 auto; padding-left: 32px; padding-right: 32px; }
.site-header { min-height: 100px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #253341; }
.wordmark { display: inline-flex; align-items: center; gap: 16px; text-decoration: none; font-size: .92rem; font-weight: 650; }
.wordmark-mark { display: inline-grid; place-items: center; width: 42px; height: 42px; border: 1px solid #42665f; border-radius: 10px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 1.15rem; letter-spacing: -.12em; padding-right: .12em; }
.wordmark-name { color: #d6e0e9; }
.site-header nav { display: flex; gap: 36px; font-size: .88rem; color: #a9bac9; }
.site-header nav a { text-decoration: none; transition: color .2s ease; }
.site-header nav a:hover, .contact-links a:hover { color: #86e0c2; }

.hero { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(260px, .8fr); gap: clamp(36px, 7vw, 100px); align-items: center; min-height: 620px; padding: 92px 0 110px; }
.eyebrow, .section-label, .profile-card-top, .skill-number { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .72rem; font-weight: 600; letter-spacing: .12em; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 26px; color: #86e0c2; text-transform: uppercase; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: #86e0c2; box-shadow: 0 0 12px #86e0c280; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 730px; margin-bottom: 26px; font-size: clamp(3.25rem, 5.7vw, 5.5rem); line-height: 1.06; letter-spacing: -.065em; font-weight: 650; }
.hero-intro { max-width: 620px; margin-bottom: 34px; color: #b0bfcc; font-size: 1.07rem; line-height: 1.85; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 28px; min-height: 48px; padding: 0 20px; border: 1px solid #48615f; border-radius: 7px; font-size: .9rem; font-weight: 600; text-decoration: none; transition: background .2s ease, border-color .2s ease; }
.button-primary { background: #86e0c2; border-color: #86e0c2; color: #0b111b; }
.button-primary:hover { background: #aff2da; border-color: #aff2da; }
.button-secondary:hover { background: #182a2c; border-color: #86e0c2; }

.profile-card { justify-self: end; width: min(100%, 320px); padding: 17px; border: 1px solid #38514f; border-radius: 15px; background: linear-gradient(145deg, #1a3036, #111c29 70%); box-shadow: 22px 24px 0 #0d1922, 22px 24px 0 1px #253b40; transform: rotate(2deg); }
.profile-card-top { display: flex; justify-content: space-between; margin-bottom: 16px; color: #a7c7c1; }
.profile-card-top span:last-child { font-size: 1rem; line-height: .7; }
.profile-card img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 7px; background: #263a41; }
.profile-card-bottom { display: flex; flex-direction: column; gap: 4px; padding: 18px 2px 2px; font-size: .95rem; font-weight: 600; }
.profile-card-bottom span:last-child { color: #9db0b9; font-size: .77rem; font-weight: 400; }

.section { padding: 95px 0 110px; border-top: 1px solid #253341; }
.section-label { margin-bottom: 18px; color: #86e0c2; }
h2 { margin-bottom: 12px; font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1.12; letter-spacing: -.045em; font-weight: 630; }
.section-heading > p:last-child, .connect > div:first-child > p:last-child { color: #aabac8; line-height: 1.75; }
.section-heading { margin-bottom: 42px; }
.skills-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.skill { min-height: 176px; padding: 23px; border: 1px solid #253844; border-radius: 9px; background: #121e2a; }
.skill-number { display: block; margin-bottom: 25px; color: #86e0c2; }
.skill h3 { margin-bottom: 8px; font-size: 1.07rem; font-weight: 600; letter-spacing: -.02em; }
.skill p { margin-bottom: 0; color: #aabac8; font-size: .87rem; line-height: 1.6; }

.connect { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.connect > div:first-child > p:last-child { max-width: 410px; margin-bottom: 0; }
.contact-links { border-top: 1px solid #344752; }
.contact-links a { display: flex; justify-content: space-between; gap: 12px; padding: 22px 0; border-bottom: 1px solid #344752; font-size: .89rem; text-decoration: none; transition: color .2s ease; }
.contact-links a span:first-child { color: #aabac8; }
.contact-links a span:last-child { text-align: right; }
.site-footer { display: flex; justify-content: space-between; gap: 16px; padding-top: 26px; padding-bottom: 32px; border-top: 1px solid #253341; color: #8fa2b2; font-size: .78rem; }

@media (max-width: 800px) {
  .hero { grid-template-columns: 1fr; min-height: auto; gap: 70px; padding: 85px 0 105px; }
  .profile-card { justify-self: start; max-width: 280px; margin-left: 5px; }
  .skills-grid { grid-template-columns: repeat(2, 1fr); }
  .connect { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 520px) {
  .site-header, main, .site-footer { padding-left: 22px; padding-right: 22px; }
  .site-header { min-height: 78px; }
  .wordmark-name { display: none; }
  .site-header nav { gap: 20px; }
  .hero { padding-top: 72px; gap: 60px; }
  h1 { font-size: clamp(2.85rem, 12vw, 4rem); }
  .hero-intro { font-size: 1rem; line-height: 1.75; }
  .section { padding: 75px 0 85px; }
  .skills-grid { grid-template-columns: 1fr; }
  .skill { min-height: 0; }
  .contact-links a { font-size: .8rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .site-header nav a, .button, .contact-links a { transition: none; }
}
