:root {
    --background: #0b0b0b;
    --surface: #151515;
    --text: #f4f1ea;
    --muted: #aaa59c;
    --line: rgba(255, 255, 255, 0.16);
    --light-background: #eeeae2;
    --dark-text: #111111;
    --page-padding: clamp(1.25rem, 4vw, 4.5rem);
  }
  
  * {
    box-sizing: border-box;
  }
  
  html {
    scroll-behavior: smooth;
  }
  
  body {
    margin: 0;
    background: var(--background);
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
  }
  
  a {
    color: inherit;
    text-decoration: none;
  }
  
  .site-header {
    position: absolute;
    z-index: 10;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem var(--page-padding);
  }
  
  .logo {
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }
  
  nav {
    display: flex;
    gap: clamp(1rem, 2.5vw, 2.5rem);
  }
  
  nav a {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.85rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }
  
  nav a:hover {
    color: #ffffff;
  }
  
  .hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: flex-end;
    padding: 8rem var(--page-padding) 5rem;
    overflow: hidden;
    
    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.88) 0%,
            rgba(0, 0, 0, 0.48) 45%,
            rgba(0, 0, 0, 0.18) 100%
        ),
        url("images/analogManMainStill.png") center center / cover no-repeat;
  }
  
  .hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.76), transparent 45%);
  }
  
  .hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
  }
  
  .eyebrow {
    margin: 0 0 1rem;
    color: var(--muted);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.17em;
    text-transform: uppercase;
  }
  
  h1,
  h2,
  h3,
  p {
    margin-top: 0;
  }
  
  h1 {
    margin-bottom: 1.5rem;
    font-size: clamp(4rem, 11vw, 10rem);
    line-height: 0.82;
    letter-spacing: -0.07em;
  }
  
  h2 {
    margin-bottom: 2.5rem;
    max-width: 900px;
    font-size: clamp(2.6rem, 6vw, 5.5rem);
    line-height: 0.96;
    letter-spacing: -0.055em;
  }
  
  h3 {
    margin-bottom: 0.75rem;
    font-size: clamp(1.5rem, 2vw, 2rem);
    line-height: 1.1;
  }
  
  .hero-copy {
    max-width: 630px;
    color: rgba(255, 255, 255, 0.8);
    font-size: clamp(1rem, 1.6vw, 1.3rem);
  }
  
  .hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
  }
  
  .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3rem;
    padding: 0.75rem 1.35rem;
    border: 1px solid transparent;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: 180ms ease;
  }
  
  .button-light {
    background: #ffffff;
    color: #111111;
  }
  
  .button-light:hover {
    background: #dedede;
  }
  
  .button-outline {
    border-color: rgba(255, 255, 255, 0.65);
    color: #ffffff;
  }
  
  .button-outline:hover {
    background: #ffffff;
    color: #111111;
  }
  
  .button-dark {
    background: #111111;
    color: #ffffff;
  }
  
  .button-dark:hover {
    background: #2b2b2b;
  }
  
  .section {
    padding: clamp(5rem, 10vw, 9rem) var(--page-padding);
  }
  
  .films-section {
    background: var(--background);
  }
  
  .section-heading {
    margin-bottom: 3rem;
  }
  
  .film-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1rem, 2.5vw, 2.2rem);
  }
  
  .film-card {
    border-top: 1px solid var(--line);
    padding-top: 1rem;
  }
  
  .film-image {
    aspect-ratio: 4 / 5;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    background: #222222;
    color: #888888;
    overflow: hidden;
  }
  
  .film-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    background: #111111;
  }
  
  .film-image-one {
    background: linear-gradient(145deg, #2c2c2c, #0a0a0a);
  }
  
  .film-image-two {
    background: linear-gradient(145deg, #403b36, #111111);
  }
  
  .film-image-three {
    background: linear-gradient(145deg, #1d252a, #090909);
  }
  
  .film-image span,
  .about-photo span {
    padding: 1rem;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-align: center;
    text-transform: uppercase;
    overflow: hidden;
  }
  
  .film-info p {
    color: var(--muted);
  }
  
  .film-year {
    margin-bottom: 0.5rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }
  
  .film-credit {
    font-size: 0.85rem;
  }
  
  .about-section {
    background: var(--light-background);
    color: var(--dark-text);
  }
  
  .about-section .eyebrow {
    color: #68635c;
  }
  
  .about-grid {
    display: grid;
    grid-template-columns: minmax(250px, 0.75fr) minmax(300px, 1.25fr);
    gap: clamp(2rem, 7vw, 7rem);
    align-items: start;
  }
  
  .about-photo {
    aspect-ratio: 4 / 5;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #d2ccc2;
    color: #746f67;
  }
  .about-photo img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
  }
  
  .about-copy {
    min-width: 0;
  }
  
  .about-copy {
    max-width: 680px;
    font-size: clamp(1.1rem, 2vw, 1.45rem);
  }
  
  .resume-section {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 2rem;
  }
  
  .resume-section h2 {
    margin-bottom: 0;
  }
  
  .contact-section {
    min-height: 65vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-top: 1px solid var(--line);
  }
  
  .contact-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem 3rem;
  }
  
  .contact-links a {
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    font-size: clamp(1rem, 2vw, 1.35rem);
  }
  
  .contact-links a:hover {
    border-color: #ffffff;
  }
  
  footer {
    padding: 2rem var(--page-padding);
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 0.8rem;
  }
  
  footer p {
    margin: 0;
  }
  
  @media (max-width: 850px) {
    .site-header {
      align-items: flex-start;
    }
  
    nav {
      gap: 0.8rem;
    }
  
    nav a {
      font-size: 0.68rem;
    }
  
    .film-grid {
      grid-template-columns: 1fr;
      gap: 4rem;
    }
  
    .about-grid {
      grid-template-columns: 1fr;
    }
  
    .about-photo {
      max-width: 500px;
    }
  
    .resume-section {
      align-items: flex-start;
      flex-direction: column;
    }
  }
  
  @media (max-width: 560px) {
    .site-header {
      position: absolute;
      flex-direction: column;
      gap: 1rem;
    }
  
    nav {
      flex-wrap: wrap;
    }
  
    .hero {
      padding-top: 10rem;
    }
  
    h1 {
      font-size: clamp(3.8rem, 19vw, 6rem);
    }
  }
  /* FINAL IMAGE AND LAYOUT FIXES */

.film-card,
.film-info,
.about-copy {
  min-width: 0;
}

.film-image {
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}

.film-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

/* About section */
.about-grid {
  display: grid;
  grid-template-columns: minmax(280px, 420px) minmax(0, 680px);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}

.about-photo {
  width: 100%;
  max-width: 420px;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}

.about-photo img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  display: block;
  object-fit: cover;
}

.about-copy {
  width: 100%;
  max-width: 680px;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  overflow-wrap: normal;
  word-break: normal;
}

/* Mobile */
@media (max-width: 850px) {
  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-photo {
    width: min(100%, 420px);
  }
}
/* CLICKABLE FILM POSTERS AND LINKS */

.film-poster-link {
  display: block;
}

.film-poster-link .film-image {
  transition:
    transform 200ms ease,
    opacity 200ms ease;
}

.film-poster-link:hover .film-image {
  transform: translateY(-5px);
  opacity: 0.88;
}

.film-link {
  display: inline-block;
  margin-top: 0.75rem;
  padding-bottom: 0.2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.6);
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.film-link:hover {
  border-bottom-color: #ffffff;
  opacity: 0.75;
}