/** File: assets\css\index.css
 *  written by Morgan Vickery, https://github.com/morganavickery
 *  maintained by Jesse M. Heines, jesse@jesseheines.com using Claude Code
 *  Copyright (c) 2026 by Jesse Heines.  All rights reserved.  May be freely
 *    copied or excerpted for educational purposes with credit to the author.
 *  updated by JMH on October 28, 2026 at 9:38 AM
 */


/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/

.hero .background-container img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  /* Place image behind everything */
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(45deg, var(--hero-overlay-start), var(--hero-overlay-end));
  /* Gradient overlay */
  z-index: 2;
  /* Overlay above the image */
}

/* removed by Claude, 2026-11-01 -- Bootstrap's .container class centers
   itself (auto margins + a max-width) and this rule's justify-content:
   center + left: 50px centered the whole row on top of that, which is
   why the hero text drifted away from the carousel instead of sitting
   left-justified right next to it (Round 2 change request)
.hero .container {
  position: relative;
  z-index: 3;
  color: var(--contrast-color);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px;
  text-align: center;
  left: 50px;
}
*/
/* added by Claude, 2026-11-01 09:15 -- Round 3: global.css's generic
   .hero.primary rule (used only by this page's hero, #hero-home) adds
   its own 40px padding-left, which was stacking with the 10px below to
   produce the ~50px gap Jesse measured instead of the intended 10px.
   Zero it out here so .hero .container's own padding-left (just below)
   is the only thing controlling the sidebar-to-carousel gap, on both
   desktop and mobile. */
#hero-home.primary {
  padding-left: 0;
  /* added by Claude, 2026-11-03 11:40 -- Round 6: everything added to
     the carousel since this hero was first built had left it feeling a
     bit cramped top-to-bottom, on both desktop and iPhone. 10px taller
     than global.css's .hero.primary min-height: 50vh; .hero's own
     align-items: center + justify-content: center (global.css) already
     centers the row within that height, so this alone opens up a
     little breathing room above and below the carousel. */
  min-height: calc(50vh + 10px);
}

/* added by Claude, 2026-11-01 -- Round 2: pin the row flush against
   .main's left edge (which already starts right at the nav sidebar's
   border) with exactly 20px of padding, so the carousel sits 20px from
   the sidebar and the text sits 10px to the right of the carousel (that
   second gap is the flex "gap" below, not padding). max-width/margin
   override Bootstrap's own centered .container sizing.
   -- updated by Claude, 2026-11-01 09:15, Round 3: 10px -> 20px. The
   real previous gap was ~50px (see the .hero.primary override above),
   not the intended 10px, so once that extra padding was removed Jesse
   asked for 20px instead of going back to 10px. */
.hero .container {
  position: relative;
  z-index: 3;
  /* Ensure content is on top of the overlay */
  color: var(--contrast-color);
  /* Optional: Ensure text is readable */
  display: flex;
  flex-wrap: wrap;
  /* Allow items to wrap on smaller screens */
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  text-align: left;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  padding-left: 20px;
}

/* removed by Claude, 2026-10-31 11:05 -- the static circular headshot was
   replaced by the "Through the Years" photo carousel (see
   assets/ThruTheYears/CLAUDE.md and assets/ThruTheYears/thru-the-years.css)
   -- NOTE: CSS comments don't nest, so the line comments this dead code
   used to contain were stripped out here on 2026-11-01; they were
   accidentally closing this very comment block early, leaving
   "max-width: 250px; text-align: center;" etc. as live, broken CSS.
.hero .headshot-container {
  flex: 0 0 auto;
  max-width: 250px;
  text-align: center;
}

.hero .headshot-container img {
  width: 100%;
  height: auto;
  border: 8px solid color-mix(in srgb, var(--default-color), transparent 85%);
  object-fit: cover;
  border-radius: 50%;
  border: 8px solid color-mix(in srgb, var(--contrast-color), transparent 85%);

}
*/

.hero .text-container {
  flex: 1;
  /* Allow the text to take up the remaining space */
  text-align: left;
}

.hero h2 {
  margin: 0;
  font-size: 48px;
  /* Adjust font size */
  font-weight: 700;
}

.hero p {
  margin: 10px 0 0 0;
  font-size: 20px;
  /* Adjust font size */
}

/* removed by Claude, 2026-10-28 09:14 -- was too broad, underlined every
   span in a hero <p>, including the new tagline device-variant spans
.hero p span {
  letter-spacing: 1px;
  border-bottom: 2px solid var(--accent-color);
}
*/
/* added by Claude, 2026-10-28 09:14 -- scoped to the typed.js word only */
.hero p span.typed {
  letter-spacing: 1px;
  border-bottom: 2px solid var(--accent-color);
}

.emphasize {
  color: var(--contrast-color);
  font-family: inherit;
  font-weight: lighter;
}
@media (max-width: 1200px) {
  .hero {
    flex-direction: column;
    /* Stack items vertically */
    text-align: center;
  }

  /* removed by Claude, 2026-10-31 11:05 -- see removal note above; the
     carousel's own mobile sizing lives in thru-the-years.css
     (line comment removed 2026-11-01: CSS comments don't nest, and it
     was closing this block early, same bug as the other removed
     .hero .headshot-container rule above)
  .hero .headshot-container {
    max-width: 150px;
    margin-bottom: 15px;
  }
  */
    /* removed by Claude, 2026-11-01 -- .hero .container no longer sets
       "left" (replaced by padding-left, see the Round 2 rule above), so
       there's nothing left to reset here
    .hero .container {
      left: 0px;
    }
    */
    /* added by Claude, 2026-11-01 -- on narrow screens, go back to a
       centered, stacked layout instead of the desktop flush-left one */
    .hero .container {
      justify-content: center;
      text-align: center;
      padding-left: 0;
      gap: 20px;
    }

  /* added by Claude, 2026-11-03 17:28 -- Round 7: .text-container's own
     text-align: left (set unconditionally in the base rule above) left
     the text flush against .container's left edge once it stacked under
     the carousel at narrower widths, e.g. Bootstrap's "md" breakpoint.
     margin-left (not padding) so this matches, rather than stacks with,
     the X-Small override just below, which wins at widths <= 576px. */
  .hero .text-container {
    margin-left: 10px;
  }

  .hero h2 {
    font-size: 28px;
    /* Adjust for smaller screens */
  }

  .hero p {
    font-size: 18px;
    /* Adjust for smaller screens */
  }
}

/* added by Claude, 2026-11-03 10:30 -- Round 4: on X-Small (phone)
   screens, .hero .container's own flex row (not yet column -- that only
   happens to .hero itself, above, at the 1200px breakpoint) can still
   have the carousel and .text-container on the same line before
   .text-container wraps. The shared "gap" above acts as both row-gap
   and column-gap, so it was adding its 10px to the right of the
   carousel -- throwing off centering -- instead of acting as a left
   offset on the text. Zero it here and give that 10px to
   .text-container directly instead, so the carousel can center on its
   own regardless of whether .text-container wraps onto its own line. */
@media (max-width: 576px) {
  .hero .container {
    gap: 0;
  }

  .hero .text-container {
    margin-left: 10px;
  }
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/

.about .content h2 {
  font-weight: 700;
  font-size: 24px;
}

/* removed by Claude, 2026-11-03 19:08 -- #mywork no longer uses
   .about-container/#about-text or .about-list/#about-roles (see the
   removal note in index.html); replaced by Jesse's own introduction
   content, styled under "# Introduction Section" below.
.about-container {
  padding-bottom: 10px;
}

.about-list {
  padding-left: 40px;
  font-size: smaller;
}
*/

.about .content ul {
  list-style: none;
  padding: 0;
}

.about .content ul li {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
}

.about .content ul strong {
  margin-right: 10px;
}

.about .content ul i {
  font-size: 16px;
  margin-right: 5px;
  color: var(--accent-color);
  line-height: 0;
}

/* removed by Claude, 2026-11-03 19:08 -- #research-topics (and the
   .topic-tile chips renderResearch() used to build inside it) was only
   ever used inside #mywork, which no longer has a #research-topics div
   -- see the removal note in index.html.
   ------------------------------------------------------------
   # Topics Section
   ------------------------------------------------------------

#research-topics {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.topic-tile {
  background-color: color-mix(in srgb, var(--surface-color) 80%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent-color) 100%, transparent);
  color: var(--accent-color);
  border-radius: 8px;
  padding: 4pt;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  line-height: 1.1;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

Optional hover polish
.topic-tile:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px color-mix(in srgb, var(--default-color), transparent 90%);
}
*/

/*--------------------------------------------------------------
# Introduction Section (#mywork)
added by Claude, 2026-11-03 19:08 -- styling for the hand-written intro
in index.html, adapted from Jesse's assets/data/introduction.html.
font-family changed from introduction.html's own Verdana stack to
var(--default-font), matching every other paragraph/list/link on the
page (see global.css's body/p/a/li/span rules) -- Jesse said this was
fine to change. font-size and all spacing/margins otherwise unchanged
from introduction.html. No .about-container/.about-list wrapper classes
needed since there's no "roles" list anymore; left/right spacing still
comes from the surrounding .content-container + .section rules in
global.css, untouched here.
--------------------------------------------------------------*/

#jmh-about-me {
  font-family: var(--default-font);
  font-size: var(--bs-body-font-size); /* updated by Claude, 2026-11-22 10:10,
                                           Tasks/Tasks_2026-11-22.md Pass #1:
                                           was 10pt -- Jesse wanted this to
                                           match publications.html's #mainbody,
                                           which never overrides this Bootstrap
                                           default (1rem). */
}

#jmh-about-me p {
  margin-top: 10px;
  margin-bottom: 0;
}

#jmh-about-me p:first-child {
  margin-top: 0; /* added by Claude, 2026-11-03 19:15 */
}

#jmh-about-me blockquote {
  margin-bottom: 0;
  margin-top: 10px;
  margin-left: 3em; /* added by Claude, 2026-11-03 19:13 */
  font-style: italic;
}

#jmh-about-me blockquote span {
  margin-left: 1.5em;
}

#jmh-about-me #contactinfo {
  /* removed by Claude, 2026-11-03 19:13 -- Jesse asked for the last
     line's margin-bottom to be 0
  margin-bottom: 30px;
  */
  margin-bottom: 0; /* added by Claude, 2026-11-03 19:13 */
  margin-top: 10px;
  /* removed by Claude, 2026-11-14 16:08 -- Tasks_2026-11-14.md Pass #4:
     this bolded the whole paragraph; Jesse only wanted the email address
     itself bold, see #jmh-about-me #contactinfo a below
  font-weight: bold;
  */
}

/* added by Claude, 2026-11-14 16:08 -- Tasks_2026-11-14.md Pass #4: only
   the email address link is bold, not the surrounding sentence */
#jmh-about-me #contactinfo a {
  font-weight: bold;
}

/*--------------------------------------------------------------
# PROJECTS Section
--------------------------------------------------------------*/

.projects .container-tiles-featured {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  grid-auto-rows: minmax(100px, auto);
  padding-bottom: 10px;

}

.projects .container-tiles-other {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  grid-auto-rows: minmax(100px, auto);
  padding-bottom: 10px;

}

.project-tile {
  background-color: var(--surface-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  border-radius: 8px;
  padding: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  align-content: start;
}

.project-tile:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px color-mix(in srgb, var(--default-color), transparent 90%);
}

.project-tile .icon {
  color: var(--accent-color);
  font-size: 2rem;
  margin-right: 15px;
}

.project-tile .title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.project-tile .description {
  font-size: .7rem;
  line-height: 1.15;
  text-align: left;
  font-weight: 150px;
  color: color-mix(in srgb, var(--default-color), transparent 35%);
  padding-bottom: 10px;
}

.project-tile .role,
.project-tile .principles {
  font-size: 0.8rem;
  font-weight: 200px;
  color: var(--default-color);
  text-align: right;
  margin: 0;
  padding: 0;
}

.project-tile .tile-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.project-tile .tile-header .icon {
  color: var(--accent-color);
  font-size: 2rem;
  flex-shrink: 0;
}

.project-tile .tile-header .tile-link-container {
  flex-shrink: 0;
}

.project-tile .tile-header .tile-link-container a {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--accent-color);
  text-decoration: none;
  border: 1px solid var(--accent-color);
  padding: 5px 10px;
  border-radius: 4px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.project-tile .tile-header .tile-link-container a:hover {
  background-color: var(--accent-color);
  color: var(--contrast-color);
}

/*--------------------------------------------------------------
# Technologies Section
--------------------------------------------------------------*/

.technologies .container-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  grid-auto-rows: minmax(100px, auto);
}

.technologies .technologies-content {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  height: 300px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  border-radius: 8px;
  padding: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.technologies .technologies-content:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px color-mix(in srgb, var(--default-color), transparent 90%);
}

.technologies .tile-header h4 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
}

.technologies .tile-header p {
  margin: 5px 0 10px;
  font-size: 0.6rem;
  text-align: center;
  color: var(--nav-color);
}

.technologies .tile-footer {
  text-align: center;
  width: 100%;
}

.technologies .tile-footer .tile-link {
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--accent-color);
  border: 1px solid var(--accent-color);
  padding: 5px 10px;
  border-radius: 4px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.technologies .tile-footer .tile-link:hover {
  background-color: var(--accent-color);
  color: var(--contrast-color);
}

/* Responsive adjustments for smaller screens */
@media (max-width: 750px) {
  .technologies .isotope-container {
    grid-template-columns: 1fr;
    /* One tile per row on smaller screens */
  }

  .technologies .technologies-content {
    height: auto;
    padding: 15px;
  }
}

.custom-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  background-color: var(--surface-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.custom-tile:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px color-mix(in srgb, var(--default-color), transparent 90%);
}

.tile-header h4 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
  text-align: center;
}

.tile-header p {
  margin: 5px 0 10px;
  font-size: 0.9rem;
  text-align: center;
  color: var(--nav-color);
}

.tile-body {
  margin: 10px 0;
}

.tile-icon {
  color: var(--accent-color);
}

.tile-footer .tile-link {
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--accent-color);
  border: 1px solid var(--accent-color);
  padding: 5px 10px;
  border-radius: 4px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.tile-footer .tile-link:hover {
  background-color: var(--accent-color);
  color: var(--contrast-color);
}

/*--------------------------------------------------------------
# Featured Publications Section
--------------------------------------------------------------*/

.pubs-list .tile-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  font-size: 0.5rem;
  font-weight: 500;
  color: var(--accent-color);
  border: 1px solid var(--accent-color);
  padding: 4px 8px;
  border-radius: 4px;
  transition: background-color 0.3s ease, color 0.3s ease;
  margin-left: 5px;
  white-space: nowrap;
}

.pubs-list .tile-link:hover {
  background-color: var(--accent-color);
  color: var(--contrast-color);
}

.pubs-list .tile-link i {
  font-size: 0.6rem;
}
.pubs-list p {
  margin: 0;
  padding-left: 20px;
  text-indent: -20px;
  font-size: smaller;
  line-height: 1.5;
  position: relative;
}

.pubs-list p a {
  display: inline-block;
  margin-left: 10px;
  text-indent: 0;
  vertical-align: middle;
}

/*--------------------------------------------------------------
# Activities and Projects Section (#activities)
added by Claude, 2026-11-27 -- Tasks/Tasks_2026-11-27.md Pass #1: a grid
of clickable Bootstrap cards (one per activity/project), each linking
out to another site in a new tab. Images vary in native size, so
.activity-card-img normalizes every image to a 100px height (per
Jesse's spec) while leaving width free to vary with aspect ratio;
object-fit: contain avoids cropping or distorting any of them.
--------------------------------------------------------------*/
.activity-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  border: none;
  background-color: transparent;
  text-decoration: none;
  color: var(--color-text);
  transition: transform 0.2s ease;
}

.activity-card:hover {
  transform: translateY(-4px);
  color: var(--bright-accent);
}

.activity-card-img {
  height: 100px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  border-radius: 8px; /* per Jesse's spec, Tasks_2026-11-27.md Pass #1 */
  box-shadow: 3px 3px 5px 1px rgba(0, 0, 0, 0.75); /* per Jesse's spec */
}

/* added by Claude, 2026-11-27 -- Tasks/Tasks_2026-11-27.md Pass #3: a few
   logos read as cramped right up against the edges of their 100px-tall
   box, so JMH asked for a little breathing room on those three. Bootstrap's
   global box-sizing: border-box (see bootstrap.min.css reboot) means this
   padding eats into the image's own content area rather than growing the
   box past 100px tall, so "overall card height stays 100px" falls out for
   free -- no extra height math needed here. */
.activity-card-img--pad-7 {
  padding: 7px;
}

.activity-card-img--pad-5 {
  padding: 5px;
}

.activity-card .card-body {
  padding: 0.75rem 0.5rem 0;
  text-align: center;
}

.activity-card .card-title {
  margin-bottom: 0;
  font-size: 15px;
  font-weight: 500;
}

