:root {
  --bg: #ffffff;
  --text: #000000;
  --muted: #3d3d3d;
  --line: #000000;
  --max-width: 1560px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Montserrat", sans-serif;
  line-height: 1.5;
}

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

a,
button {
  font: inherit;
}

.site-shell {
  width: min(100% - 2.5rem, var(--max-width));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.topbar {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text);
  text-decoration: none;
}

.brand-logo {
  width: 38px;
  height: 38px;
}

.brand-text {
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.main-nav a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.main-nav a:hover,
.main-nav a:focus-visible,
.back-link:hover,
.back-link:focus-visible,
.contact-block a:hover,
.contact-block a:focus-visible {
  text-decoration: underline;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  background: #fff;
  padding: 2px;
}

.lang-switch button {
  min-width: 38px;
  min-height: 30px;
  border: 0;
  background: transparent;
  color: var(--text);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  cursor: pointer;
}

.lang-switch button.is-active {
  background: var(--text);
  color: #fff;
}

.masthead-section {
  padding: 1.4rem 0 0;
}

.masthead-label {
  margin: 0 0 0.9rem;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3,
.manifesto-serif,
.manifesto-italic {
  font-family: "Cormorant Garamond", serif;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 0.88;
  text-transform: uppercase;
}

.masthead-title {
  font-size: clamp(4.4rem, 10vw, 10.8rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 0.84;
}

.image-strip {
  margin-top: 1.2rem;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.image-strip-track {
  display: flex;
  width: max-content;
  animation: marquee 42s linear infinite;
}

.image-strip-item {
  flex: 0 0 clamp(220px, 18vw, 320px);
  aspect-ratio: 4 / 5;
  border-right: 1px solid var(--line);
}

.image-strip-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.manifesto-section {
  padding: 4rem 0 4.5rem;
  border-bottom: 1px solid var(--line);
}

.manifesto {
  margin: 0;
  max-width: 18ch;
  font-size: clamp(2.3rem, 5vw, 5rem);
  line-height: 0.95;
}

.manifesto-strong {
  font-weight: 800;
  text-transform: uppercase;
}

.manifesto-serif {
  font-weight: 500;
}

.manifesto-italic {
  font-style: italic;
}

.photographers-section,
.filmmakers-section,
.contact-section {
  padding: 4.5rem 0;
}

.section-heading {
  margin-bottom: 1.6rem;
}

.section-heading--center {
  text-align: center;
}

h2 {
  font-size: clamp(2.7rem, 6vw, 5.8rem);
}

.section-note {
  margin: 0.7rem 0 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.section-note--center {
  margin-inline: auto;
  max-width: 44rem;
}

.photographers-grid,
.filmmakers-grid {
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.photographers-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.photographer-card {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--text);
  text-decoration: none;
}

.photographer-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease;
}

.photographer-card:hover img,
.photographer-card:focus-visible img {
  transform: scale(1.04);
}

.photographer-card-name {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(78%, 320px);
  padding: 0.72rem 0.95rem;
  background: rgba(255, 255, 255, 0.94);
  color: var(--text);
  font-size: clamp(1rem, 2.1vw, 1.72rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.04;
  text-align: center;
  text-transform: uppercase;
}

.locations-section {
  padding: 0 0 4.5rem;
}

.locations-stack {
  display: grid;
}

.location-panel {
  position: relative;
  min-height: 72vh;
  overflow: hidden;
  border-top: 1px solid var(--line);
}

.location-panel:last-child {
  border-bottom: 1px solid var(--line);
}

.location-panel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.location-overlay {
  position: relative;
  z-index: 1;
  min-height: 72vh;
  display: flex;
  align-items: flex-end;
  padding: 2rem;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.34));
  color: #fff;
}

.location-overlay-copy {
  max-width: 900px;
}

.location-title {
  margin: 0 0 1rem;
  font-size: clamp(3.2rem, 7vw, 6rem);
  line-height: 0.88;
  text-transform: uppercase;
}

.location-services {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.location-services span {
  padding: 0.62rem 0.85rem;
  border: 1px solid #fff;
  background: rgba(0, 0, 0, 0.12);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.filmmakers-section {
  border-bottom: 1px solid var(--line);
}

.filmmakers-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.film-card {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  min-height: 540px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.film-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.film-card-copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.4rem;
}

.film-card h3 {
  margin-bottom: 0.8rem;
  font-size: clamp(2.1rem, 4vw, 3.5rem);
}

.film-card p {
  margin: 0;
  max-width: 26ch;
  color: var(--muted);
}

.contact-block {
  display: grid;
  gap: 0.9rem;
}

.contact-block p {
  margin: 0;
  max-width: 42ch;
}

.contact-block a {
  color: var(--text);
  font-weight: 700;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1rem 0 1.4rem;
}

.site-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.topbar--detail {
  min-height: 68px;
}

.detail-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.back-link {
  color: var(--text);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.detail-title-section {
  padding: 2rem 0 1rem;
  border-bottom: 1px solid var(--line);
}

.detail-title-section h1 {
  font-size: clamp(3.4rem, 8vw, 7rem);
}

.detail-gallery {
  display: grid;
  gap: 1.5rem;
  width: min(100% - 2.5rem, 1120px);
  margin: 0 auto;
  padding: 2rem 0 3rem;
}

.detail-shot {
  margin: 0;
  display: flex;
  justify-content: center;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}

.detail-shot img {
  width: auto;
  max-width: 100%;
  max-height: 68vh;
  height: auto;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .image-strip-track {
    animation: none;
  }

  .photographer-card img {
    transition: none;
  }
}

@media (max-width: 980px) {
  .photographers-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .filmmakers-grid,
  .film-card {
    grid-template-columns: 1fr;
  }

  .film-card {
    min-height: auto;
  }
}

@media (max-width: 720px) {
  .site-shell {
    width: min(100% - 1.5rem, var(--max-width));
  }

  .topbar,
  .topbar--detail {
    min-height: 64px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.7rem 0;
  }

  .main-nav,
  .detail-actions {
    width: 100%;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.7rem;
  }

  .main-nav a,
  .back-link {
    font-size: 0.74rem;
  }

  .masthead-title {
    font-size: clamp(3.6rem, 17vw, 6.8rem);
    line-height: 0.9;
  }

  .manifesto {
    max-width: none;
  }

  .photographers-grid {
    grid-template-columns: 1fr;
  }

  .location-panel,
  .location-overlay {
    min-height: 58vh;
  }

  .location-overlay {
    padding: 1.25rem;
  }

  .detail-gallery {
    width: min(100% - 1.5rem, 1120px);
    gap: 1rem;
    padding: 1.25rem 0 2rem;
  }

  .detail-shot {
    padding-bottom: 1rem;
  }

  .detail-shot img {
    max-height: 54vh;
  }
}
