/* latin-ext */
@font-face {
  font-family: 'Lato';
  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-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-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-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-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-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-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-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;
}

a {
  color: #1772d0;
  text-decoration: none;
}

a:focus,
a:hover {
  color: #f09228;
  text-decoration: none;
}

body,
td,
th,
tr,
p,
a {
  font-family: 'Lato', Verdana, Helvetica, sans-serif;
  font-size: 14px;
}

strong {
  font-family: 'Lato', Verdana, Helvetica, sans-serif;
  font-size: 14px;
}

h2 {
  margin: 0;
  font-weight: normal;
  font-family: 'Lato', Verdana, Helvetica, sans-serif;
  font-size: 22px;
}

.papertitle {
  font-family: 'Lato', Verdana, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 700;
}

.name {
  padding-top: 20px;
  margin: 0;
  font-family: 'Lato', Verdana, Helvetica, sans-serif;
  font-size: 32px;
}

.one {
  width: 160px;
  height: 160px;
  position: relative;
}

.two {
  width: 160px;
  height: 160px;
  position: absolute;
  transition: opacity .2s ease-in-out;
  -moz-transition: opacity .2s ease-in-out;
  -webkit-transition: opacity .2s ease-in-out;
}

.fade {
  transition: opacity .2s ease-in-out;
  -moz-transition: opacity .2s ease-in-out;
  -webkit-transition: opacity .2s ease-in-out;
}

span.highlight {
  background-color: #ffffd0;
}

.colored-box {
    color: black;
    padding: 20px;
    display: inline-block;
    border-radius: 10px;
}

/* === Portfolio layout === */
body {
  background-color: #f7f7f7;
  color: #222;
  line-height: 1.6;
  overflow-x: hidden;
}

.page-container {
  max-width: 960px;
  margin: 0 auto;
  padding: 32px 16px 80px;
}

.hero {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: center;
  padding: 32px 0 24px;
}

.hero-text {
  flex: 1 1 320px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
  color: #ff6b4a;
  margin-bottom: 8px;
}

.tagline {
  font-size: 18px;
  margin: 12px 0;
}

.summary {
  margin-bottom: 18px;
}

.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.btn {
  border: 1px solid #222;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  background-color: #fff;
  color: #222;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn.primary,
.btn.secondary {
  background-color: #fff;
  color: #222;
}

.btn:hover {
  background-color: #000;
  color: #fff;
  border-color: #000;
}

.icon-link {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid #222;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #222;
  background-color: #fff;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.icon-link:hover {
  background-color: #000;
  color: #fff;
  border-color: #000;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-photo {
  flex: 0 0 280px;
  height: 320px;
  border-radius: 32px;
  background-size: cover;
  background-position: left center;
  position: relative;
  border: 1px solid #ddd;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 12px;
  max-width: 100%;
}

.image-note {
  background: rgba(255, 255, 255, 0.85);
  border-radius: 999px;
  font-size: 12px;
  padding: 6px 12px;
  text-align: center;
}

.section {
  margin-top: 56px;
}

.section-heading h2 {
  font-size: 28px;
  margin-bottom: 8px;
}

.card-grid,
.project-grid,
.contact-grid,
.logo-grid,
.cert-grid {
  margin-top: 28px;
}

.card-grid,
.project-grid,
.contact-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.card,
.project-card,
.cert {
  background: #fff;
  border: 1px solid #e4e4e4;
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 15px 35px rgba(15, 15, 15, 0.05);
}

.focus-card .image-slot {
  margin-bottom: 16px;
}

.meta {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #7b7b7b;
  margin-bottom: 12px;
}

.research-summary {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.7;
}

.image-slot {
  width: 100%;
  height: 160px;
  border: 1px dashed #bbbbbb;
  border-radius: 16px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 12px;
  color: #666;
  padding: 12px;
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
}

.logo-slot {
  min-height: 80px;
  border: 1px solid #e2e2e2;
  border-radius: 16px;
  background-repeat: no-repeat;
  background-size: 70%;
  background-position: center;
  text-align: center;
  font-size: 12px;
  color: #888;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 12px;
}

.project-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.project-card h3 {
  margin-top: 0;
}

.project-links {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 12px 0;
}

.project-links .icon-link {
  width: 40px;
  height: 40px;
  font-size: 16px;
}

.more-link {
  margin-top: 16px;
  font-weight: 600;
}

.contact-hero {
  position: relative;
  background-size: cover;
  background-position: center;
  border-radius: 28px;
  background-color: #111;
  overflow: hidden;
  isolation: isolate;
}

.contact-hero::before,
.contact-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: opacity 1s ease;
  z-index: 0;
}

.contact-hero::before {
  background-image: url('images/New_York.jpg');
  animation: contactSlide 16s infinite;
}

.contact-hero::after {
  background-image: url('images/penn-1.jpg');
  animation: contactSlide 16s infinite;
  animation-delay: -8s;
}

.contact-overlay {
  position: relative;
  z-index: 1;
  background: rgba(0, 0, 0, 0.55);
  padding: 36px 28px;
  border-radius: 28px;
}

.contact-hero .section-heading h2 {
  color: #fff;
}

.contact-flex {
  display: flex;
  gap: 24px;
  align-items: stretch;
  flex-wrap: wrap;
  margin-top: 24px;
}

.contact-hero .card {
  background: rgba(255, 255, 255, 0.92);
  color: #222;
}

.location-card {
  position: relative;
  overflow: hidden;
  border: none;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 28px;
}

@keyframes contactSlide {
  0% {
    opacity: 1;
  }
  40% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
  90% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.location-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(255, 192, 203, 0.4));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.location-card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  margin-bottom: 14px;
}

.location-card h3 .fa {
  color: #ff6b4a;
  font-size: 22px;
}

.location-card p {
  font-size: 15px;
  margin-bottom: 12px;
  color: #333;
}

.location-card .text-link {
  color: #111;
  font-weight: 700;
}

.location-card .text-link:hover {
  color: #ff6b4a;
}

.contact-social {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
}

.research-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 32px;
}

.research-item {
  display: flex;
  gap: 20px;
  align-items: stretch;
}

.research-media {
  flex: 0 0 220px;
  border-radius: 18px;
  border: 1px dashed #bbbbbb;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 12px;
  color: #555;
  padding: 12px;
}

.research-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
  display: block;
}

.research-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background-color: #f7f7f7;
  border-radius: 16px;
  display: block;
}

.research-body {
  flex: 1 1 auto;
  background: #fff;
  border: 1px solid #e4e4e4;
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 15px 35px rgba(15, 15, 15, 0.05);
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.cert ul {
  padding-left: 18px;
}

.text-link {
  font-weight: 600;
}

.asset-list {
  background: #fff;
  border: 1px solid #e4e4e4;
  border-radius: 18px;
  padding: 20px 28px;
  box-shadow: 0 15px 35px rgba(15, 15, 15, 0.05);
  list-style: disc;
}

.asset-list li {
  margin-bottom: 10px;
}

.asset-guide code {
  background-color: #f1f1f1;
  padding: 2px 6px;
  border-radius: 4px;
}

/*
.life-outside-section {
  background: #fff;
  border: 1px solid #e4e4e4;
  border-radius: 18px;
  padding: 20px 24px 16px;
  box-shadow: 0 12px 28px rgba(15, 15, 15, 0.05);
}

.life-outside-section .section-heading {
  text-align: center;
  margin-bottom: 20px;
}


.life-outside-feed {
  max-width: 900px;
  margin: 0 auto;
}

.life-outside-feed iframe {
  width: 100%;
  height: auto;
  min-height: 520px;
  max-height: 760px;
  border: none;
  border-radius: 16px;
  display: block;
}

@media (max-width: 600px) {
  .life-outside-section {
    padding: 18px 14px;
  }

  .life-outside-feed iframe {
    min-height: 420px;
    max-height: 640px;
    border-radius: 12px;
  }
}
*/

.footer {
  margin-top: 64px;
  text-align: center;
  font-size: 13px;
  color: #777;
}

@media (max-width: 768px) {
  .hero {
    flex-direction: column;
  }

  .hero-photo {
    width: 100%;
  }

  .research-item {
    flex-direction: column;
  }

  .research-media {
    width: 100%;
    min-height: 200px;
  }

  .contact-flex {
    flex-direction: column;
  }
}

@media (max-width: 900px) {
  .hero {
    flex-direction: column;
    text-align: center;
  }

  .hero-text {
    flex: 1 1 100%;
  }

  .hero-photo {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
  }

  .card-grid,
  .project-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }

  .research-item {
    flex-direction: column;
  }

  .research-media {
    width: 100%;
    min-height: 240px;
  }
}

@media (max-width: 600px) {
  .page-container {
    padding: 24px 14px 64px;
  }

  .hero {
    gap: 20px;
    padding: 16px 0 12px;
  }

  .hero-photo {
    height: 260px;
    border-radius: 24px;
  }

  .tagline {
    font-size: 16px;
  }

  .summary {
    font-size: 14px;
  }

  .cta-group {
    flex-direction: column;
    width: 100%;
  }

  .cta-group .btn {
    width: 100%;
    text-align: center;
  }

  .section {
    margin-top: 40px;
  }

  .section-heading h2 {
    font-size: 24px;
  }

  .card-grid,
  .project-grid {
    grid-template-columns: 1fr;
  }

  .card,
  .project-card,
  .research-body {
    padding: 16px;
  }

  .research-media {
    min-height: 180px;
  }

  .project-links {
    justify-content: flex-start;
  }

  .icon-link {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .contact-overlay {
    padding: 24px 18px;
  }

  .location-card {
    padding: 20px;
  }
}

@media (max-width: 420px) {
  .page-container {
    padding: 20px 12px 56px;
  }

  .hero-photo {
    height: 220px;
  }

  .icon-link {
    width: 36px;
    height: 36px;
    font-size: 14px;
  }

  .contact-overlay {
    padding: 20px 14px;
  }
}