:root { --blue: #2563eb; --blue-dark: #1d4ed8; --blue-pale: #eff6ff; --ink: #1e293b; --muted: #64748b; --line: #dbe5f1; --surface: #fff; --background: #f8fbff; }
* { box-sizing: border-box; }
html { max-width: 100%; overflow-x: hidden; scroll-behavior: smooth; scroll-padding-top: 72px; }
body { width: 100%; max-width: 100%; margin: 0; padding-top: 72px; overflow-x: hidden; color: var(--ink); background: var(--background); font: 16px/1.7 Inter, Arial, sans-serif; }
a { color: inherit; }

.site-header { position: fixed; top: 0; right: 0; left: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 72px; padding: 0 max(5vw, 28px); background: var(--blue); border-bottom: 1px solid var(--blue-dark); box-shadow: 0 3px 14px rgba(30,64,175,.18); transition: transform .25s ease; }
.site-header.is-hidden { transform: translateY(-100%); }
.wordmark { color: #fff; font: 700 19px Poppins, sans-serif; text-decoration: none; white-space: nowrap; }
nav { display: flex; gap: 24px; margin-left: auto; }
nav a, .resume-link { color: #fff; font-size: 14px; font-weight: 500; text-decoration: none; }
nav a:hover { color: #dbeafe; }
.desktop-nav a { transition: color .2s ease; }
.desktop-nav a:hover { color: #bfdbfe; }
.menu-toggle, .mobile-menu { display: none; }
.resume-link { padding: 8px 14px; color: #fff; border: 1px solid rgba(255,255,255,.75); border-radius: 7px; }
.resume-link:hover { color: var(--blue); background: #fff; border-color: #fff; }

.hero { display: grid; place-items: center; width: 100%; min-width: 0; min-height: 650px; padding: 96px 24px 82px; text-align: center; background: linear-gradient(180deg,#f4f9ff 0%,var(--background) 100%); }
.hero-content { width: min(100%,800px); min-width: 0; }
.profile-photo-button { display: inline-flex; margin: 0; padding: 0; background: transparent; border: 0; border-radius: 50%; cursor: pointer; }
.profile-photo { width: 240px; height: 240px; margin-bottom: 25px; object-fit: cover; background: #fff; border: 5px solid #fff; border-radius: 50%; box-shadow: 0 12px 30px rgba(37,99,235,.16); transition: border-color .2s ease; }
.profile-photo-button.is-highlighted .profile-photo { border-color: var(--blue); }
.profile-photo-button:focus-visible { outline: 3px solid #93c5fd; outline-offset: 4px; }
@media (hover: hover) { .profile-photo-button:hover .profile-photo { border-color: var(--blue); } }
.eyebrow, .section-number, .project-type { margin: 0; color: var(--blue); font-size: 12px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
h1, h2, h3 { margin-top: 0; line-height: 1.2; }
h1 { margin-bottom: 20px; font: 700 clamp(36px,5vw,58px)/1.17 Poppins,sans-serif; letter-spacing: -.045em; }
h1 span { color: var(--blue); }
.hero-copy { max-width: 670px; margin: 0 auto 30px; color: var(--muted); font-size: 18px; }
.hero-content > .eyebrow { margin-bottom: 22px; }
.role-marquee { width: min(100%, 720px); min-width: 0; margin: 0 auto 22px; overflow: hidden; color: var(--blue); font-size: 12px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; white-space: nowrap; }
.role-track { display: inline-flex; align-items: center; gap: 14px; min-width: max-content; animation: role-scroll 34s linear infinite; }
.role-track b { color: #93c5fd; font-size: 17px; font-weight: 400; line-height: 0; }
@keyframes role-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.hero-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 10px 19px; border-radius: 8px; font-size: 14px; font-weight: 600; text-decoration: none; transition: background .2s ease,border-color .2s ease,transform .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #fff; background: var(--blue); border: 1px solid var(--blue); }
.button-primary:hover { background: var(--blue-dark); border-color: var(--blue-dark); }
.button-secondary { color: var(--blue); background: #fff; border: 1px solid #bfdbfe; }
.button-secondary:hover { background: var(--blue-pale); }
.social-links { display: flex; justify-content: center; gap: 12px; margin-top: 25px; }
.social-links a { display: grid; place-items: center; width: 39px; height: 39px; color: var(--blue); background: #fff; border: 1px solid #bfdbfe; border-radius: 50%; font-size: 17px; text-decoration: none; transition: background .2s ease, color .2s ease, transform .2s ease; }
.social-links a:hover { color: #fff; background: var(--blue); border-color: var(--blue); transform: translateY(-2px); }

.section { width: min(1100px,calc(100% - 48px)); margin: 0 auto; padding: 88px 0; }
.section-heading { margin-bottom: 36px; }
.section-heading h2, .contact-section h2 { margin: 5px 0 0; font: 700 clamp(29px,3vw,38px)/1.2 Poppins,sans-serif; letter-spacing: -.035em; }
.section-heading > p:last-child { margin: 12px 0 0; color: var(--muted); }
.about-section { border-top: 1px solid var(--line); }
.about-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 72px; align-items: stretch; width: 100%; }
.about-grid > *, .project-grid > *, .experience-item > *, .skill-grid > * { min-width: 0; }
.about-copy { margin: 0; color: var(--muted); font-size: 18px; }
.fact-list { display: grid; width: 100%; gap: 16px; align-content: space-between; text-align: right; }
.fact-list div { width: 100%; padding-right: 18px; border-right: 3px solid #bfdbfe; transition: border-color .2s ease; }
.fact-list div:hover { border-color: var(--blue); }
.fact-list strong, .fact-list span { display: block; }
.fact-list strong { font-size: 15px; }
.fact-list span { color: var(--muted); font-size: 14px; }

.projects-section { padding-top: 38px; }
.project-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.project-card { display: grid; grid-template-columns: 210px minmax(0,1fr); min-height: 230px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 6px 18px rgba(15,23,42,.035); transition: border-color .2s ease,box-shadow .2s ease; }
.project-card:hover { border-color: #93c5fd; box-shadow: 0 12px 24px rgba(37,99,235,.09); }
.project-image { display: block; width: 210px; height: 230px; object-fit: contain; background: #fff; }
.umd-project-image { padding: 28px; }
.around-image { object-fit: cover; }
.project-mark { display: grid; place-items: center; height: 100%; min-height: 230px; color: #fff; font: 700 32px Poppins,sans-serif; letter-spacing: -.06em; }
.calmate-mark { background: #38a169; }.ping-mark { background: #2563eb; }.seam-mark { background: #7c3aed; font-size: 52px; }.world-mark { background: #ea580c; font-size: 24px; letter-spacing: .02em; }
.project-content { display: flex; flex: 1; flex-direction: column; justify-content: center; min-width: 0; padding: 28px 34px; }
.project-content h3 { margin: 5px 0 10px; font: 700 23px Poppins,sans-serif; }
.project-content > p:not(.project-type) { margin: 0; color: var(--muted); font-size: 14px; }
.project-footer { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-top: auto; }
.tech-list { display: flex; flex-wrap: wrap; gap: 7px; margin: 0; padding: 21px 0 0; list-style: none; }
.tech-list li { padding: 4px 9px; color: #475569; background: #f1f5f9; border-radius: 999px; font-size: 12px; font-weight: 500; }
.tech-list li.platform-tag { color: #1d4ed8; background: #dbeafe; font-weight: 600; }
.tech-list li.web-tag { color: #1d4ed8; background: #dbeafe; font-weight: 600; }
.project-link { display: grid; flex: 0 0 36px; place-items: center; width: 36px; height: 36px; margin-top: 21px; color: var(--blue); background: #fff; border: 1px solid #bfdbfe; border-radius: 8px; font-size: 18px; line-height: 1; text-decoration: none; transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease; }
.project-link:hover { color: var(--blue-dark); background: var(--blue-pale); border-color: #93c5fd; transform: translateY(-2px); }
.project-links { display: flex; align-items: center; gap: 20px; margin-top: 21px; }
.project-links .project-link { margin-top: 0; }
.project-link.demo-link { color: #dc2626; }
.project-link.demo-link:hover { color: #b91c1c; }

.experience-section { padding-top: 100px; }
.experience-list { display: grid; grid-template-columns: 1fr; gap: 20px; }
.experience-item { display: grid; grid-template-columns: 210px minmax(0,1fr); min-height: 230px; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 12px; transition: border-color .2s ease,box-shadow .2s ease; }
.experience-item:hover { border-color: #93c5fd; box-shadow: 0 12px 24px rgba(37,99,235,.09); }
.experience-visual { display: grid; place-items: center; min-height: 230px; background: #fff; }
.experience-image { width: 142px; height: 142px; object-fit: contain; }
.experience-date { margin: 0; color: var(--blue); font-size: 13px; font-weight: 700; white-space: nowrap; }
.experience-item > div:last-child { display: flex; min-width: 0; flex-direction: column; justify-content: center; padding: 28px 34px; }
.experience-item h3 { margin-bottom: 3px; font: 700 19px Poppins,sans-serif; }
.company { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin: 0 0 12px; color: var(--blue); font-size: 14px; font-weight: 600; }
.experience-item div > p:last-of-type { margin: 0; color: var(--muted); font-size: 14px; }
.experience-actions { align-self: flex-end; margin-top: 16px; }

.skills-section { padding-bottom: 100px; }
.skill-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.skill-card { display: flex; min-height: 170px; flex-direction: column; justify-content: flex-start; padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: 12px; transition: border-color .2s ease,box-shadow .2s ease; }
.skill-card:hover { border-color: #93c5fd; box-shadow: 0 12px 24px rgba(37,99,235,.09); }
.skill-card h3 { margin: 0 0 8px; padding: 0; color: var(--ink); font: 700 16px Poppins,sans-serif; }
.skill-card p { display: block; margin: 0; padding: 0; color: var(--muted); font-size: 14px; }
.skill-list { margin: 0; padding: 0 0 0 18px; color: var(--muted); font-size: 14px; }
.skill-list li { padding-left: 3px; }

.contact-section { padding: 78px 24px; color: #fff; text-align: center; background: var(--blue); }
.contact-section .section-number { color: #bfdbfe; }
.contact-section h2 { margin-top: 5px; }
.contact-section > p:not(.section-number) { max-width: 600px; margin: 16px auto 25px; color: #dbeafe; }
.contact-section .button-primary { color: #1d4ed8; background: #fff; border-color: #fff; }
.contact-section .button-primary:hover { background: #dbeafe; border-color: #dbeafe; }
footer { display: flex; justify-content: space-between; gap: 20px; width: min(1100px,calc(100% - 48px)); margin: 0 auto; padding: 26px 0; color: var(--muted); font-size: 13px; }
footer div { display: flex; gap: 18px; } footer a { text-decoration: none; } footer a:hover { color: var(--blue); }

@media (max-width: 720px) { html { scroll-padding-top: 64px; } body { padding-top: 64px; } .site-header { min-height: 64px; padding: 0 20px; } nav { display: none; } .menu-toggle { display: grid; place-items: center; width: 42px; height: 42px; margin-left: auto; padding: 0; color: #fff; background: transparent; border: 1px solid rgba(255,255,255,.7); border-radius: 7px; font-size: 19px; cursor: pointer; transition: background .2s ease, border-color .2s ease, transform .2s ease; } .menu-toggle:hover { background: rgba(255,255,255,.12); border-color: #fff; transform: translateY(-1px); } .mobile-menu { position: absolute; top: 100%; right: 0; left: 0; display: flex; gap: 0; margin: 0; padding: 0 20px; flex-direction: column; background: var(--blue); border-top: 0 solid rgba(255,255,255,.2); box-shadow: none; max-height: 0; overflow: hidden; opacity: 0; transform: translateY(-8px); visibility: hidden; pointer-events: none; transition: max-height .32s ease, opacity .22s ease, transform .32s ease, padding .32s ease, border-top-width .32s ease, visibility 0s linear .32s, box-shadow .32s ease; } .mobile-menu.is-open { max-height: 260px; padding: 8px 20px 16px; border-top-width: 1px; box-shadow: 0 10px 18px rgba(30,64,175,.2); opacity: 1; transform: translateY(0); visibility: visible; pointer-events: auto; transition: max-height .32s ease, opacity .22s ease, transform .32s ease, padding .32s ease, border-top-width .32s ease, visibility 0s linear 0s, box-shadow .32s ease; } .mobile-menu a { padding: 10px 0; color: #fff; font-size: 15px; text-decoration: none; } .mobile-menu a:hover { color: #dbeafe; } .hero { min-height: auto; padding: 78px 24px 74px; } .hero-content { width: calc(100vw - 48px); } .profile-photo { width: 190px; height: 190px; } .eyebrow { font-size: 10px; letter-spacing: .06em; } h1 { font-size: 34px; overflow-wrap: anywhere; } .hero-copy,.about-copy { overflow-wrap: anywhere; font-size: 16px; } .section { width: min(calc(100vw - 40px),560px); padding: 65px 0; } .about-grid,.project-grid,.experience-list,.skill-grid { grid-template-columns: minmax(0,1fr); gap: 20px; } .about-grid { gap: 30px; } .projects-section { padding-top: 20px; } .project-card { display: flex; flex-direction: column; min-height: 0; } .project-image { width: 100%; height: 210px; } .project-mark { min-height: 180px; } .project-content { padding: 25px; } .experience-section { padding-top: 72px; } .experience-item { display: flex; min-height: 0; flex-direction: column; } .experience-date { padding: 18px 25px; } .experience-item > div:last-child { padding: 25px; } .contact-section { padding: 62px 20px; } footer { flex-direction: column; width: min(calc(100vw - 40px),560px); } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .site-header,.button,.project-card,.skill-card,.project-link,.experience-link,.menu-toggle,.mobile-menu { transition: none; } .role-track { animation: none; } }

@media (max-width: 720px) {
  .experience-item { display: flex; flex-direction: column; }
  .experience-visual { min-height: 180px; }
  .experience-image { width: 120px; height: 120px; }
  .experience-date { padding: 0; }
  .experience-item > div:last-child { padding: 25px; }
  .skill-card { display: flex; flex-direction: column; min-height: 0; }
  .skill-card h3, .skill-card p { padding: 20px 25px; }
  .skill-card h3 { padding: 0; }
  .skill-list { padding-left: 18px; }
  .fact-list { text-align: left; }
  .fact-list div { padding-right: 0; padding-left: 18px; border-right: 0; border-left: 3px solid #bfdbfe; }
  .fact-list { align-content: start; }
  .company { flex-wrap: wrap; }
  .project-footer { align-items: stretch; flex-direction: column; gap: 0; }
  .project-footer > .project-link, .project-links { align-self: flex-end; width: auto; margin-top: 14px; padding-top: 0; border-top: 0; }
  .project-links { justify-content: flex-end; gap: 20px; padding-top: 4px; padding-bottom: 2px; overflow: visible; }
  .project-links .project-link { width: 36px; height: 36px; flex-basis: 36px; margin-top: 0; padding-top: 0; border-top: 1px solid #bfdbfe; }
  footer { align-items: center; flex-direction: row; flex-wrap: wrap; gap: 16px; }
  footer > span { margin-right: auto; }
  footer div { align-self: auto; max-width: 100%; margin-left: auto; flex-wrap: wrap; justify-content: flex-end; text-align: right; }
}
