:root {
  --concept-surface: #faf8f3;
  --concept-border: rgb(15 76 129 / 22%);
  --concept-muted: #506b80;
  --concept-accent: #a94f31;
  --concept-space-sm: .5rem;
  --concept-space-md: 1rem;
  --concept-space-lg: 1.5rem;
}

.concept-experience-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(14rem, 1fr);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3rem);
}

.concept-experience-list {
  border-top: 1px solid var(--concept-border);
}

.concept-experience {
  display: grid;
  grid-template-columns: minmax(12rem, .65fr) minmax(0, 1.35fr);
  gap: clamp(1.25rem, 4vw, 4rem);
  padding: var(--concept-space-lg) 0;
  border-bottom: 1px solid var(--concept-border);
}

.concept-experience:last-child {
  border-bottom: 0;
}

.concept-experience h3 {
  margin: 0 0 .25rem;
  color: #0f4c81;
  font-family: 'Crimson Pro', Georgia, serif;
  font-size: 1.2rem;
  line-height: 1.25;
}

.concept-experience .organization {
  display: block;
  color: var(--concept-muted);
  font-size: .85rem;
}

.concept-experience time {
  display: block;
  margin-top: .35rem;
  color: var(--concept-accent);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
}

.concept-experience p { margin: 0; }

.concept-experience-figure {
  margin: 0;
  padding: 1rem;
  border: 1px solid var(--concept-border);
  background: var(--concept-surface);
}

.concept-experience-figure img {
  display: block;
  width: 100%;
  height: auto;
}

.concept-experience-figure figcaption {
  margin-top: .65rem;
  color: var(--concept-muted);
  font-size: .85rem;
}

.concept-project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 2rem);
}

.concept-project {
  min-width: 0;
  border: 1px solid var(--concept-border);
  background: var(--concept-surface);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.concept-project:hover,
.concept-project:focus-within {
  border-color: #0f4c81;
  box-shadow: 0 10px 24px rgb(15 76 129 / 10%);
}

.concept-project > a,
.concept-project > .concept-project-inner {
  display: flex;
  height: 100%;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
}

.concept-project-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-bottom: 1px solid var(--concept-border);
  background: #f5f5f5;
}

.concept-project-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.concept-project-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1rem;
}

.concept-project-meta {
  margin: 0 0 .35rem;
  color: var(--concept-accent);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.concept-project h3 {
  margin: 0;
  color: #0f4c81;
  font-family: 'Crimson Pro', Georgia, serif;
  font-size: 1.2rem;
  line-height: 1.25;
}

.concept-project p {
  margin: .6rem 0 1rem;
  color: #243746;
  font-size: .9rem;
  line-height: 1.5;
}

.concept-project-action {
  margin-top: auto;
  color: #0f4c81;
  font-size: .85rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: .2em;
}

@media (max-width: 1100px) {
  .concept-project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
  .concept-experience-layout,
  .concept-experience,
  .concept-experience-figure {
    grid-template-columns: 1fr;
  }
  .concept-project-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .concept-project { transition: none; }
}

/* Consolidated accessible portfolio foundation */
html { scroll-behavior: smooth; }
body.drawer-open { overflow: hidden; }
.mobile-overlay { display: none; }

section#research {
  margin-bottom: 30px !important;
  padding: 0 30px 30px;
  border-bottom: 1px solid #0f4c81;
}
section#research.section-collapsed { padding-bottom: 0 !important; }
section#projects { border-bottom: 0; }

.skip-link {
  position: fixed;
  z-index: 3000;
  top: .75rem;
  left: .75rem;
  padding: .65rem 1rem;
  background: #0f4c81;
  color: #fff;
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

a:focus-visible,
button:focus-visible {
  outline: 3px solid #c95f3b;
  outline-offset: 3px;
}

.visually-hidden-heading {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.section-heading { margin: 0; }
.section-title {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding: 0 0 10px;
  border: 0;
  background: transparent;
  color: #0f4c81;
  font-family: 'Crimson Pro', Georgia, serif;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 1px;
  text-align: left;
  cursor: pointer;
}
.section-title .section-title-text { font-family: inherit; }
.section-title:focus-visible { border-radius: 2px; }

.mobile-brand {
  display: none;
  color: #0f4c81;
  font-family: 'Crimson Pro', Georgia, serif;
  font-size: 1.15rem;
  font-weight: 600;
  text-decoration: none;
}

.section-body p {
  max-width: 75ch;
  text-align: left;
}

.about-intro {
  margin-bottom: .7rem;
  padding-top: .15rem;
}
.about-intro::before {
  display: block;
  width: 2.5rem;
  height: 2px;
  margin-bottom: .4rem;
  background: #0f4c81;
  content: "";
}
.section-body .about-intro p {
  margin: 0;
  color: #0f4c81;
  font-size: 1rem;
  line-height: 1.4;
}
.section-body .about-intro p + p { margin-top: .35rem; }
.about-intro .location {
  color: #3f6f9a;
  font-size: .92rem;
}

.research-focus h3,
.research-keywords h4,
.about-committee dt {
  margin: 0;
  color: #3f6f9a;
  font-family: 'Atkinson Hyperlegible', system-ui, sans-serif;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .1em;
  line-height: 1.5;
  text-transform: uppercase;
}

.research-focus {
  padding: .05rem 0 .05rem .85rem;
  border-left: 3px solid #0f4c81;
}
.research-focus h3 {
  margin-bottom: .25rem;
  color: #0f4c81;
}
.section-body .research-focus p {
  margin: 0;
  color: #173d5d;
  font-size: 1rem;
  line-height: 1.5;
}
.about-research { margin-top: .7rem; }

.research-keywords {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .4rem .65rem;
  margin-top: .65rem;
  padding-top: .5rem;
}
.research-keywords h4 {
  flex: 0 0 auto;
  margin: 0;
}
.keyword-list {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.keyword-list li {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  gap: .35rem;
  padding: .25rem .6rem;
  border: 1px solid #5f88aa;
  border-radius: 999px;
  background: #d7e7f1;
  color: #0f3d63;
  font-size: .8rem;
  font-weight: 700;
  line-height: 1.25;
}
.keyword-list li i {
  width: 1em;
  font-size: .75rem;
  text-align: center;
}
.keyword-list li:nth-child(2) {
  border-color: #b56a4c;
  background: #f1ded4;
  color: #6e2f1d;
}
.keyword-list li:nth-child(3) {
  border-color: #6f9576;
  background: #dde9df;
  color: #284d31;
}
.keyword-list li:nth-child(4) {
  border-color: #b66d7b;
  background: #f1dee2;
  color: #6a3040;
}

.about-committee {
  display: grid;
  grid-template-columns: minmax(7rem, .25fr) minmax(0, 1fr);
  gap: .75rem;
  margin: .65rem 0 0;
  padding-top: .55rem;
}
.about-committee dd { margin: 0; }
.about-committee dd a {
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .18em;
}
.about-committee dd a span { color: #3f6f9a; }

.cv-link {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  gap: .35rem;
  margin-top: .65rem;
  font-size: .9rem;
  font-weight: 700;
  text-decoration: underline;
}
.cv-link span { transition: transform 180ms ease; }
.cv-link:hover span { transform: translateX(3px); }

.section-body .beyond-research-copy {
  width: 100%;
  max-width: none;
  margin: 0;
  padding-left: 1.25rem;
  border-left: 3px solid #0f4c81;
  line-height: 1.75;
}

.social-link {
  display: inline-grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  background: #0f4c81;
  color: white;
  text-decoration: none;
}
.social-link:hover { background: #0a3a62; color: white; }
.footer-handle { color: inherit; }

.mobile-sidebar {
  height: 100dvh;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-top: calc(24px + env(safe-area-inset-top));
  padding-bottom: calc(1rem + env(safe-area-inset-bottom));
}
.mobile-nav {
  display: grid;
  margin-top: 1rem;
  border-top: 1px solid var(--concept-border);
}
.mobile-nav a {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--concept-border);
  color: #0f4c81;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-decoration: none;
  text-transform: uppercase;
}
.mobile-nav a::after {
  color: var(--concept-accent);
  content: "→";
}
.mobile-nav a.active {
  color: #0a3a62;
  padding-left: .4rem;
}

@media (max-width: 991px) {
  main.content { padding-bottom: 0; }
  section#research { padding: 0; }
  footer {
    position: static;
    margin-inline: -16px;
    padding: 18px 16px;
  }
  .top-menu .nav-link {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
  }
  #openSidebar,
  #closeSidebar {
    min-width: 44px;
    min-height: 44px;
  }
  .section-title { font-size: 16px; }
}

@media (max-width: 767px) {
  body { overflow-x: hidden; }
  section[id] { scroll-margin-top: 5rem; }
  .top-menu {
    min-height: 58px;
    overflow: visible;
    justify-content: flex-start;
    gap: .75rem;
    padding-top: calc(10px + env(safe-area-inset-top));
  }
  .top-menu > .nav-link { display: none !important; }
  .mobile-brand { display: inline-flex; align-items: center; }
  .about .col-md-3 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  .about .col-md-3 img {
    width: min(58vw, 220px) !important;
    margin-bottom: 0;
  }
  .section-title {
    min-height: 44px;
    margin-bottom: 12px;
  }
  .concept-experience-figure {
    width: 100%;
    max-width: 32rem;
    margin-inline: auto;
  }
}

@media (max-width: 575px) {
  .section-body p { font-size: 1rem; }
  .about-committee {
    grid-template-columns: 1fr;
    gap: .35rem;
  }
  .research-focus { padding: .75rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

@media (forced-colors: active) {
  a:focus-visible,
  button:focus-visible { outline-color: Highlight; }
}
