/* latin-ext */
@font-face {
  font-family: 'Lato';
  font-display: swap;
  font-style: italic;
  font-weight: 400;
  src: local('Lato Italic'), local('Lato-Italic'), url(https://fonts.gstatic.com/s/lato/v15/S6u8w4BMUTPHjxsAUi-qNiXg7eU0.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Lato';
  font-display: swap;
  font-style: italic;
  font-weight: 400;
  src: local('Lato Italic'), local('Lato-Italic'), url(https://fonts.gstatic.com/s/lato/v15/S6u8w4BMUTPHjxsAXC-qNiXg7Q.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Lato';
  font-display: swap;
  font-style: italic;
  font-weight: 700;
  src: local('Lato Bold Italic'), local('Lato-BoldItalic'), url(https://fonts.gstatic.com/s/lato/v15/S6u_w4BMUTPHjxsI5wq_FQftx9897sxZ.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Lato';
  font-display: swap;
  font-style: italic;
  font-weight: 700;
  src: local('Lato Bold Italic'), local('Lato-BoldItalic'), url(https://fonts.gstatic.com/s/lato/v15/S6u_w4BMUTPHjxsI5wq_Gwftx9897g.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Lato';
  font-display: swap;
  font-style: normal;
  font-weight: 400;
  src: local('Lato Regular'), local('Lato-Regular'), url(https://fonts.gstatic.com/s/lato/v15/S6uyw4BMUTPHjxAwXiWtFCfQ7A.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Lato';
  font-display: swap;
  font-style: normal;
  font-weight: 400;
  src: local('Lato Regular'), local('Lato-Regular'), url(https://fonts.gstatic.com/s/lato/v15/S6uyw4BMUTPHjx4wXiWtFCc.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Lato';
  font-display: swap;
  font-style: normal;
  font-weight: 700;
  src: local('Lato Bold'), local('Lato-Bold'), url(https://fonts.gstatic.com/s/lato/v15/S6u9w4BMUTPHh6UVSwaPGQ3q5d0N7w.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Lato';
  font-display: swap;
  font-style: normal;
  font-weight: 700;
  src: local('Lato Bold'), local('Lato-Bold'), url(https://fonts.gstatic.com/s/lato/v15/S6u9w4BMUTPHh6UVSwiPGQ3q5d0.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Shared rhythm: one reading column, restrained type, and consistent spacing. */
:root {
  --content-width: 54rem;
  --text: #303740;
  --heading: #252d36;
  --muted: #606973;
  --blue: #2774ae;
  --link: #1772d0;
  --rule: #e4e9ed;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font-family: 'Lato', Verdana, Helvetica, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  overflow-wrap: break-word;
}

a {
  color: var(--link);
  text-decoration: none;
  text-underline-offset: 0.2em;
}

a:hover {
  color: #b56514;
  text-decoration: underline;
}

a:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 4px;
  border-radius: 2px;
}

p,
ul,
ol {
  margin: 0;
}

strong {
  color: var(--blue);
  font-weight: 700;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 1rem;
  z-index: 1100;
  padding: 0.5rem 0.875rem;
  transform: translateY(-200%);
  background: #fff;
  border: 1px solid var(--blue);
}

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

/* Keep the existing UCLA / COIN identity, with room for the navigation. */
.header-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--rule);
  backdrop-filter: blur(10px);
}

.nav-container,
.main-content {
  width: min(var(--content-width), calc(100% - 3rem));
  margin-inline: auto;
}

.nav-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.25rem 1.5rem;
  padding-block: 0.75rem;
}

.nav-logo {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 0.875rem;
}

.nav-logo img {
  display: block;
  width: auto;
  height: 1.875rem;
  object-fit: contain;
}

.nav-container nav {
  min-width: 0;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.125rem 1rem;
  padding: 0;
  list-style: none;
}

.nav-links a {
  display: block;
  padding-block: 0.5rem;
  color: var(--blue);
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.5;
}

.main-content {
  margin-top: 2.75rem;
  margin-bottom: 3rem;
}

/* Profile: keep the portrait at the right and make the name the clear entry point. */
.profile-overview {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 11rem;
  gap: 3rem;
  align-items: start;
}

.profile-contact {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
}

.profile-contact h1 {
  margin: 0 0 1rem;
  color: var(--heading);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.profile-contact-group {
  margin: 0;
  font-style: normal;
  line-height: 1.6;
}

address.profile-contact-group {
  margin-top: 0.875rem;
  color: var(--muted);
  font-size: 0.9375rem;
}

.profile-photo-link {
  display: block;
  grid-column: 2;
  grid-row: 1;
}

.profile-photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 0.5rem;
  box-shadow: 0 3px 12px rgba(19, 43, 65, 0.1);
}

.profile-bio {
  margin-top: 1.75rem;
}

.profile-bio p + p {
  margin-top: 0.875rem;
}

.profile-bio .prospective-students {
  margin-top: 1.25rem;
  padding-left: 1rem;
  border-left: 2px solid #b9d3e6;
}

/* Retain the personal inline logos without changing the text's line spacing. */
.ucla-with-bruin,
.pasta-with-icon,
.columbia-with-icon,
.profile-org-with-icon,
.kiro-with-icon {
  display: inline-flex;
  align-items: center;
  gap: 0.2em;
  line-height: 1.2;
  vertical-align: baseline;
  white-space: nowrap;
}

.ucla-bruin-icon,
.pasta-icon,
.columbia-icon,
.profile-org-icon,
.kiro-icon {
  display: block;
  flex: 0 0 auto;
  width: auto;
  height: 1.05em;
  object-fit: contain;
}

.kiro-with-icon .kiro-link {
  color: #6f42c1;
  font-weight: 700;
}

/* Every section follows the same heading and spacing system. */
.content-section {
  margin-top: 2.5rem;
}

.section-heading {
  margin: 0 0 1.125rem;
  padding-bottom: 0.625rem;
  border-bottom: 1px solid var(--rule);
  color: var(--heading);
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.35;
}

.subsection-heading {
  margin: 0 0 0.5rem;
  color: #434d57;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.6;
}

/* Dates form a quiet, consistent left column. */
.news-list {
  display: grid;
  gap: 0.875rem;
  padding: 0;
  list-style: none;
}

.news-item {
  display: grid;
  grid-template-columns: 5.25rem minmax(0, 1fr);
  align-items: baseline;
  gap: 1.25rem;
}

.news-date,
.entry-date {
  color: var(--muted);
  font-size: 0.9375rem;
  font-variant-numeric: tabular-nums;
}

.news-date {
  white-space: nowrap;
}

/* Compact groups keep the roster readable without adding visual boxes. */
.student-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem 3rem;
}

.students-list,
.teaching-list {
  padding-left: 1.125rem;
}

.students-list li + li,
.teaching-list li + li {
  margin-top: 0.375rem;
}

.student-term {
  color: var(--muted);
  font-size: 0.9375rem;
}

/* Publication titles lead; authors, venues, and notes stay subordinate. */
.section-header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.25rem 1rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.625rem;
  border-bottom: 1px solid var(--rule);
}

.section-header .section-heading {
  margin: 0;
  padding: 0;
  border: 0;
}

.publication-list-link {
  font-size: 0.9375rem;
  white-space: nowrap;
}

.publication-list {
  display: grid;
  gap: 1.5rem;
  padding: 0;
  list-style: none;
}

.publication-entry {
  min-width: 0;
}

.publication-title {
  margin: 0 0 0.3125rem;
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.45;
}

.publication-authors {
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.55;
}

.publication-authors b {
  color: var(--text);
}

.publication-venue {
  margin-top: 0.25rem;
  color: #4b555f;
  font-size: 0.9375rem;
  line-height: 1.5;
}

.publication-venue em {
  font-style: normal;
}

.publication-venue a {
  color: inherit;
}

.publication-note {
  margin-top: 0.25rem;
  color: #13778b;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.5;
}

/* Supporting academic information shares the same alignment and density. */
.awards-list,
.dated-list,
.service-list {
  padding: 0;
  list-style: none;
}

.awards-list {
  display: grid;
  gap: 0.5rem;
}

.awards-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 1rem;
}

.service-groups {
  display: grid;
  gap: 1rem;
}

.service-group {
  display: grid;
  grid-template-columns: 10rem minmax(0, 1fr);
  align-items: baseline;
  gap: 1.5rem;
}

.service-group .subsection-heading {
  margin: 0;
}

.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem 1.5rem;
}

.dated-list {
  display: grid;
  gap: 0.875rem;
}

.dated-list li {
  display: grid;
  grid-template-columns: 10rem minmax(0, 1fr);
  align-items: baseline;
  gap: 1.5rem;
}

.entry-detail {
  min-width: 0;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 2rem;
  margin-top: 3rem;
  padding-top: 1.125rem;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.6;
}

@media (max-width: 52rem) {
  html {
    scroll-padding-top: 9rem;
  }

  .nav-container {
    gap: 0.5rem;
  }

  .nav-container nav {
    flex-basis: 100%;
  }

  .nav-links {
    column-gap: 1.25rem;
  }

  .main-content {
    margin-top: 2rem;
  }
}

@media (max-width: 38rem) {
  /* A non-sticky mobile header leaves the reading area clear at larger text sizes. */
  html {
    scroll-padding-top: 1.25rem;
  }

  .header-nav {
    position: static;
  }

  .nav-container,
  .main-content {
    width: calc(100% - 2.5rem);
  }

  .nav-links {
    gap: 0.125rem 1.125rem;
  }

  .profile-overview {
    grid-template-columns: minmax(0, 1fr) 8rem;
    gap: 1.5rem;
  }

  .profile-contact h1 {
    font-size: 1.75rem;
  }

  .student-groups {
    gap: 1.25rem;
  }

  .service-group,
  .dated-list li {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

  .service-groups {
    gap: 1.25rem;
  }
}

@media (max-width: 30rem) {
  .profile-overview {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .profile-photo-link {
    grid-column: 1;
    grid-row: 1;
    width: 8rem;
  }

  .profile-contact {
    grid-column: 1;
    grid-row: 2;
  }

  .profile-bio {
    margin-top: 1.5rem;
  }

  .news-item {
    grid-template-columns: 1fr;
    gap: 0.125rem;
  }

  .student-groups {
    grid-template-columns: 1fr;
  }

  .awards-list li {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .content-section {
    margin-top: 2rem;
  }
}

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