/* ------------------------------------------------------------
   site.css - layout for the tabbed homepage (Overview / Projects / Academia)
   Builds on styles.css (fonts, header, nav, colours).
   Palette: accent #48cfae, dark #2f353d, light #f5f6f7, text #585858
------------------------------------------------------------ */

/* ---- tabs ---- */
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: tabIn 260ms ease-out; }
@keyframes tabIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

nav .navbar-items a { cursor: pointer; letter-spacing: .3px; text-transform: uppercase; font-family: "Roboto Condensed", Arial, sans-serif; font-size: 15px; }
nav .navbar-items a.current:before { background: #48cfae; }
nav .navbar-items a .fa { margin-right: 6px; opacity: .7; }
nav .navbar-items a.nav-ext { color: rgba(65,65,65,.45); }

/* ---- panels ---- */
.panel { padding: 70px 0 40px; }
.panel-light { background: #ffffff; }
.panel-grey  { background: #f5f6f7; }
.panel-dark  { background: #2f353d; }
.panel-dark h2, .panel-dark h3, .panel-dark h4, .panel-dark h6 { color: #fff; }
.panel-dark p { color: rgba(255,255,255,.78); }
.panel-dark em { color: rgba(255,255,255,.55); }
.panel-dark a { color: #48cfae; border-bottom-color: rgba(72,207,174,.35); }
.panel .title { margin-bottom: 40px; }
.panel .title p { max-width: 640px; margin-left: auto; margin-right: auto; }
.narrow { max-width: 1100px; margin: 0 auto; }

/* equal-height card rows on bootstrap 3 */
.flex-row { display: flex; flex-wrap: wrap; }
.flex-row > [class*="col-"] { display: flex; margin-bottom: 30px; }

/* ---- overview: about ---- */
#about .intro { padding: 85px 0 55px; }
#about .intro .title { margin-bottom: 30px; }
#about .intro .title:after { display: none; }
#about .intro .title h1 { font-weight: 300; font-size: 28px; }
#about .photo img { border-radius: 4px; box-shadow: 0 2px 10px rgba(0,0,0,.15); width: 121px; }
#about .lead-text { font-size: 15px; line-height: 26px; }
.facts { list-style: none; padding: 0; margin: 18px 0 0; }
.facts li { font: 400 14px/24px "Roboto", Arial, sans-serif; color: #585858; margin-bottom: 4px; }
.facts li .fa { width: 22px; color: #48cfae; text-align: center; margin-right: 6px; }
.facts li a { border-bottom: none; }
.btn-row { margin-top: 22px; }
.btn-row .btn { margin: 0 8px 8px 0; padding: 9px 22px; font-size: 13px; }
.btn-row .btn .fa { margin-right: 6px; }
.btn.btn-ghost { background: transparent; color: #414141; border: 2px solid rgba(65,65,65,.25); }
.btn.btn-ghost:hover { border-color: #414141; color: #414141; background: transparent; }

/* ---- skills ---- */
.skill-block { margin-bottom: 30px; }
.skill-block h6 { font-weight: 700; text-transform: uppercase; letter-spacing: 1px; font-size: 14px; margin-bottom: 8px; }
.skill-block h6 .fa { color: #48cfae; margin-right: 8px; }
.skill-block p { margin: 0; }

/* ---- experience timeline ---- */
.timeline { list-style: none; padding: 0; margin: 0; position: relative; }
.timeline:before { content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: #e3e6e9; }
.timeline > li { position: relative; padding: 0 0 36px 34px; }
.timeline > li:before { content: ""; position: absolute; left: 0; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid #48cfae; }
.timeline > li:last-child { padding-bottom: 6px; }
.timeline h6 { font-weight: 700; font-size: 17px; margin: 0 0 2px; color: #303030; }
.timeline .meta { font: 400 13px/22px "Roboto Condensed", Arial, sans-serif; color: #8b9096; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 8px; }
.timeline .stack { font-size: 13px; color: #8b9096; margin: 0 0 10px; }
.timeline ul { padding-left: 18px; margin: 0; }
.timeline ul li { font: 400 14px/23px "Roboto", Arial, sans-serif; color: #585858; margin-bottom: 6px; }
.panel-dark .timeline:before { background: rgba(255,255,255,.12); }
.panel-dark .timeline > li:before { background: #2f353d; }
.panel-dark .timeline h6 { color: #fff; }
.panel-dark .timeline ul li { color: rgba(255,255,255,.78); }
.panel-dark .timeline .meta, .panel-dark .timeline .stack { color: rgba(255,255,255,.5); }

/* ---- education ---- */
.edu-block h6 { font-weight: 700; margin-bottom: 4px; }
.edu-block p { margin: 0; }

/* ---- project cards ---- */
.pcard { background: #fff; border: 1px solid #e6e8eb; border-radius: 4px; padding: 26px 26px 20px; width: 100%; display: flex; flex-direction: column; transition: box-shadow 150ms ease-out, transform 150ms ease-out; }
.pcard:hover { box-shadow: 0 6px 22px rgba(0,0,0,.08); transform: translateY(-2px); }
.pcard .pcard-head { display: flex; align-items: flex-start; margin-bottom: 10px; }
.pcard .pcard-icon { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 4px; background: rgba(72,207,174,.14); color: #2fb493; font-size: 20px; line-height: 44px; text-align: center; margin-right: 14px; }
.pcard h6 { font-weight: 700; font-size: 17px; line-height: 22px; margin: 2px 0 2px; color: #303030; }
.pcard .year { font: 400 12px/18px "Roboto Condensed", Arial, sans-serif; color: #98a0a8; text-transform: uppercase; letter-spacing: .6px; }
.pcard .tagline { font-weight: 700; color: #414141; margin: 4px 0 8px; }
.pcard p { margin: 0 0 10px; }
.pcard .tags { margin: auto 0 14px; padding-top: 6px; }
.tags span { display: inline-block; font: 400 11px/20px "Roboto Condensed", Arial, sans-serif; letter-spacing: .4px; text-transform: uppercase; color: #5f6770; background: #f0f2f4; border-radius: 2px; padding: 0 8px; margin: 0 4px 4px 0; }
.pcard .links a, .feature .links a { display: inline-block; font: 700 13px/20px "Roboto Condensed", Arial, sans-serif; text-transform: uppercase; letter-spacing: .5px; margin-right: 16px; border-bottom: none; }
.pcard .links a .fa, .feature .links a .fa { margin-right: 5px; }
.pcard .links a:hover { color: #2fb493; }
.pcard.pcard-muted { background: #fafbfb; }

/* featured project */
.feature { background: #fff; border: 1px solid #e6e8eb; border-radius: 4px; overflow: hidden; display: flex; flex-wrap: wrap; margin-bottom: 40px; }
.feature .shot { flex: 1 1 520px; min-width: 0; background: #1b2028; position: relative; }
.feature .shot img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: left top; }
.feature .shot a { border-bottom: none; display: block; height: 100%; }
.feature .shot .badge-live { position: absolute; top: 14px; left: 14px; background: #48cfae; color: #fff; font: 700 11px/22px "Roboto Condensed", Arial, sans-serif; letter-spacing: 1px; text-transform: uppercase; padding: 0 10px; border-radius: 2px; }
.feature .body { flex: 1 1 360px; padding: 32px 34px; }
.feature .body .year { font: 400 12px/18px "Roboto Condensed", Arial, sans-serif; color: #98a0a8; text-transform: uppercase; letter-spacing: .6px; }
.feature .body h3 { font-weight: 700; margin: 4px 0 6px; }
.feature .body .tagline { font-weight: 700; color: #414141; margin-bottom: 10px; }
.feature .body ul { padding-left: 18px; margin: 0 0 14px; }
.feature .body ul li { font: 400 14px/23px "Roboto", Arial, sans-serif; color: #585858; margin-bottom: 4px; }
.feature .tags { margin-bottom: 16px; }
.feature .links .btn { padding: 8px 20px; font-size: 13px; margin: 0 8px 8px 0; }

.group-label { font: 700 13px/20px "Roboto Condensed", Arial, sans-serif; text-transform: uppercase; letter-spacing: 1.5px; color: #98a0a8; margin: 10px 0 18px; }
.group-label:after { content: ""; display: block; width: 36px; height: 2px; background: #48cfae; margin-top: 8px; }
.more-link { text-align: center; margin-top: 10px; }

/* ---- academia ---- */
.research-areas { list-style: none; padding: 0; margin: 0; }
.research-areas li { padding-left: 26px; position: relative; margin-bottom: 8px; font: 400 14px/23px "Roboto", Arial, sans-serif; color: #585858; }
.research-areas li:before { content: ""; position: absolute; left: 4px; top: 8px; width: 8px; height: 8px; background: #48cfae; }

.visits { list-style: none; padding: 0; margin: 0; }
.visits li { display: flex; border-bottom: 1px solid #e6e8eb; padding: 9px 0; font: 400 14px/22px "Roboto", Arial, sans-serif; color: #585858; }
.visits li:last-child { border-bottom: none; }
.visits li b { flex: 0 0 82px; color: #303030; font-family: "Roboto Condensed", Arial, sans-serif; }
.visits li em { color: #98a0a8; }

.pubs { list-style: none; padding: 0; margin: 0; }
.pubs li { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.pubs li:last-child { border-bottom: none; }
.pubs .authors { font: 400 13px/20px "Roboto", Arial, sans-serif; color: rgba(255,255,255,.55); margin: 0; }
.pubs .ptitle { font: 400 15px/22px "Roboto", Arial, sans-serif; color: #fff; margin: 0; }
.pubs .venue { display: inline-block; font: 700 11px/20px "Roboto Condensed", Arial, sans-serif; letter-spacing: .6px; text-transform: uppercase; color: #48cfae; background: rgba(72,207,174,.12); border-radius: 2px; padding: 0 8px; margin-top: 4px; }
.pubs .venue.journal { color: #ffd479; background: rgba(255,212,121,.12); }
.pub-year { font: 700 14px/20px "Roboto Condensed", Arial, sans-serif; color: rgba(255,255,255,.4); letter-spacing: 1px; margin: 22px 0 4px; }
.pub-year:first-child { margin-top: 0; }

/* ---- contact strip ---- */
#contact { background: #f5f6f7; padding: 50px 0 30px; text-align: center; }
#contact .content-block { display: inline-block; margin: 0 26px 20px; }
#contact .content-block a { border-bottom: none; color: #414141; }
#contact .content-block a:hover { color: #48cfae; }
#contact .content-block i { font-size: 30px; color: #48cfae; display: block; margin-bottom: 6px; }
#contact .content-block h6 { margin: 0; }
#contact .copyright { margin-top: 16px; color: #98a0a8; font-size: 12px; }

/* ---- responsive ---- */
@media (max-width: 991px) {
  .feature .shot { flex-basis: 100%; max-height: 320px; }
}
@media (max-width: 768px) {
  .panel { padding: 50px 0 30px; }
  #about .intro { padding: 60px 0 40px; }
  #about .photo { text-align: center; margin-bottom: 20px; }
  .feature .body { padding: 24px 22px; }
  #contact .content-block { margin: 0 14px 20px; }
}

/* inline code inside cards: neutral, not bootstrap pink */
.pcard code, .feature code { font-size: 12px; color: #414141; background: #f0f2f4; border-radius: 2px; padding: 1px 5px; }
