/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f8f8f8;
  color: #222;
  line-height: 1.6;
}

/* LAYOUT */
.container {
  width: 90%;
  max-width: 900px;
  margin: 0 auto;
}
/* ABOUT LAYOUT */
.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.5fr);
  gap: 2rem;
  align-items: start;
}

.about-photo img {
  width: 100%;
  max-width: 340px;
  border-radius: 8px;
  display: block;
  margin: 0 auto;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
}

/* Stack on mobile */
@media (max-width: 768px) {
  .about-layout {
    grid-template-columns: 1fr;
  }

  .about-photo img {
    max-width: 260px;
  }
}

/* HEADER */
.header {
  background: #ffffff;
  padding: 1rem 0;
  border-bottom: 1px solid #e0e0e0;
}

.logo {
  font-size: 1.2rem;
  font-weight: bold;
}

.nav a {
  margin-left: 1rem;
  text-decoration: none;
  color: #222;
  font-size: 0.9rem;
}

.nav a:hover {
  text-decoration: underline;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.header, .site-header {
  position: sticky; /* or fixed / relative, whatever you’re using */
  top: 0;
  z-index: 100;      /* make sure it’s higher than the hero’s 0/1/2 */
}

/* HERO */
.hero {
  min-height: 100vh;  /* full screen height */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;

  color: white;

  /* Your background image */
  background-image: url("assets/hero-headshot.jpg");
  background-size: contain;    /* THIS shows the FULL image */
  background-position: center;
  background-repeat: no-repeat;
  background-color: black;    /* fills behind the image */
}

.hero-title {
  font-size: 2.2rem;   /* smaller so it fits on one line */
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.hero-text {
  font-size: 1.3rem;       /* slightly larger subtitle */
  font-weight: 600;        /* bold but not too bold */
  opacity: 0.95;
  margin-top: 0.8rem;
}


/* Ensure text sits ABOVE the overlay */
.hero .container {
  position: relative;
  z-index: 2;
}

/* SECTIONS */
.section {
  padding: 3rem 0;
}

.section.alt {
  background: #ffffff;
}

.section h2 {
  margin-bottom: 1rem;
  font-size: 1.4rem;
}

/* FOOTER */
.footer {
  background: #111;
  color: #eee;
  text-align: center;
  padding: 1.2rem 0;
  font-size: 0.9rem;
}
section p {
  margin-bottom: 1.2rem;
}

/* MEDIA SECTION */
/* MEDIA SECTION */

.video-block {
  margin-top: 1.5rem;
  margin-bottom: 2.5rem;
}

/* Shared video wrapper for ALL videos (main + clips) */
.video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 ratio */
  height: 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
  background: #000;
}

.video-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Grid of clips */
.media-clips {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

/* Each clip card */
.media-clips .clip {
  background: #f9f9f9;
  border-radius: 8px;
  border: 1px solid #e3e3e3;
  padding: 1rem;
  display: flex;
  flex-direction: column;
}

/* Titles of clips */
.media-clips .clip h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Make sure the video fills the rest of the card evenly */
.media-clips .clip .video-wrapper {
  flex: 1;
}

/* Resume poster layout */

.resume-container {
  max-width: 900px;      /* how wide the resume appears */
  margin: 0 auto;
  text-align: center;
}

.resume-image-wrapper {
  margin-top: 1.5rem;
}

.resume-image-wrapper img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
  /* no border, no shadow – just the resume itself */
}

.resume-download {
  margin-top: 0.75rem;
  font-size: 0.9rem;
}

.resume-download a {
  text-decoration: underline;
}

.contact-line {
  font-size: 1.1rem;
  margin-top: 1rem;
}

.contact-line a {
  color: inherit;
  text-decoration: underline;
}
