:root {
  --ink:#182544;
  --muted:#59647d;
  --soft-ink:#273753;
  --line:#d8dcef;
  --surface:#fff;
  --page:#ececff;
  --accent:#8477ad;
  --accent-dark:#675c8d;
  --accent-soft:#f1eff8;
  --navy:#182544;
  --font-sans:"Segoe UI Variable","Segoe UI",system-ui,-apple-system,sans-serif;
  --font-display:var(--font-sans);
  --content-width:1200px;
  --header-height:92px;
  color-scheme:light;
}

* {
  box-sizing:border-box;
}

html {
  scroll-behavior:smooth;
  scroll-padding-top:calc(var(--header-height) + 20px);
}

body {
  margin:0;
  background:var(--page);
  color:var(--ink);
  font-family:var(--font-sans);
  font-size:16px;
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
}

a {
  color:inherit;
}
 button {
  font:inherit;
}

:focus-visible {
  outline:3px solid #e4a83b;
  outline-offset:4px;
}

::selection {
  background:#c6c8f2;
  color:var(--ink);
}

.skip-link {
  position:fixed;
  top:10px;
  left:10px;
  z-index:1000;
  padding:10px 14px;
  transform:translateY(-160%);
  background:var(--ink);
  color:white;
  border-radius:6px;
}

.skip-link:focus {
  transform:translateY(0);
}

.section-shell {
  width:min(var(--content-width),calc(100% - 64px));
  margin-inline:auto;
}

.site-header {
  position:sticky;
  top:12px;
  z-index:50;
  width:min(1320px,calc(100% - 48px));
  margin:12px auto 0;
  background:rgba(255,255,255,.96);
  border:1px solid var(--line);
  border-radius:12px;
  box-shadow:0 10px 35px rgba(21,48,60,.06);
  backdrop-filter:blur(12px);
}

.header-inner {
  min-height:var(--header-height);
  padding:0 28px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:28px;
}

.brand {
  display:inline-flex;
  align-items:center;
  gap:11px;
  color:var(--ink);
  text-decoration:none;
  font-weight:700;
  letter-spacing:-.02em;
}

.brand-mark {
  display:grid;
  place-items:center;
  width:36px;
  height:36px;
  border-radius:10px;
  background:var(--accent);
  color:white;
  font-size:12px;
  letter-spacing:.03em;
}

.brand-name {
  font-size:14px;
}

.primary-navigation {
  display:flex;
  align-items:center;
  gap:27px;
}

.primary-navigation a {
  color:var(--soft-ink);
  font-size:13px;
  font-weight:600;
  text-decoration:none;
  transition:color .18s ease;
}

.primary-navigation a:hover,.primary-navigation a.is-current {
  color:var(--accent-dark);
}

.menu-toggle {
  display:none;
}

.hero {
  position:relative;
  min-height:650px;
  padding-top:110px;
  padding-bottom:110px;
  display:grid;
  grid-template-columns:1.3fr .7fr;
  align-items:center;
  gap:60px;
}

.hero-copy {
  max-width:760px;
  position:relative;
  z-index:1;
}

.eyebrow {
  margin:0 0 22px;
  color:var(--accent-dark);
  font-size:11px;
  font-weight:750;
  letter-spacing:.15em;
  text-transform:uppercase;
}

.hero .eyebrow {
  display:flex;
  align-items:center;
  gap:10px;
}

.eyebrow-dot {
  width:8px;
  height:8px;
  border-radius:50%;
  background:var(--accent);
  box-shadow:0 0 0 5px var(--accent-soft);
}

h1,h2,h3,h4,p {
  margin-top:0;
}

h1,h2 {
  font-family:var(--font-display);
  font-weight:500;
  letter-spacing:-.045em;
}

.hero h1 {
  max-width:820px;
  margin-bottom:25px;
  font-size:clamp(58px,7.2vw,92px);
  line-height:.99;
}

.hero h1 span,.section-heading h2 span,.contact-copy h2 span {
  color:var(--accent);
}

.hero-intro {
  max-width:600px;
  margin-bottom:30px;
  color:var(--muted);
  font-size:18px;
  line-height:1.75;
}

.hero-actions {
  display:flex;
  flex-wrap:wrap;
  gap:12px;
}

.button {
  min-height:48px;
  padding:0 18px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:16px;
  border:1px solid transparent;
  border-radius:7px;
  text-decoration:none;
  font-size:13px;
  font-weight:700;
  transition:background .18s ease,border-color .18s ease,transform .18s ease;
}

.button:hover {
  transform:translateY(-2px);
}

.button-primary {
  background:var(--accent);
  color:#fff;
}
 .button-primary:hover {
  background:var(--accent-dark);
}

.button-secondary {
  border-color:var(--line);
  background:white;
  color:var(--ink);
}
 .button-secondary:hover {
  border-color:var(--accent);
}



.scroll-cue {
  position:absolute;
  bottom:35px;
  left:0;
  display:flex;
  align-items:center;
  gap:10px;
  color:#586b73;
  font-size:11px;
  text-decoration:none;
}

.scroll-cue span {
  display:grid;
  place-items:center;
  width:27px;
  height:27px;
  border:1px solid var(--line);
  border-radius:50%;
  color:var(--accent-dark);
}

.content-section {
  padding-top:115px;
  padding-bottom:115px;
}

.section-heading {
  max-width:570px;
}
 .section-heading .eyebrow {
  margin-bottom:20px;
}

.section-heading h2,.contact-copy h2 {
  margin-bottom:0;
  font-size:clamp(44px,5.4vw,68px);
  line-height:1.06;
}

.about-content {
  margin-top:46px;
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:90px;
}

.about-lead {
  max-width:480px;
  color:var(--soft-ink);
  font-family:var(--font-display);
  font-size:clamp(25px,3vw,34px);
  line-height:1.35;
  letter-spacing:-.025em;
}

.about-detail {
  max-width:520px;
  color:var(--muted);
  font-size:15px;
}
 .about-detail p {
  margin-bottom:20px;
}

.skills-section,.education-section {
  background:#eff0ff;
}

.heading-row {
  max-width:none;
  display:flex;
  justify-content:space-between;
  align-items:end;
  gap:50px;
}

.section-note {
  max-width:330px;
  margin:0 0 5px;
  color:var(--muted);
  font-size:13px;
}

.skill-grid {
  margin-top:52px;
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  border-top:1px solid #cbd8dc;
  border-left:1px solid #cbd8dc;
}

.skill-group {padding:25px 26px;
  border-right:1px solid #cbd8dc;
  border-bottom:1px solid #cbd8dc;
}

.skill-number {
  color:var(--accent-dark);
  font-size:10px;
  font-weight:800;
  letter-spacing:.12em;
}

.skill-group h3 {
  margin:25px 0 16px;
  font-size:17px;
  letter-spacing:-.02em;
}

.skill-list {
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin:0;
  padding:0;
  list-style:none;
}

.skill-list li {
  padding:6px 9px;
  border:1px solid #cfdbdd;
  border-radius:4px;
  background:rgba(255,255,255,.56);
  color:var(--ink);
  font-size:14px;
  line-height:1.35;
  max-width:100%;
  overflow-wrap:anywhere;
}

.learning-tag {
  margin-left:4px;
  color:var(--accent-dark);
  font-size:9px;
  font-weight:800;
  text-transform:uppercase;
}

.project-filters {
  margin:37px 0 27px;
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}

.filter-button {
  padding:8px 13px;
  border:1px solid var(--line);
  border-radius:5px;
  background:transparent;
  color:var(--muted);
  cursor:pointer;
  font-size:11px;
  font-weight:700;
}

.filter-button:hover,.filter-button.is-active {
  border-color:var(--accent);
  background:var(--accent);
  color:white;
}

.project-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  align-items:start;
  gap:18px;
}

.project-card {
  display:flex;
  flex-direction:column;
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:10px;
  background:var(--surface);
  transition:transform .2s ease,box-shadow .2s ease;
}

.project-card:hover {
  transform:translateY(-4px);
  box-shadow:0 14px 38px rgba(19,52,63,.09);
}

.project-card[hidden] {
  display:none;
}

.project-body {
  flex:1;
  display:flex;
  flex-direction:column;
  padding:20px 20px 22px;
}

.project-meta {
  min-height:28px;
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:6px;
  color:#586b73;
  font-size:9px;
}

.status {
  padding:3px 6px;
  border-radius:3px;
  text-align:center;
  font-weight:700;
}

.status-complete {
  background:#e8ebff;
  color:#3f4d90;
}
 .status-progress {
  background:#fff0d5;
  color:#815614;
}
 .status-academic {
  background:#e8edf5;
  color:#415b7b;
}

.project-body h3 {
  margin:15px 0 3px;
  font-size:22px;
  letter-spacing:-.03em;
}

.project-summary {
  margin-bottom:15px;
  min-height:2.8em;
  color:var(--accent-dark);
  font-size:13px;
  font-weight:650;
  line-height:1.4;
}

.project-description {
  min-height:84px;
  margin-bottom:17px;
  color:var(--muted);
  font-size:12px;
  line-height:1.7;
}

.project-tech-tags {
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  margin:0 0 14px;
  padding:0;
  list-style:none;
}

.project-tech-tags li {
  padding:4px 8px;
  border:1px solid var(--line);
  border-radius:4px;
  background:rgba(255,255,255,.65);
  color:var(--ink);
  font-size:10px;
  line-height:1.35;
}

.project-actions {
  margin-top:auto;
  margin-bottom:14px;
}

.project-actions .button {
  min-height:38px;
  padding:0 12px;
  gap:8px;
  font-size:11px;
}
.project-details {
  border-top:1px solid var(--line);
}

.project-details summary {
  padding-top:14px;
  color:var(--ink);
  cursor:pointer;
  font-size:12px;
  font-weight:700;
  list-style-position:inside;
}

.project-details summary:hover {
  color:var(--accent-dark);
}

.details-content {
  padding-top:14px;
  color:var(--muted);
  font-size:12px;
}

.details-content h4 {
  margin:14px 0 4px;
  color:var(--ink);
  font-size:11px;
}

.details-content p {
  margin-bottom:9px;
}
 .details-content ul {
  margin:6px 0 10px;
  padding-left:18px;
}

.empty-projects {
  padding:20px;
  color:var(--muted);
  text-align:center;
}

.education-layout {
  display:grid;
  grid-template-columns:minmax(0,.75fr) minmax(0,1.25fr);
  align-items:center;
  gap:clamp(40px,5vw,72px);
}

.education-card {
  position:relative;
  min-height:200px;
  padding:31px 35px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  overflow:hidden;
  border:1px solid #d7e0e2;
  border-radius:10px;
  background:white;
}

.education-date {
  position:relative;
  z-index:1;
  color:var(--accent-dark);
  font-size:11px;
  font-weight:800;
  letter-spacing:.1em;
  text-transform:uppercase;
}

.education-copy {
  position:relative;
  z-index:1;
  max-width:460px;
}
 .education-copy h3 {
  margin:25px 0 6px;
  font-size:21px;
  letter-spacing:-.03em;
}

.education-copy p {
  margin-bottom:5px;
  color:var(--muted);
  font-size:13px;
}
 .education-copy .degree {
  color:var(--soft-ink);
  font-weight:650;
}

.contact-section {
  padding-top:105px;
  padding-bottom:110px;
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  align-items:center;
  gap:100px;
}

.contact-copy {
  max-width:550px;
}
 .contact-copy h2 {
  margin-bottom:22px;
}

.contact-copy>p:last-child {
  max-width:420px;
  margin:0;
  color:var(--muted);
  font-size:15px;
}

.contact-card {
  padding:26px;
  border:1px solid var(--line);
  border-radius:9px;
  background:white;
}

.contact-label {
  display:block;
  margin-bottom:13px;
  color:var(--accent-dark);
  font-size:10px;
  font-weight:800;
  letter-spacing:.13em;
  text-transform:uppercase;
}

.contact-email {
  display:flex;
  justify-content:space-between;
  gap:10px;
  color:var(--ink);
  font-size:clamp(17px,2vw,23px);
  font-weight:700;
  text-decoration-color:#a8d8d2;
  text-underline-offset:5px;
}

.contact-email:hover {
  color:var(--accent-dark);
}
 .contact-email span {
  color:var(--accent);
}

.placeholder-note {
  margin:9px 0 20px;
  color:#586b73;
  font-size:10px;
}

.social-placeholders {
  padding-top:17px;
  display:flex;
  gap:30px;
  border-top:1px solid var(--line);
}

.social-placeholders span {
  display:flex;
  flex-direction:column;
  gap:2px;
  font-size:12px;
  font-weight:700;
}

.social-placeholders small {
  color:#586b73;
  font-size:10px;
  font-weight:400;
}

.site-footer {
  border-top:1px solid var(--line);
  background:white;
}

.footer-inner {
  width:min(var(--content-width),calc(100% - 64px));
  min-height:90px;
  margin-inline:auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
}

.footer-brand .brand-mark {
  width:30px;
  height:30px;
  border-radius:8px;
  font-size:10px;
}
 .footer-brand .brand-name {
  font-size:12px;
}

.footer-inner>p {
  margin:0;
  color:#586b73;
  font-size:10px;
}

.back-top {
  color:var(--accent-dark);
  font-size:11px;
  font-weight:700;
  text-decoration:none;
}
 .back-top:hover {
  text-decoration:underline;
  text-underline-offset:4px;
}

@media (max-width:900px) {
  .hero {
  min-height:auto;
  padding-top:90px;
  padding-bottom:100px;
  grid-template-columns:1.15fr .85fr;
  gap:30px;
}

 .hero h1 {
  font-size:clamp(56px,8vw,76px);
}


 .primary-navigation {
  gap:16px;
}
 .primary-navigation a {
  font-size:12px;
}
 .project-grid {
  grid-template-columns:repeat(2,1fr);
}

 .about-content {
  gap:45px;
}
 .education-layout,.contact-section {
  gap:50px;
}

}

@media (max-width:680px) {
  :root {
  --header-height:64px;
}

 .section-shell {
  width:min(100% - 36px,var(--content-width));
}

 .site-header {
  top:8px;
  width:calc(100% - 24px);
  margin-top:8px;
}
 .header-inner {
  min-height:var(--header-height);
  padding:0 15px;
}

 .brand {
  gap:8px;
}
 .brand-mark {
  width:32px;
  height:32px;
  border-radius:8px;
}
 .brand-name {
  max-width:190px;
  font-size:12px;
}

 .menu-toggle {
  width:42px;
  height:42px;
  padding:11px 9px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:6px;
  border:1px solid var(--line);
  border-radius:7px;
  background:white;
  cursor:pointer;
}

 .menu-toggle span {
  height:2px;
  width:100%;
  background:var(--ink);
  transition:transform .18s ease;
}

 .menu-toggle[aria-expanded="true"] span:first-child {
  transform:translateY(4px) rotate(45deg);
}

 .menu-toggle[aria-expanded="true"] span:last-child {
  transform:translateY(-4px) rotate(-45deg);
}

 .primary-navigation {
  position:absolute;
  top:calc(100% + 8px);
  left:0;
  right:0;
  padding:12px;
  display:none;
  flex-direction:column;
  align-items:stretch;
  gap:2px;
  border:1px solid var(--line);
  border-radius:10px;
  background:white;
  box-shadow:0 15px 30px rgba(21,48,60,.12);
}

 .primary-navigation.is-open {
  display:flex;
}
 .primary-navigation a {
  padding:10px 12px;
  border-radius:5px;
  font-size:13px;
}

 .primary-navigation a:hover,.primary-navigation a.is-current {
  background:var(--accent-soft);
}
 .primary-navigation .nav-contact {
  margin:4px 0 0;
  border-color:transparent;
}

 .hero {
  padding-top:76px;
  padding-bottom:90px;
  display:flex;
  flex-direction:column;
  align-items:stretch;
  gap:35px;
}

 .hero h1 {
  font-size:clamp(49px,13vw,70px);
}
 .hero-intro {
  font-size:16px;
}


 .scroll-cue {
  bottom:20px;
}
 .content-section {
  padding-top:78px;
  padding-bottom:78px;
}

 .section-heading h2,.contact-copy h2 {
  font-size:clamp(42px,11vw,58px);
}

 .about-content {
  margin-top:30px;
  grid-template-columns:1fr;
  gap:0;
}
 .about-lead {
  margin-bottom:22px;
  font-size:27px;
}

 .heading-row {
  display:block;
}
 .section-note {
  margin-top:20px;
}
 .skill-grid {
  margin-top:32px;
  grid-template-columns:1fr;
}

 .skill-group {padding:19px 16px;
}
 .skill-group h3 {
  margin-top:20px;
  font-size:15px;
}

 .skill-list {
  gap:6px;
}
 .skill-list li {
  padding:5px 7px;
  font-size:14px;
}

 .project-grid {
  grid-template-columns:1fr;
  gap:14px;
}
 .project-description {
  min-height:auto;
}

 .education-layout {
  grid-template-columns:1fr;
  gap:30px;
}
 .education-card {
  padding:24px;
}

 .contact-section {
  padding-top:78px;
  padding-bottom:78px;
  grid-template-columns:1fr;
  gap:30px;
}

 .contact-card {
  padding:20px;
}
 .footer-inner {
  width:calc(100% - 36px);
  padding:20px 0;
  flex-wrap:wrap;
}

 .footer-inner>p {
  order:1;
  width:100%;
}
 .back-top {
  margin-left:auto;
}

}

@media (max-width:380px) {
  .brand-name {
  max-width:160px;
  font-size:11px;
}
 .hero-actions {
  align-items:stretch;
  flex-direction:column;
}

 .button {
  width:100%;
}
 .skill-grid {
  grid-template-columns:1fr;
}
 .skill-group {}

 .skill-group h3 {
  margin-top:14px;
}
 .social-placeholders {
  gap:20px;
}

}

@media (prefers-reduced-motion:reduce) {
  html {
  scroll-behavior:auto;
}

 *,*::before,*::after {
  scroll-behavior:auto !important;
  animation-duration:.01ms !important;
  animation-iteration-count:1 !important;
  transition-duration:.01ms !important;
}

}


.hero-role {
  margin: 0 0 17px;
  color: var(--soft-ink);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .06em;
}

.hero-role span {
  padding: 0 5px;
  color: var(--accent);
}

/* MatchPoint-inspired page chrome: clean white, two nav rows, lavender canvas. */
.site-header {
  top: 0;
  width: 100%;
  margin: 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: #fff;
  box-shadow: 0 2px 8px rgba(24, 37, 68, .04);
  backdrop-filter: none;
}
.header-inner {
  width: 100%;
  max-width: 1780px;
  min-height: 72px;
  margin-inline: auto;
  padding: 0 clamp(28px, 5.7vw, 108px);
}
.header-actions { display: flex; align-items: center; gap: 22px; }
.header-contact {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}
.header-contact:hover { color: var(--accent-dark); }
.header-contact span:first-child { color: var(--soft-ink); }
.header-nav-row {
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-top: 1px solid #eff0f7;
}
.primary-navigation { justify-content: center; gap: clamp(32px, 4vw, 70px); }
.primary-navigation a { color: var(--ink); font-size: 16px; font-weight: 500; }
.primary-navigation a:hover,.primary-navigation a.is-current { color: var(--accent-dark); }
.hero {
  width: 100%;
  min-height: 560px;
  padding: 88px 0 92px;
  display: block;
  background: linear-gradient(125deg, #f0f1ff 0%, #e0e3ff 100%);
}
.hero-inner { min-height: 380px; display: flex; align-items: center; }
.hero-copy { max-width: 880px; }
h1,h2 { font-family: var(--font-sans); font-weight: 700; }
.hero-role { color: var(--soft-ink); }
.hero-role span { color: var(--accent-dark); }
.hero .eyebrow { color: var(--accent-dark); }
.scroll-cue { left: max(32px, calc((100vw - var(--content-width)) / 2)); }
.button-primary { background: var(--accent); }
.button-primary:hover { background: var(--accent-dark); }
.filter-button:hover,.filter-button.is-active { border-color: var(--accent); background: var(--accent); }
.status-complete { background: #e8ebff; color: #3f4d90; }
@media (max-width: 900px) {
  .primary-navigation { gap: clamp(20px, 3vw, 34px); }
  .primary-navigation a { font-size: 14px; }
  .hero { min-height: 520px; }
}
@media (max-width: 680px) {
  .site-header { top: 0; width: 100%; margin-top: 0; }
  .header-inner { min-height: 64px; padding: 0 18px; }
  .header-actions { gap: 14px; }
  .header-contact { gap: 6px; font-size: 13px; }
  .header-nav-row { position: static; min-height: 0; border-top: 0; }
  .primary-navigation {
    position: absolute;
    top: 100%;
    left: 12px;
    right: 12px;
    z-index: 60;
    padding: 10px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    border: 1px solid var(--line);
    border-radius: 0 0 10px 10px;
    background: #fff;
    box-shadow: 0 14px 28px rgba(24, 37, 68, .12);
  }
  .primary-navigation.is-open { display: flex; }
  .primary-navigation a { padding: 11px 12px; border-radius: 5px; font-size: 14px; }
  .primary-navigation a:hover,.primary-navigation a.is-current { background: var(--accent-soft); }
  .menu-toggle { display: flex; }
  .hero { min-height: 500px; padding: 65px 0 80px; }
  .hero-inner { min-height: 360px; }
  .scroll-cue { left: 18px; bottom: 18px; }
}
@media (max-width: 380px) {
  .header-inner { padding-inline: 12px; }
  .brand-name { max-width: 150px; font-size: 11px; }
  .header-actions { gap: 9px; }
  .header-contact { font-size: 12px; }
}




/* Distinctive personal hero: name, real focus areas, and a typographic origin motif. */
.hero {
  min-height: 620px;
  min-height: max(620px, calc(100svh - 128px));
  padding: 72px 0 84px;
  background: linear-gradient(132deg, #f5f5ff 0%, #e3e5ff 72%, #dfe2ff 100%);
}
.hero-inner {
  min-height: 440px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr);
  align-items: center;
  gap: clamp(44px, 7vw, 100px);
}
.hero-copy { max-width: 760px; }
.hero .eyebrow { margin-bottom: 23px; }
.hero h1 {
  max-width: 800px;
  margin-bottom: 12px;
  font-size: clamp(54px, 6.6vw, 88px);
  line-height: .98;
  letter-spacing: -.065em;
}
.hero h1 span { display: block; color: var(--accent); }
.hero-role {
  margin: 0 0 24px;
  color: var(--soft-ink);
  font-size: 15px;
  font-weight: 650;
  letter-spacing: .015em;
}
.hero-role span { padding-inline: 4px; color: var(--accent-dark); }
.hero-intro { max-width: 620px; margin-bottom: 22px; font-size: 16px; }
.hero-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 0 0 27px;
  padding: 0;
  list-style: none;
}
.hero-skills li {
  padding: 3px 0;
  border-bottom: 1px solid #aeb4df;
  color: var(--soft-ink);
  font-size: 12px;
  font-weight: 600;
}
@media (max-width: 900px) {
  .hero { min-height: 600px; }
  .hero-inner { grid-template-columns: minmax(0, 1.1fr) minmax(250px, .9fr); gap: 28px; }
  .hero h1 { font-size: clamp(48px, 7vw, 68px); }
  .hero-art { height: 360px; }
}
@media (max-width: 680px) {
  .hero { min-height: auto; padding: 60px 0 72px; }
  .hero-inner { min-height: 0; grid-template-columns: 1fr; gap: 25px; }
  .hero h1 { font-size: clamp(50px, 12vw, 72px); }
  .hero-art { max-width: 390px; height: 300px; }
}
@media (max-width: 380px) {
  .hero .eyebrow { font-size: 9px; }
  .hero-role { font-size: 13px; }
  .hero-art { height: 260px; }
}


/* Compact MatchPoint-style header and calm lavender portrait space. */
.header-inner {
  min-height: 58px;
  padding-inline: clamp(22px, 5.7vw, 108px);
}
.header-nav-row {
  min-height: 46px;
}
.primary-navigation {
  gap: clamp(28px, 4vw, 62px);
}
.primary-navigation a {
  font-size: 14px;
}
.hero {
  background: linear-gradient(132deg, #f5f5fc 0%, #e9e9f8 72%, #e6e6f6 100%);
}
.hero-art {
  position:relative;
  width:min(100%,350px);
  max-width:470px;
  height:auto;
  aspect-ratio:1;
  justify-self:center;
  display:grid;
  place-items:center;
  overflow:hidden;
  border:1px solid rgba(103, 92, 141, .24);
  border-radius:50%;
  background:rgba(255, 255, 255, .32);
  box-shadow:0 0 0 16px rgba(255, 255, 255, .2), 0 0 0 17px rgba(103, 92, 141, .1);
}
.hero-art img {
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
}
.hero h1 span {
  color: var(--accent);
}
.button-primary,
.filter-button:hover,
.filter-button.is-active {
  background: #8579a9;
  border-color: #8579a9;
}
.button-primary:hover,
.filter-button:hover {
  background: #70648f;
  border-color: #70648f;
}
.button-secondary:hover {
  border-color: #8579a9;
}

@media (max-width: 900px) {
  .primary-navigation { gap: clamp(20px, 3vw, 34px); }
  .hero-art { width: min(100%, 300px); }
}

@media (max-width: 680px) {
  .header-inner { min-height: 56px; }
  .header-nav-row { min-height: 0; }
  .hero-art { width: min(78vw, 290px); }
}


/* Clear, compact type scale with one text color for headings. */
body {
  font-size: 15px;
}
.hero h1 {
  max-width: 720px;
  margin-bottom: 16px;
  color: var(--ink);
  font-size: clamp(36px, 4.4vw, 52px);
  line-height: 1.02;
}
.hero h1 span,
.section-heading h2 span,
.contact-copy h2 span {
  color: inherit;
}
.hero-role {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  column-gap:4px;
  row-gap:3px;
  margin-bottom:18px;
  font-size:14px;
  line-height:1.4;
}
.hero-role .hero-role-item {
  padding:0;
  color:var(--soft-ink);
  white-space:nowrap;
}
.hero-role .hero-role-separator {
  padding:0 4px;
  color:var(--accent-dark);
}
.hero-intro {
  max-width:540px;
  margin:0 0 10px;
  font-size:14.5px;
  line-height:1.6;
}
.hero-intro-final { margin-bottom:20px; }
.hero-skills { margin-bottom: 22px; }
.button {
  min-height: 44px;
  font-size: 12px;
}
.button-primary,
.filter-button:hover,
.filter-button.is-active {
  background: var(--ink);
  border-color: var(--ink);
}
.button-primary:hover,
.filter-button:hover {
  background: #101a31;
  border-color: #101a31;
}
.button-secondary:hover { border-color: var(--ink); }
.section-heading h2,
.contact-copy h2 {
  font-size: clamp(26px, 3.2vw, 38px);
  line-height: 1.08;
}
.about-lead {
  font-size: clamp(22px, 2.4vw, 28px);
}
.skill-group h3 { font-size: 16px; }
.project-body h3 { font-size: 20px; }
.education-copy h3 { font-size: 19px; }
.contact-email { font-size: clamp(16px, 1.8vw, 20px); }

@media (max-width: 680px) {
  .hero h1 { font-size: clamp(32px, 8.5vw, 42px); }
  .section-heading h2,
  .contact-copy h2 { font-size: clamp(24px, 6.5vw, 32px); }
  .about-lead { font-size: 22px; }
}


/* Use the transparent JA emblem in the header and footer. */
.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 0;
  background: transparent;
  object-fit: contain;
}
.footer-brand .brand-mark {
  width: 32px;
  height: 32px;
}
.header-inner {
  min-height: 52px;
}
.header-nav-row {
  min-height: 40px;
}
.contact-card {
  transform: translateY(-14px);
}

@media (max-width: 680px) {
  .header-inner { min-height: 50px; }
  .contact-card { transform: translateY(-8px); }
}


/* Compact sections for project evidence, achievements, and future certificates. */
.achievement-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}
.achievement-card,
.certificate-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
}
.achievement-card h3 {
  margin-bottom: 8px;
  font-size: 16px;
}
.achievement-card p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 13px;
}
.achievement-card .achievement-date {
  margin-bottom: 8px;
  color: var(--accent-dark);
  font-size: 11px;
  font-weight: 700;
}
.project-preview {
  display: block;
  height: 205px;
  overflow: hidden;
  background: #f1f0fa;
}
.project-preview img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 180ms ease;
}
.project-preview:hover img,
.certificate-preview:hover img { transform:scale(1.025); }
.certificate-link:focus-visible { outline:3px solid var(--accent-dark); outline-offset:3px; }
.project-preview-portrait {
  display: grid;
  place-items: center;
  background: #171717;
}
.project-preview-portrait img {
  width: auto;
  max-width: 100%;
  object-fit: contain;
}
.certificate-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}
.certificate-card { overflow: hidden; padding: 0; }
.certificate-preview {
  display: block;
  height: 210px;
  overflow: hidden;
  background: #f3f3f6;
}
.certificate-preview img {
  display:block;
  width:100%;
  height:100%;
  object-fit:contain;
  transition:transform 180ms ease;
}
.certificate-copy { padding: 18px 20px 20px; }
.certificate-copy h3 { margin-bottom: 12px; font-size: 16px; }
.certificate-link {
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  text-decoration-color: var(--accent);
  text-underline-offset: 4px;
}
.certificate-link:hover { color: var(--accent-dark); }
.education-coursework,
.contact-location {
  color: var(--muted);
  font-size: 12px;
}
.social-placeholders a {
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}
.social-placeholders a:hover {
  color: var(--accent-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media (max-width: 680px) {
  .achievement-grid { grid-template-columns: 1fr; }
  .certificate-grid { grid-template-columns: 1fr; }
  .project-preview { height: 190px; }
  .certificate-preview { height: 190px; }
}





/* Campus photo and education details stay together as one section. */
.education-card {
  overflow: hidden;
  padding: 0;
}
.education-photo {
  display: block;
  width: 100%;
  height: 210px;
  object-fit: cover;
  object-position: center 48%;
}
.education-card-body {
  padding: 24px 30px 28px;
}
.education-card-body .education-copy h3 {
  margin-top: 12px;
}
@media (max-width: 680px) {
  .education-photo { height: 180px; }
  .education-card-body { padding: 20px; }
}


/* Distinguish the career goal while keeping the About copy compact. */
/* A three-quarter portrait complements the About copy. */
.about-content {
  grid-template-columns: minmax(0, 1fr) minmax(200px, .55fr);
  align-items: center;
  gap: 48px;
}
.about-copy { min-width: 0; }
.about-photo {
  display: block;
  width: min(100%, 270px);
  aspect-ratio: 4 / 5;
  justify-self: end;
  border: 1px solid var(--line);
  border-radius: 12px;
  object-fit: cover;
  object-position: center 42%;
}
.education-card {
  display: grid;
  grid-template-columns: minmax(200px, .8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: 28px;
  padding: 24px;
}
.education-photo {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  object-fit: cover;
  object-position: center;
}
.education-card-body { padding: 0; }
.education-card-body .education-copy h3 { margin-top: 12px; }
@media (max-width: 900px) {
  .about-content { gap: 30px; }
}
@media (max-width: 680px) {
  .about-content { grid-template-columns: 1fr; gap: 24px; }
  .about-photo { width: min(100%, 250px); justify-self: start; }
  .education-card { grid-template-columns: 1fr; gap: 20px; padding: 20px; }
  .education-photo { height: auto; aspect-ratio: 4 / 3; }
}


/* Compact profile facts, styled as quiet rectangular cards. */
.profile-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 22px 0;
  padding: 0;
  list-style: none;
}
.profile-highlights li {
  min-height: 78px;
  padding: 13px 15px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgba(255, 255, 255, .78);
}
.profile-highlight-value {
  color: var(--ink);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.1;
}
.profile-highlight-label {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.3;
}
@media (max-width: 680px) {
  .profile-highlights { gap: 7px; }
  .profile-highlights li { min-height: 70px; padding: 10px 9px; }
  .profile-highlight-value { font-size: 18px; }
  .profile-highlight-label { font-size: 10px; }
}

/* Keep About aligned under the sticky header and compact at desktop sizes. */
#about {
  scroll-margin-top: 92px;
  padding-top: 34px;
  padding-bottom: 34px;
}
#about .section-heading .eyebrow { margin-bottom: 12px; }
#about .about-content {
  margin-top: 20px;
  gap: 36px;
}
#about .about-copy { padding-left: 8px; }
#about .about-lead {
  max-width: 600px;
  font-size: clamp(19px, 2vw, 22px);
  line-height: 1.3;
}
#about .about-detail {
  font-size: 14px;
  line-height: 1.5;
}
#about .about-detail p { margin-bottom: 10px; }
#about .profile-highlights { margin: 12px 0; }
#about .about-photo { transform: translateY(-12px); }
@media (max-width: 680px) {
  #about { scroll-margin-top: 52px; }
  #about .about-copy { padding-left: 0; }
  #about .about-photo { transform: none; }
}













/* Small GPA card beneath the profile portrait. */
.hero-visual {
  width:100%;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:14px;
}
.hero-gpa-card {
  min-width:150px;
  padding:10px 18px;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:3px;
  border:1px solid var(--line);
  border-radius:9px;
  background:rgba(255,255,255,.8);
  box-shadow:0 5px 16px rgba(25,38,72,.06);
}
.hero-gpa-value {
  color:var(--ink);
  font-size:18px;
  font-weight:700;
  line-height:1.1;
}
.hero-gpa-label {
  color:var(--muted);
  font-size:10px;
  line-height:1.3;
}


/* Keep the compact header comfortable on the narrowest phones. */
@media (max-width: 380px) {
  .header-inner {
    gap:12px;
    padding-inline:12px;
  }

  .brand {
    min-width:0;
    gap:6px;
  }

  .brand-name {
    max-width:104px;
    font-size:10px;
    line-height:1.2;
  }

  .header-actions {
    flex-shrink:0;
    gap:7px;
  }

  .header-contact {
    gap:4px;
    font-size:11px;
    white-space:nowrap;
  }

  .menu-toggle {
    flex:0 0 38px;
    width:38px;
    height:38px;
    padding:9px 8px;
  }
}
/* Availability and rotating role styling for the existing hero. */
.availability-status .eyebrow-dot {
  flex:none;
  border-radius:50%;
  background:var(--accent);
  animation:availability-pulse 3s ease-in-out infinite;
  transform-origin:center;
}

@keyframes availability-pulse {
  0%,100% { opacity:.62; transform:scale(.88); }
  50% { opacity:1; transform:scale(1.08); }
}

.hero-role {
  display:block;
  min-height:1.4em;
  line-height:1.4;
}

.hero-role .hero-role-item {
  display:inline-block;
  max-width:100%;
  white-space:normal;
  transition:opacity .8s ease-in-out,transform .8s ease-in-out;
}

.hero-role .hero-role-item.is-changing {
  opacity:0;
  transform:translateY(2px);
}

@media (prefers-reduced-motion: reduce) {
  .availability-status .eyebrow-dot { animation:none; }
  .hero-role .hero-role-item { transition:none; }
}
/* Keep the Education coursework compact, clear, and responsive. */
.education-copy { min-width:0; }
.education-scholarship { max-width:42ch; }
.education-coursework { margin-top:12px; }
.education-coursework-label {
  margin:0 0 7px;
  color:var(--accent-dark);
  font-size:10px;
  font-weight:750;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.education-coursework-list {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:6px 14px;
  margin:0;
  padding-left:16px;
  color:var(--muted);
  font-size:11px;
  line-height:1.4;
}
.education-coursework-list li { min-width:0; }

@media (max-width: 900px) {
  .education-layout {
    grid-template-columns:1fr;
    gap:28px;
  }
}

@media (max-width: 800px) {
  .education-card {
    grid-template-columns:1fr;
    gap:0;
    padding:0;
  }
  .education-photo {
    aspect-ratio:16 / 9;
    border-radius:8px 8px 0 0;
  }
  .education-card-body { padding:22px 24px 24px; }
}

@media (max-width: 420px) {
  .education-card-body { padding:18px; }
  .education-coursework-list { gap:6px 10px; font-size:10.5px; }
}
/* Align the Skills grid with the navbar and keep all six cards content-sized. */
@media (max-width: 900px) {
  .skill-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width: 680px) {
  #skills { scroll-margin-top:66px; }
  .skill-grid { grid-template-columns:1fr; }
}
#skills { scroll-margin-top:calc(var(--header-height) + 16px); }

@media (max-width: 680px) {
  #skills { scroll-margin-top:66px; }
}



/* About layout: align the copy and stat row, with the portrait beside it on desktop. */
#about .section-heading { max-width:720px; }
#about .about-content {
  grid-template-columns:minmax(0,720px) minmax(200px,1fr);
  align-items:center;
  gap:64px;
}
#about .about-copy { width:100%; max-width:720px; padding-left:0; }
#about .about-lead, #about .about-detail { max-width:none; }
#about .profile-highlights { width:100%; }
#about .about-photo { justify-self:start; transform:none; }
@media (max-width:1100px) {
  #about .about-content { grid-template-columns:minmax(0,1fr); gap:24px; }
  #about .about-photo { width:min(100%,270px); justify-self:start; }
}

/* Education and Certificates section spacing, headings, and readable coursework. */
#education, #certificates {
  scroll-margin-top:calc(var(--header-height) + 16px);
}
#education.education-section { padding-block:56px; }
#education .education-layout {
  display:grid;
  grid-template-columns:minmax(0,1fr);
  align-items:start;
  gap:22px;
}
#education .education-layout > .section-heading { max-width:none; }
#education .education-card { width:min(100%,790px); }
#education .education-scholarship {
  max-width:none;
  color:var(--ink);
  font-size:12px;
  font-weight:500;
  letter-spacing:-.02em;
  white-space:nowrap;
}
#education .education-coursework-list {
  color:var(--ink);
  font-size:14px;
  line-height:1.4;
}
@media (max-width:680px) {
  #education.education-section { padding-block:40px; }
}
@media (max-width:420px) {
  #education .education-card-body { padding-inline:12px; }
  #education .education-scholarship { font-size:12px; }
}

@media (prefers-reduced-motion: reduce) {
  .project-preview img, .certificate-preview img { transition:none; }
}

/* Make the hovered or keyboard-focused navigation item easy to spot. */
.primary-navigation a {
  position:relative;
  isolation:isolate;
  transition:color .18s ease;
}
.primary-navigation a::before {
  position:absolute;
  z-index:-1;
  inset:-5px -10px;
  border-radius:6px;
  background:#ebe8f6;
  content:"";
  opacity:0;
  transition:opacity .18s ease;
}
.primary-navigation a:hover::before,
.primary-navigation a:focus-visible::before { opacity:1; }
@media (prefers-reduced-motion: reduce) {
  .primary-navigation a::before { transition:none; }
}

/* Compact availability badge using the existing navy and lavender palette. */
.hero .availability-status {
  width:fit-content;
  margin:0 0 16px;
  padding:6px 10px;
  gap:8px;
  border:1px solid rgba(103,92,141,.18);
  border-radius:999px;
  background:#ebe8f6;
  color:var(--ink);
  font-size:11px;
  font-weight:600;
  letter-spacing:.01em;
  text-transform:none;
}
.hero .availability-status .eyebrow-dot {
  width:7px;
  height:7px;
  background:var(--accent);
  box-shadow:0 0 0 3px rgba(132,119,173,.14);
}


#about .about-photo-frame {
  width:min(100%,270px);
  aspect-ratio:4 / 5;
  justify-self:start;
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:12px;
}
#about .about-photo {
  display:block;
  width:100%;
  height:100%;
  border:0;
  border-radius:0;
  object-fit:cover;
  object-position:center;
  transform:none;
}


/* Prevent narrow-screen intrinsic widths from extending beyond their section. */
@media (max-width:680px) {
  .contact-section { grid-template-columns:minmax(0,1fr); }
  .contact-section > * { min-width:0; }
}
@media (max-width:420px) {
  .social-placeholders { flex-wrap:wrap; }
}
#education .education-card,
#education .education-card > * { min-width:0; }
#education .education-photo { max-width:100%; }
#education .education-scholarship {
  white-space:normal;
  overflow-wrap:anywhere;
}
