/* Christoph Hans — Portfolio Site Styles */

/* === Reset & Base === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Colors — matching Squarespace site */
  --bg:        #0a0a0a;
  --bg-light:  #141414;
  --text:      #f0f0f0;
  --text-muted:#888888;
  --accent:    #e54530;

  /* Typography */
  --font-body: 'Nunito Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing */
  --max-width: 1100px;
  --gutter:    24px;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: opacity 0.2s;
}
a:hover { opacity: 0.75; }

img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* === Header === */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px var(--gutter);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.site-logo {
  font-family: var(--font-body);
  font-size: 1.26rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text);
}

.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
  list-style: none;
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text);
}

.nav-links a:hover { opacity: 0.75; }

/* Instagram logo in nav */
.insta-logo {
  height: 21.6px;
  width: auto;
  vertical-align: middle;
  filter: brightness(0) invert(1);
}

/* Hamburger menu (mobile) */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text);
  margin: 5px 0;
  transition: 0.3s;
}

/* === Main Content === */
main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 100px var(--gutter) 80px;
}

/* === Home Page — Project Grid === */
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 24px;
}

.project-card {
  text-align: left;
}

.project-card .thumb {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 2px;
  margin-bottom: 14px;
}

.project-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.project-card:hover .thumb img {
  transform: scale(1.04);
  opacity: 0.85;
}

.project-card .title {
  display: block;
  font-family: var(--font-body);
  font-size: 1.026rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
  text-align: center;
}

/* === About Page === */
.about-header {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 400;
  margin-bottom: 32px;
  line-height: 1.3;
}

.about-portrait {
  width: 100%;
  max-width: 500px;
  border-radius: 4px;
  margin-bottom: 40px;
}

.about-content {
  font-size: 1rem;
  line-height: 1.8;
  max-width: 680px;
}

.about-content p {
  margin-bottom: 20px;
}

/* === Contact Page === */
.contact-heading {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 400;
  margin-bottom: 40px;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 40px;
}

.contact-link {
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
}

.contact-link::before {
  content: "☞";
  font-size: 1.2rem;
}

.contact-link.insta-link {
  display: inline-flex;
}

.contact-link.insta-link img {
  height: 22px;
  width: auto;
  vertical-align: middle;
  margin-right: 8px;
}

.contact-link.insta-link::before {
  display: none;
}

.imprint-btn {
  display: inline-block;
  padding: 12px 32px;
  border: 1px solid var(--text-muted);
  color: var(--text);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: border-color 0.2s, opacity 0.2s;
}

.imprint-btn:hover {
  border-color: var(--text);
  opacity: 0.75;
}

/* === Imprint Page === */
.imprint-heading {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 400;
  margin-bottom: 32px;
}

.imprint-section {
  margin-bottom: 28px;
}

.imprint-section h3 {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
  color: var(--text-muted);
}

.imprint-section p {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--text);
}

/* === Project Page === */
.project-images img {
  max-width: 100%;
  border-radius: 2px;
}

.project-cast p {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.project-production p {
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--text-muted);
}

/* Laurel/award images */
.project-lausel {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
}

.project-laurels {
  margin-bottom: 32px;
}

.project-laurels img {
  max-width: 280px;
  height: auto;
  display: inline-block;
  margin-right: 24px;
  margin-bottom: 24px;
  vertical-align: middle;
}

.project-title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 8px;
}

.project-meta {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  letter-spacing: 0.02em;
}

.project-synopsis {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 640px;
}

.project-credits {
  margin-bottom: 48px;
}

.project-credits h3 {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.credit-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 24px;
  margin-bottom: 14px;
}

.credit-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  min-width: 160px;
}

.credit-value {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.project-images {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 60px;
}

.project-images img {
  max-width: 100%;
  border-radius: 2px;
}

/* Prev/Next Nav */
.project-nav {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #222;
  padding-top: 24px;
  margin-bottom: 40px;
}

.project-nav a {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.project-nav a:hover { opacity: 0.75; }

/* === Footer === */
.site-footer {
  border-top: 1px solid #1a1a1a;
  padding: 24px var(--gutter);
  display: flex;
  justify-content: center;
  gap: 32px;
}

.site-footer a {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

/* === Responsive === */
@media (max-width: 768px) {
  .project-grid {
    grid-template-columns: 1fr;
    gap: 55px 16px;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 20px;
    left: auto;
    bottom: auto;
    width: max-content;
    min-width: 120px;
    max-width: calc(100vw - 40px);
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    background: rgba(10, 10, 10, 0.97);
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: 0;
    z-index: 999;
    padding: 8px 16px;
    border: 1px solid #262626;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    display: block;
    padding: 12px 0;
    font-size: 1rem;
    letter-spacing: 0.04em;
    text-align: center;
  }

  .nav-links a .insta-logo { margin: 0 auto; }

  .menu-toggle {
    display: block;
    z-index: 1000;
  }

  .site-header {
    padding: 16px 20px;
  }

  main {
    padding: 80px 20px 60px;
  }

  .project-title {
    font-size: 1.7rem;
  }

  .credit-row {
    flex-direction: column;
    gap: 2px;
  }

  .credit-label {
    min-width: auto;
    font-size: 0.8rem;
  }

  .credit-value {
    font-size: 0.85rem;
  }

  .project-nav {
    flex-direction: column-reverse;
    gap: 16px;
    align-items: stretch;
  }

  .project-nav .project-next { text-align: right; }
  .project-nav .project-previous { text-align: left; }
  .project-nav span:empty { display: none; }
}

@media (max-width: 480px) {
  .project-grid {
    grid-template-columns: 1fr;
  }
}


/* Editorial project layouts: overview columns and staggered stills. */
.project-overview { display: grid; grid-template-columns: repeat(2, minmax(280px, 1fr)); column-gap: 0; row-gap: 8px; align-items: start; margin: 28px 0 56px; }
.project-title { text-align: center; }
.project-overview .project-meta { grid-column: 1 / -1; margin-bottom: 12px; text-align: center; }
.project-overview .project-video { grid-column: 1 / -1; justify-self: center; width: min(66.666%, 720px); aspect-ratio: 16 / 9; margin: 0 0 36px; }
.project-overview--nakam .project-video { width: 100%; }
.project-overview .project-video iframe { display: block; width: 100%; height: 100%; border: 0; }
.project-overview .project-video.has-hint { margin-bottom: 0; }
.project-overview .video-hint { grid-column: 1 / -1; margin: 0 0 36px; color: var(--text-muted); font-size: .9rem; line-height: 1.4; }
.project-overview .project-synopsis { grid-column: 1; max-width: none; margin: 0; padding-right: clamp(20px, 3vw, 36px); }
.project-overview .project-credits { grid-column: 2; margin: 0; padding-left: clamp(20px, 3vw, 36px); border-left: 1px solid #2b2b2b; }
.project-overview .project-credits h3 { margin: 0 0 18px; }
.project-overview .project-credits p { font-size: .9rem; line-height: 1.65; color: var(--text-muted); margin: 0 0 12px; }
.project-overview .project-credits strong { color: var(--text); font-weight: 600; }
.project-images { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 2.8vw, 32px); align-items: start; }
.project-images img { width: 100%; max-width: none; height: auto; }
.project-images img:first-child, .project-images img:last-child:nth-child(even) { grid-column: 1 / -1; }
@media (max-width: 768px) {
  .project-overview { grid-template-columns: minmax(0, 1fr); gap: 20px; margin: 20px 0 40px; }
  .project-overview .project-meta, .project-overview .project-synopsis, .project-overview .project-credits { grid-column: 1; }
  .project-overview .project-synopsis { padding-right: 0; }
  .project-overview .project-video { width: 100%; }
  .project-overview .project-credits { border-left: 0; padding-left: 0; }
  .project-overview .project-video.has-hint { margin-bottom: -12px; }
}
@media (max-width: 768px) { .project-images { grid-template-columns: 1fr; } .project-images img:nth-child(n) { grid-column: 1; } }

.project-overview .project-lead-image { grid-column: 1 / -1; width: 100%; margin: 0 0 12px; }
.project-overview .project-lead-image img { display: block; width: 100%; max-width: none; height: auto; }
.project-overview--wolken-ueber-luetzerath .project-synopsis { margin-left: calc((min(1100px, 100vw) - 48px) / 6); }
.project-overview--das-rotohr .project-synopsis { margin-left: calc((min(1100px, 100vw) - 48px) / 6); }
.project-laurels--wide { display: flex; justify-content: center; }
.project-laurels--wide img { width: min(66.666%, 720px); max-width: none; margin-right: 0; }
.project-laurels--driving { display: flex; justify-content: center; align-items: center; flex-wrap: nowrap; gap: 12px; }
.project-laurels--driving img { width: calc((100% - 24px) / 3); max-width: 280px; margin: 0; }
.project-laurels--rotohr { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 24px; }
.project-laurels--rotohr img { max-width: 252px; margin: 0; }
.project-images--stacked { grid-template-columns: 1fr; }
.project-images--stacked img:nth-child(n) { grid-column: 1; width: 100%; }
@media (max-width: 768px) {
  .project-overview--wolken-ueber-luetzerath .project-synopsis { margin-left: 0; }
  .project-overview--das-rotohr .project-synopsis { margin-left: 0; }
}
.project-overview--it-takes-balls .video-hint { margin-left: calc((min(1100px, 100vw) - 48px) / 6); }
@media (max-width: 768px) { .project-overview--it-takes-balls .video-hint { margin-left: 0; } }
@media (max-width: 768px) { .project-laurels--yumi img { width: 100%; } }
.project-overview--elephant-in-the-room .project-lead-image { aspect-ratio: 2.287 / 1; overflow: hidden; }
.project-overview--elephant-in-the-room .project-lead-image img { height: 100%; object-fit: cover; object-position: center; }
.project-images--elephant { grid-template-columns: 1fr; }
.project-images--elephant .project-image-frame { grid-column: 1; width: 100%; aspect-ratio: 2.287 / 1; overflow: hidden; margin: 0; }
.project-images--elephant .project-image-frame img { display: block; width: 100%; max-width: none; height: 100%; object-fit: cover; object-position: center; }

/* About page: standard body copy with a larger portrait beside it. */
.about-page { padding-top: 100px; }
.about-page .about-header { text-align: center; font-size: 1.2rem; margin-bottom: 32px; }
.about-layout { display: grid; grid-template-columns: 272px minmax(0, 1fr); gap: clamp(32px, 4vw, 48px); width: min(900px, 100%); max-width: 100%; margin: 0 auto; align-items: start; }
.about-layout .about-portrait { width: 272px; max-width: 100%; height: auto; margin: 0; }
.about-layout .about-content { width: auto; max-width: none; font-size: 1rem; line-height: 1.7; }
.about-layout .about-content p { margin-bottom: 0; }
@media (max-width: 768px) {
  .about-page { padding-top: 80px; }
  .about-page .about-header { margin-bottom: 28px; }
  .about-layout { grid-template-columns: minmax(0, 1fr); max-width: 600px; gap: 24px; }
  .about-layout .about-portrait { margin: 0 auto; }
  .about-layout .about-content { width: 100%; font-size: 1rem; line-height: 1.7; }
}

/* Contact page icon row */
.contact-page .contact-content--icons { width: min(100%, 460px); margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
.contact-page .contact-title { margin: 0 0 20px; font-family: var(--font-heading); font-size: 1.8rem; font-weight: 400; line-height: 1.2; text-align: center; }
.contact-icon-row { display: flex; align-items: center; justify-content: space-between; width: min(390px, 100%); }
.contact-icon-link { display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; }
.contact-icon-image { display: block; width: 56px; height: 56px; object-fit: contain; }
.contact-hand { display: flex; align-items: center; justify-content: center; width: 72px; height: 56px; color: var(--text); font-family: "Apple Symbols", "Segoe UI Symbol", sans-serif; font-size: 54px; line-height: 1; user-select: none; }
.contact-hand--reverse { transform: scaleX(-1); }
.contact-imprint { margin-top: 56px; color: var(--text-muted); font-size: .9375rem; letter-spacing: .05em; text-transform: uppercase; }
@media (max-width: 480px) {
  .contact-icon-row { width: 100%; }
  .contact-icon-link, .contact-icon-image { width: 52px; height: 52px; }
  .contact-hand { width: 64px; font-size: 50px; }
}
