:root {
  color-scheme: dark;
  --night: #080d17;
  --night-soft: #0e1624;
  --night-raised: #131e2d;
  --paper: #f5f7fa;
  --ink: #172235;
  --muted: #9aa8bb;
  --muted-dark: #667488;
  --line-dark: rgba(179, 196, 218, .14);
  --line-light: #dce3eb;
  --electric: #67b7ff;
  --electric-light: #b7ddff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 82px; }
body {
  margin: 0;
  background: var(--night);
  color: #eef4fc;
  font-family: "Manrope", "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--electric); outline-offset: 4px; }
::selection { color: var(--night); background: var(--electric); }
.skip-link {
  position: fixed;
  z-index: 1100;
  top: -60px;
  left: 16px;
  padding: 12px 16px;
  border-radius: 6px;
  color: var(--night);
  background: var(--electric-light);
}
.skip-link:focus { top: 16px; }

.site-nav {
  position: absolute;
  z-index: 1000;
  inset: 0 0 auto;
  min-height: 82px;
  border-bottom: 1px solid rgba(255,255,255,.07);
  background: rgba(8,13,23,.82);
  backdrop-filter: blur(14px);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 800; letter-spacing: -.03em; }
.brand-mark { display: grid; width: 35px; height: 35px; place-items: center; border: 1px solid rgba(103,183,255,.42); border-radius: 10px; color: var(--electric); background: rgba(103,183,255,.08); }
.brand-period { color: var(--electric); }
.site-nav .nav-link { color: #aab8ca; font-size: 12px; font-weight: 700; transition: color .2s ease; }
.site-nav .nav-link:hover, .site-nav .nav-link:focus-visible { color: var(--electric-light); }
.nav-contact { padding: 9px 14px; border-color: rgba(255,255,255,.2); font-size: 12px; }
.navbar-toggler { border-color: rgba(255,255,255,.22); }

.hero {
  position: relative;
  min-height: 760px;
  overflow: hidden;
  background: radial-gradient(ellipse at 75% 36%, rgba(32,84,136,.20), transparent 34%), var(--night);
}
.hero-grid-pattern {
  position: absolute;
  inset: 0;
  opacity: .20;
  background-image: linear-gradient(rgba(133,167,205,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(133,167,205,.12) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(90deg, transparent, #000 65%, transparent);
  pointer-events: none;
}
.hero-content { position: relative; z-index: 1; padding-top: 160px; }
.eyebrow { display: flex; align-items: center; gap: 9px; margin: 0 0 25px; color: #aab8ca; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: #68d8a8; box-shadow: 0 0 12px rgba(104,216,168,.68); }
.eyebrow-divider { color: #455368; }
.hero h1, .section-title, .site-footer h2 {
  margin: 0;
  font-family: "DM Sans", "Manrope", sans-serif;
  font-weight: 700;
  letter-spacing: -.055em;
}
.hero h1 { max-width: 760px; font-size: clamp(46px, 6.1vw, 78px); line-height: 1.05; }
.text-accent, .section-title span { color: var(--electric); }
.hero-lede { max-width: 585px; margin: 26px 0 0; color: #aab8ca; font-size: 17px; line-height: 1.8; }
.hero-actions { margin-top: 31px; }
.btn { border-radius: 6px; font-weight: 700; transition: transform .18s ease, background-color .18s ease, border-color .18s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-lg { padding: 13px 18px; font-size: 13px; }
.btn-accent { border: 1px solid var(--electric); color: #071321; background: var(--electric); }
.btn-accent:hover { border-color: #9cd0ff; color: #071321; background: #9cd0ff; }
.hero .btn-outline-light { border-color: rgba(255,255,255,.24); color: #eef4fc; }
.hero .btn-outline-light:hover { border-color: rgba(255,255,255,.54); color: #fff; background: rgba(255,255,255,.07); }
.hero-socials { margin-top: 31px; }
.hero-socials a { display: inline-flex; align-items: center; gap: 8px; color: #99a8ba; font-size: 12px; font-weight: 700; transition: color .18s ease; }
.hero-socials a:hover { color: var(--electric-light); }
.hero-socials i { font-size: 16px; }
.hero-portrait-wrap { position: relative; width: min(390px, 92%); margin: 0 auto 15px; padding: 15px; }
.portrait-orbit { position: absolute; inset: 0; border: 1px solid rgba(103,183,255,.24); border-radius: 48% 48% 7px 7px; animation: orbit 50s linear infinite; }
.portrait-orbit::after { position: absolute; top: 12%; right: 7%; width: 8px; height: 8px; border-radius: 50%; background: var(--electric); box-shadow: 0 0 20px var(--electric); content: ""; }
@keyframes orbit { to { transform: rotate(360deg); } }
.portrait-frame { position: relative; height: 425px; overflow: hidden; border: 1px solid rgba(255,255,255,.12); border-radius: 48% 48% 5px 5px; background: #17243a; }
.portrait-frame::after { position: absolute; inset: 55% 0 0; background: linear-gradient(transparent, rgba(8,13,23,.56)); content: ""; }
.portrait-frame img { width: 100%; height: 100%; object-fit: cover; object-position: center 16%; filter: saturate(.72) contrast(1.03); }
.portrait-caption { position: absolute; z-index: 2; right: 0; bottom: 42px; display: flex; align-items: center; gap: 11px; padding: 12px 15px; border: 1px solid rgba(255,255,255,.13); border-radius: 7px; background: rgba(14,22,36,.9); box-shadow: 0 15px 40px rgba(0,0,0,.2); }
.caption-mark { display: grid; width: 33px; height: 33px; place-items: center; border-radius: 5px; color: var(--electric); background: rgba(103,183,255,.1); }
.portrait-caption strong, .portrait-caption small { display: block; }
.portrait-caption strong { font-size: 11px; }
.portrait-caption small { margin-top: 3px; color: var(--muted); font-size: 9px; }
.portrait-index { position: absolute; right: 13px; bottom: -7px; color: #8392a5; font-size: 9px; letter-spacing: .12em; }
.hero-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 55px; padding: 17px 0; border-top: 1px solid rgba(255,255,255,.1); color: #77869a; font-size: 10px; letter-spacing: .04em; }
.hero-bottom a { color: #b0bdcd; }
.hero-bottom a:hover { color: var(--electric); }
.hero-bottom i { margin-left: 5px; }

.section { padding: 106px 0; }
.section-light { color: var(--ink); background: var(--paper); }
.section-dark { color: #eef4fc; background: var(--night-soft); }
.section-topline { display: flex; gap: 13px; align-items: center; margin-bottom: 43px; color: var(--muted-dark); font-size: 10px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.section-topline span:first-child { color: #4687c1; }
.section-dark .section-topline { color: #7e8da1; }
.section-dark .section-topline span:first-child { color: var(--electric); }
.section-title { font-size: clamp(35px, 4.1vw, 53px); line-height: 1.13; }
.section-light .section-title span { color: #438dce; }
.section-summary { margin: 8px 0 0; color: var(--muted-dark); font-size: 13px; line-height: 1.8; }
.section-dark .section-summary { color: #9aa8bb; }
.intro-copy { margin: 0 0 17px; color: #26354a; font-size: 17px; font-weight: 600; line-height: 1.8; }
.body-copy { margin: 0 0 17px; color: #69788b; font-size: 13px; line-height: 1.9; }
.text-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 5px; color: #317ab9; font-size: 12px; font-weight: 800; }
.text-link:hover { color: #155e9f; }
.profile-pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 54px; }
.profile-pillar { display: flex; align-items: flex-start; gap: 13px; padding: 19px 17px; border: 1px solid #e0e6ed; border-radius: 7px; background: rgba(255,255,255,.72); box-shadow: 0 10px 28px rgba(27,46,68,.035); transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease; }
.profile-pillar:hover { transform: translateY(-3px); border-color: #b7d8f4; box-shadow: 0 16px 32px rgba(27,46,68,.075); }
.pillar-icon { display: grid; width: 35px; height: 35px; flex: 0 0 auto; place-items: center; border: 1px solid #d5e8f8; border-radius: 6px; color: #438dce; background: #f0f7fd; font-size: 16px; }
.profile-pillar h3 { margin: 1px 0 6px; color: #243248; font-size: 12px; font-weight: 800; }
.profile-pillar p { margin: 0; color: #718094; font-size: 10px; line-height: 1.65; }

.section-heading-row { margin-bottom: 50px; }
.experience-list { border-top: 1px solid var(--line-dark); }
.experience-entry { display: grid; grid-template-columns: minmax(160px, .34fr) 1fr; gap: 50px; padding: 36px 0 38px; border-bottom: 1px solid var(--line-dark); }
.experience-date { display: flex; justify-content: space-between; gap: 10px; color: #98a8bb; font-size: 11px; }
.experience-index { color: var(--electric); }
.experience-company { margin: 0 0 15px; color: #f1f5fb; font-size: 19px; font-weight: 800; letter-spacing: -.03em; }
.experience-company span { margin: 0 5px; color: var(--electric); font-weight: 400; }
.experience-description { max-width: 770px; margin: 0; color: #a6b4c6; font-size: 13px; line-height: 1.85; }
.experience-highlights { display: grid; gap: 9px; max-width: 800px; margin: 19px 0; padding: 0; list-style: none; }
.experience-highlights li { position: relative; padding-left: 17px; color: #c1ccda; font-size: 11px; line-height: 1.7; }
.experience-highlights li::before { position: absolute; left: 0; top: .65em; width: 5px; height: 5px; border-radius: 50%; background: var(--electric); content: ""; }
.client-program { margin-top: 29px; padding-top: 24px; border-top: 1px solid rgba(179,196,218,.16); scroll-margin-top: 100px; }
.client-program-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; }
.client-program-label { margin: 0 0 7px; color: var(--electric); font-size: 9px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.client-program-heading h4 { margin: 0; color: #f1f5fb; font-size: 20px; font-weight: 800; letter-spacing: -.035em; }
.client-program-heading h4 span { color: #9aa8bb; font-size: 14px; font-weight: 600; letter-spacing: 0; }
.client-program-meta { display: flex; flex: 0 0 auto; flex-direction: column; align-items: flex-end; gap: 7px; color: #a6b4c6; font-size: 9px; }
.client-program-meta span { padding: 5px 8px; border: 1px solid rgba(103,183,255,.26); border-radius: 4px; color: var(--electric-light); background: rgba(103,183,255,.07); font-weight: 700; }
.client-program-intro { max-width: 760px; margin: 14px 0 0; color: #b3c0cf; font-size: 12px; line-height: 1.75; }
.amex-project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; margin-top: 18px; }
.amex-project-card { min-height: 176px; padding: 15px 16px; border: 1px solid rgba(179,196,218,.13); border-radius: 6px; background: linear-gradient(145deg, rgba(255,255,255,.045), rgba(255,255,255,.012)); transition: transform .22s ease, border-color .22s ease, background-color .22s ease; }
.amex-project-card:hover { transform: translateY(-3px); border-color: rgba(103,183,255,.34); background-color: rgba(255,255,255,.025); }
.amex-project-card-heading { display: flex; align-items: baseline; gap: 9px; margin-bottom: 8px; }
.amex-project-card-heading > span { color: var(--electric); font-size: 9px; font-weight: 800; letter-spacing: .08em; }
.amex-project-card h5 { margin: 0; color: #edf3fa; font-size: 12px; font-weight: 800; letter-spacing: -.01em; }
.amex-project-card > p { margin: 0; color: #aab8ca; font-size: 10px; line-height: 1.7; }
.amex-project-card > p.amex-project-outcome { margin-top: 11px; padding-top: 9px; border-top: 1px solid rgba(179,196,218,.12); color: #b9cee4; }
.amex-project-outcome strong { display: inline-block; margin-right: 4px; color: var(--electric-light); font-size: 16px; letter-spacing: -.04em; }
.tech-row { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 18px; }
.tech-row span { padding: 6px 9px; border: 1px solid rgba(142,162,188,.18); border-radius: 4px; color: #98a8bb; font-size: 9px; font-weight: 700; }
.section-light .tech-row span { border-color: #dce3eb; color: #59697c; }

.project-list { border-top: 1px solid #dce3eb; }
.project-entry { display: grid; grid-template-columns: minmax(240px, .78fr) 1.22fr; gap: clamp(28px, 6vw, 82px); align-items: center; padding: 34px 0; border-bottom: 1px solid #dce3eb; }
.project-entry.project-feature { padding-block: 42px; }
.project-art { position: relative; display: flex; min-height: 210px; flex-direction: column; justify-content: space-between; overflow: hidden; padding: 20px; color: #eff7ff; background: #132339; }
.project-feature .project-art { min-height: 265px; }
.project-art::before, .project-art::after { position: absolute; width: 180px; height: 180px; border: 1px solid rgba(255,255,255,.13); border-radius: 50%; content: ""; }
.project-art::before { top: -95px; right: -40px; }
.project-art::after { right: -95px; bottom: -130px; }
.art-blue { background: linear-gradient(135deg, #10243b, #173e65); }
.art-green { background: linear-gradient(135deg, #112b2a, #1d4947); }
.art-amber { background: linear-gradient(135deg, #382a1b, #644522); }
.art-violet { background: linear-gradient(135deg, #25213c, #41366a); }
.art-slate { background: linear-gradient(135deg, #192432, #34465c); }
.art-rose { background: linear-gradient(135deg, #38212c, #633749); }
.art-label, .art-foot { position: relative; z-index: 1; color: rgba(239,247,255,.69); font-size: 8px; font-weight: 800; letter-spacing: .13em; }
.art-foot { font-size: 7px; }
.art-flow { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 16px 0; }
.art-flow span { padding: 10px 11px; border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.07); font-size: 9px; line-height: 1.5; }
.art-flow i { color: var(--electric-light); font-size: 13px; }
.art-flow-vertical { flex-direction: column; gap: 4px; margin: 4px 0; }
.art-flow-vertical span { min-width: 110px; text-align: center; }
.art-symbol { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; gap: 19px; color: var(--electric-light); }
.art-symbol i { font-size: 39px; }
.art-symbol span { color: #e6edf6; font-size: 10px; font-weight: 800; line-height: 1.7; letter-spacing: .09em; }
.project-type { margin: 0 0 8px; color: #438dce; font-size: 9px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.project-copy h3 { margin: 0 0 11px; color: #18253a; font-family: "DM Sans", sans-serif; font-size: 25px; font-weight: 700; letter-spacing: -.035em; }
.project-copy > p:not(.project-type) { margin: 0; color: #657487; font-size: 12px; line-height: 1.85; }
.project-copy .project-outcome { margin-top: 12px !important; color: #283b52 !important; font-weight: 700; }
.project-copy .tech-row { margin-top: 15px; }

.skills-grid { margin-top: 0; }
.skill-group { height: 100%; padding: 23px 20px; border-top: 1px solid var(--line-dark); background: rgba(255,255,255,.018); }
.skill-group-ai { border-top-color: rgba(103,183,255,.6); background: linear-gradient(145deg, rgba(103,183,255,.075), rgba(255,255,255,.015) 62%); }
.skill-group h3 { margin: 0 0 21px; color: #a3b2c5; font-size: 9px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.skill-group ul { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.skill-group li { display: flex; align-items: center; gap: 11px; color: #d7e0eb; font-size: 11px; font-weight: 700; }
.skill-group li i { width: 20px; color: #95a9c1; font-size: 17px; text-align: center; }
.skill-group li i.colored { color: inherit; }
.skill-intro { margin: -10px 0 19px; color: #8fa4bf; font-size: 10px; line-height: 1.65; }
.skill-group-ai li i { color: var(--electric); }
.expertise-note { display: flex; align-items: center; gap: 15px; margin-top: 28px; padding: 17px 20px; border: 1px solid var(--line-dark); color: #a8b7c8; }
.note-icon { display: grid; width: 34px; height: 34px; flex: 0 0 auto; place-items: center; color: var(--electric); background: rgba(103,183,255,.1); }
.expertise-note p { margin: 0; font-size: 10px; line-height: 1.9; }
.expertise-note strong { margin-right: 6px; color: #eff4fb; }
.focus-divider { margin: 0 7px; color: var(--electric); }

.credentials-section .section-summary { max-width: 390px; margin-top: 20px; }
.credential-block { margin-bottom: 39px; }
.credential-block h3 { display: flex; justify-content: space-between; margin: 0 0 18px; padding-bottom: 12px; border-bottom: 1px solid var(--line-light); color: #26354a; font-size: 13px; font-weight: 800; }
.credential-aside { color: #8794a4; font-size: 9px; font-weight: 600; }
.credential-item { display: grid; grid-template-columns: 49px 1fr; gap: 13px; align-items: start; margin-bottom: 17px; }
.credential-year { display: grid; width: 43px; height: 37px; place-items: center; border: 1px solid #dce3eb; color: #438dce; font-size: 10px; font-weight: 800; }
.credential-item strong { color: #243248; font-size: 12px; }
.credential-item p { margin: 5px 0 0; color: #778597; font-size: 10px; line-height: 1.65; }
.credential-item p span { color: #3a6e9a; font-weight: 700; }
.cert-list { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.cert-list li { display: flex; justify-content: space-between; gap: 20px; padding: 10px 0; border-bottom: 1px solid #e8edf2; color: #536276; font-size: 10px; }
.cert-list li:last-child { border: 0; }
.cert-list time { flex: 0 0 auto; color: #8794a4; }

.site-footer { color: #eef4fc; background: var(--night); }
.footer-main { padding-top: 77px; padding-bottom: 67px; }
.site-footer .eyebrow { color: #9aa8bb; }
.site-footer h2 { margin: 0 0 24px; font-size: clamp(39px, 5vw, 62px); line-height: 1.06; }
.site-footer h2 span { color: var(--electric); }
.footer-email { display: inline-flex; align-items: center; gap: 10px; color: var(--electric-light); font-size: 13px; font-weight: 700; }
.footer-email:hover { color: white; }
.footer-links { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.footer-links a { display: flex; align-items: center; gap: 9px; color: #a7b5c6; font-size: 11px; }
.footer-links a i:last-child { margin-left: 2px; color: #66788e; font-size: 9px; }
.footer-links a:hover { color: var(--electric-light); }
.footer-bottom { display: flex; justify-content: space-between; gap: 15px; padding: 19px 0; border-top: 1px solid var(--line-dark); color: #748397; font-size: 9px; }
.footer-bottom a:hover { color: var(--electric); }

@media (max-width: 991.98px) {
  .site-nav .navbar-collapse { padding: 12px 0 18px; }
  .site-nav .navbar-nav { align-items: flex-start !important; gap: 5px !important; }
  .nav-contact { margin-top: 8px; }
  .hero { min-height: auto; }
  .hero-content { padding-top: 132px; }
  .hero-portrait-wrap { width: min(340px, 76%); margin-top: 12px; }
  .portrait-frame { height: 375px; }
  .hero-bottom { margin-top: 36px; }
  .section { padding: 82px 0; }
}
@media (max-width: 767.98px) {
  html { scroll-padding-top: 70px; }
  .site-nav { min-height: 70px; }
  .hero-content { padding-top: 116px; }
  .hero h1 { font-size: clamp(44px, 10vw, 62px); }
  .hero-lede { font-size: 15px; }
  .hero-portrait-wrap { width: min(320px, 82%); }
  .portrait-frame { height: 350px; }
  .hero-bottom { font-size: 9px; }
  .section { padding: 70px 0; }
  .section-topline { margin-bottom: 30px; }
  .section-heading-row { margin-bottom: 34px; }
  .profile-pillars { grid-template-columns: 1fr; gap: 9px; margin-top: 36px; }
  .profile-pillar { padding: 15px; }
  .experience-entry { grid-template-columns: 1fr; gap: 15px; padding: 26px 0; }
  .experience-date { max-width: 250px; }
  .client-program-heading { align-items: flex-start; }
  .client-program-meta { align-items: flex-start; }
  .amex-project-grid { grid-template-columns: 1fr; }
  .amex-project-card { min-height: 0; }
  .project-entry, .project-entry.project-feature { grid-template-columns: 1fr; gap: 22px; padding: 27px 0; }
  .project-art, .project-feature .project-art { min-height: 190px; }
  .project-copy h3 { font-size: 23px; }
  .footer-main { padding-top: 58px; padding-bottom: 48px; }
  .footer-links { flex-direction: row; gap: 22px; }
}
@media (max-width: 575.98px) {
  .hero h1 { font-size: 43px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-socials { gap: 18px !important; }
  .hero-bottom { flex-direction: column; gap: 8px; }
  .section-title { font-size: 35px; }
  .art-flow { gap: 5px; }
  .art-flow span { padding: 8px 6px; font-size: 8px; }
  .footer-bottom { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Interaction and finishing layer */
.site-nav {
  position: fixed;
  transition: background-color .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.site-nav.is-scrolled {
  border-color: rgba(179,196,218,.12);
  background: rgba(8,13,23,.94);
  box-shadow: 0 12px 35px rgba(0,0,0,.18);
}
.site-nav .nav-link[aria-current="location"] { color: var(--electric-light); }
.site-nav .nav-link[aria-current="location"]::after {
  display: block;
  height: 1px;
  margin-top: 3px;
  background: var(--electric);
  content: "";
}
.hero {
  min-height: 790px;
  background: radial-gradient(ellipse at 79% 38%, rgba(32,84,136,.24), transparent 34%), var(--night);
}
.hero::before {
  position: absolute;
  top: 14%;
  right: -14%;
  width: min(60vw, 760px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47,114,176,.16), rgba(32,84,136,.05) 42%, transparent 70%);
  content: "";
  pointer-events: none;
  animation: ambient-drift 20s ease-in-out infinite alternate;
}
.hero-period { color: var(--electric); }
.eyebrow-marker { width: 22px; height: 1px; background: var(--electric); }
.hero h1 { font-size: clamp(54px, 7vw, 88px); line-height: 1.01; }
.hero-lede { max-width: 555px; font-size: 16px; }
.hero-grid-pattern { opacity: .14; }
.hero-content { padding-top: 168px; }
.hero-portrait-wrap { filter: drop-shadow(0 28px 65px rgba(0,0,0,.2)); }
.portrait-frame { border-radius: 47% 47% 7px 7px; }
.portrait-orbit { border-radius: 47% 47% 7px 7px; }
.section { padding: clamp(82px, 9vw, 124px) 0; }
.section-light { background: linear-gradient(180deg, #f8fafc, #f1f4f8); }
.section-topline { letter-spacing: .16em; }
.experience-entry { position: relative; }
.experience-date { padding-top: 5px; }
.experience-company { font-size: 21px; }
.project-entry {
  transition: transform .3s ease, border-color .3s ease;
}
.project-entry:hover { transform: translateX(5px); }
.project-art {
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 8px;
  box-shadow: 0 16px 38px rgba(13,27,45,.1);
  transition: transform .35s ease, box-shadow .35s ease;
}
.project-entry:hover .project-art {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 25px 48px rgba(13,27,45,.2);
}
.project-copy h3 { transition: color .2s ease; }
.project-entry:hover .project-copy h3 { color: #317ab9; }
.skill-group {
  padding: 26px 23px;
  border: 1px solid rgba(179,196,218,.08);
  border-top-color: rgba(103,183,255,.35);
  border-radius: 7px;
  background: linear-gradient(145deg, rgba(255,255,255,.04), rgba(255,255,255,.012));
  transition: transform .25s ease, border-color .25s ease, background-color .25s ease;
}
.skill-group:hover {
  transform: translateY(-4px);
  border-color: rgba(103,183,255,.28);
  background-color: rgba(255,255,255,.035);
}
.skill-group li { line-height: 1.55; }
.skill-group li i { flex: 0 0 20px; }
.github-section { background: radial-gradient(ellipse at 84% 15%, rgba(32,84,136,.12), transparent 40%), var(--night-soft); }
.github-heading { margin-bottom: 34px; }
.github-activity-card {
  display: block;
  padding: clamp(18px, 4vw, 34px);
  overflow: hidden;
  border: 1px solid var(--line-dark);
  border-radius: 9px;
  background: linear-gradient(135deg, rgba(255,255,255,.045), rgba(255,255,255,.012));
  transition: border-color .25s ease, transform .25s ease, background-color .25s ease;
}
.github-activity-card:hover {
  transform: translateY(-3px);
  border-color: rgba(103,183,255,.44);
  background-color: rgba(255,255,255,.025);
}
.github-card-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 25px;
  color: #e7eef8;
  font-size: 12px;
  font-weight: 800;
}
.github-card-heading > span:first-child { display: inline-flex; align-items: center; gap: 10px; }
.github-card-heading > span:first-child i { color: var(--electric); font-size: 19px; }
.github-card-link { color: #a7b5c6; font-size: 10px; }
.github-activity-card:hover .github-card-link { color: var(--electric-light); }
.github-activity-card img { display: block; width: 100%; min-height: 92px; object-fit: contain; }
.back-to-top {
  position: fixed;
  z-index: 1010;
  right: 24px;
  bottom: 24px;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(103,183,255,.42);
  border-radius: 50%;
  color: #071321;
  background: var(--electric);
  box-shadow: 0 10px 28px rgba(0,0,0,.24);
  transition: transform .2s ease, background-color .2s ease;
}
.back-to-top[hidden] { display: none; }
.back-to-top:hover { transform: translateY(-3px); background: #9cd0ff; }
.back-to-top:focus-visible { outline-offset: 3px; }
.has-reveal .reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s cubic-bezier(.2,.7,.2,1); }
.has-reveal .reveal.is-visible { opacity: 1; transform: translateY(0); }
.has-reveal .experience-entry:nth-child(even),
.has-reveal .project-entry:nth-child(even) { transition-delay: .06s; }
@keyframes ambient-drift {
  from { transform: translate3d(0,0,0) scale(.96); }
  to { transform: translate3d(-4%,3%,0) scale(1.04); }
}
@media (max-width: 991.98px) {
  .hero { min-height: auto; }
  .hero-content { padding-top: 145px; }
}
@media (max-width: 767.98px) {
  .site-nav .navbar-collapse { border-top: 1px solid rgba(255,255,255,.07); }
  .site-nav .nav-link[aria-current="location"]::after { display: none; }
  .hero-content { padding-top: 126px; }
  .hero h1 { font-size: clamp(45px, 10vw, 68px); }
  .hero-portrait-wrap { margin-top: 4px; }
  .project-entry:hover { transform: none; }
  .project-entry:hover .project-art { transform: none; }
  .github-card-heading { align-items: flex-start; }
  .back-to-top { right: 15px; bottom: 15px; width: 42px; height: 42px; }
}
@media (max-width: 575.98px) {
  .hero h1 { font-size: 43px; }
  .hero-lede { font-size: 14px; }
  .github-card-heading { flex-direction: column; gap: 10px; }
  .github-activity-card img { min-height: 66px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero::before { animation: none; }
  .has-reveal .reveal,
  .has-reveal .reveal.is-visible { opacity: 1; transform: none; transition: none; }
}
