:root {
  --bg: #080808;
  --bg-soft: #111111;
  --ink: #f5f2ea;
  --ink-dark: #111111;
  --muted: #a9a39a;
  --muted-dark: #5f5b55;
  --paper: #f4f0e7;
  --paper-soft: #ebe5d8;
  --line: rgba(245, 242, 234, 0.14);
  --line-dark: rgba(17, 17, 17, 0.13);
  --accent: #d8a84f;
  --accent-strong: #f0bd5b;
  --red: #d3422c;
  --blue: #2d6cdf;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 20px clamp(18px, 4vw, 56px);
  color: var(--ink);
  background: linear-gradient(180deg, rgba(8, 8, 8, 0.88), rgba(8, 8, 8, 0.58));
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: grid;
  gap: 0;
  font-weight: 800;
  line-height: 0.95;
  text-decoration: none;
}

.brand span:last-child {
  color: var(--muted);
  font-weight: 650;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 22px;
  color: rgba(245, 242, 234, 0.76);
  font-size: 0.95rem;
}

.nav a {
  text-decoration: none;
}

.nav a:hover,
.text-link:hover {
  color: var(--accent-strong);
}

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: end;
  overflow: hidden;
}

.hero-video,
.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-video {
  width: 100%;
  height: 100%;
  border: 0;
  transform: scale(1.18);
  pointer-events: none;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
}

.hero-shade {
  background:
    radial-gradient(circle at 80% 15%, rgba(216, 168, 79, 0.2), transparent 30%),
    linear-gradient(90deg, rgba(8, 8, 8, 0.92), rgba(8, 8, 8, 0.56) 58%, rgba(8, 8, 8, 0.38)),
    linear-gradient(0deg, rgba(8, 8, 8, 0.96), rgba(8, 8, 8, 0.08) 55%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto clamp(64px, 10vw, 118px);
}

.eyebrow,
.section-label,
.film-meta {
  margin: 0 0 14px;
  color: var(--accent-strong);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  max-width: 840px;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 0.98;
}

h1 {
  max-width: 10ch;
  margin-bottom: 24px;
  font-size: clamp(4.6rem, 12vw, 11.4rem);
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2.45rem, 5.4vw, 6rem);
}

h3 {
  margin-bottom: 10px;
  font-size: clamp(1.25rem, 1.8vw, 1.8rem);
  line-height: 1.1;
}

.hero-text {
  max-width: 690px;
  color: rgba(245, 242, 234, 0.8);
  font-size: clamp(1.06rem, 1.4vw, 1.28rem);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  text-decoration: none;
}

.button svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.button-primary {
  background: var(--ink);
  color: var(--ink-dark);
}

.button-ghost {
  border-color: rgba(245, 242, 234, 0.36);
  color: var(--ink);
}

.button-dark {
  width: fit-content;
  background: var(--ink-dark);
  color: var(--ink);
}

.button-light {
  border-color: rgba(245, 242, 234, 0.36);
  color: var(--ink);
}

.proof-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #0d0d0d;
}

.proof-band p {
  margin: 0;
  padding: 20px clamp(16px, 2vw, 32px);
  color: rgba(245, 242, 234, 0.72);
  border-right: 1px solid var(--line);
  font-size: 0.92rem;
}

.section {
  padding: clamp(76px, 10vw, 138px) clamp(18px, 5vw, 72px);
}

.section > *,
.section-heading,
.film-list,
.territory-grid {
  width: min(var(--max), 100%);
  margin-left: auto;
  margin-right: auto;
}

.intro,
.territories,
.contact,
.teaser-section {
  position: relative;
  overflow: hidden;
  background: var(--bg);
  color: var(--ink);
}

.intro::before,
.territories::before,
.contact::before,
.teaser-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  opacity: 0.34;
}

.intro::before {
  background-image: linear-gradient(rgba(8, 8, 8, 0.6), rgba(8, 8, 8, 0.88)), url("assets/portrait.jpg");
}

.teaser-section::before {
  background-image: linear-gradient(rgba(8, 8, 8, 0.68), rgba(8, 8, 8, 0.92)), url("assets/hero.jpg");
}

.territories::before {
  background-image: linear-gradient(rgba(8, 8, 8, 0.55), rgba(8, 8, 8, 0.86)), url("assets/pirogue.jpg");
}

.contact::before {
  background-image: linear-gradient(rgba(8, 8, 8, 0.62), rgba(8, 8, 8, 0.9)), url("assets/rainbow-arcoiris.jpg");
}

.intro,
.method,
.archives,
.contact {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(300px, 1.2fr);
  gap: clamp(34px, 7vw, 96px);
  align-items: start;
}

.intro > *,
.method > *,
.archives > *,
.contact > *,
.teaser-section > * {
  position: relative;
  z-index: 1;
  width: auto;
  margin-left: 0;
  margin-right: 0;
}

.intro p:last-child,
.contact-copy p,
.territory-copy p {
  color: rgba(245, 242, 234, 0.78);
  font-size: clamp(1.05rem, 1.4vw, 1.22rem);
}

.films-section,
.archives {
  background: var(--bg);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 34px;
}

.text-link {
  color: var(--accent-strong);
  font-weight: 800;
  text-decoration: none;
}

.film-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.film-card {
  min-height: 100%;
  background: #141414;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.film-card.featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
}

.cinema-player,
.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #050505;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.cinema-player iframe,
.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.film-content {
  padding: clamp(22px, 3vw, 38px);
}

.film-content p:not(.film-meta) {
  color: var(--muted);
}

.territories {
  border-top: 1px solid var(--line);
}

.territory-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: clamp(22px, 5vw, 64px);
  align-items: center;
}

.territory-grid img {
  width: 100%;
  min-height: 520px;
  object-fit: cover;
  border-radius: 8px;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.tag-list li {
  padding: 8px 12px;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  color: var(--muted-dark);
  font-size: 0.92rem;
}

.method {
  background: var(--bg-soft);
}

.steps {
  display: grid;
  gap: 14px;
}

.steps article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.steps span {
  display: block;
  margin-bottom: 24px;
  color: var(--accent-strong);
  font-weight: 850;
}

.steps p {
  margin-bottom: 0;
  color: var(--muted);
}

.archive-links {
  display: grid;
  gap: 14px;
}

.social-card {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 18px;
  align-items: center;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #141414;
  color: var(--muted);
  text-decoration: none;
}

.social-card svg {
  width: 46px;
  height: 46px;
  padding: 10px;
  border-radius: 50%;
  background: var(--ink);
  fill: var(--ink-dark);
}

.social-card strong {
  display: block;
  color: var(--ink);
  font-size: 1.08rem;
}

.social-card:hover {
  border-color: rgba(240, 189, 91, 0.45);
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 28px clamp(18px, 5vw, 72px);
  color: var(--muted);
  background: var(--bg);
  border-top: 1px solid var(--line);
}

.footer p {
  margin: 0;
}

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

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

@media (max-width: 740px) {
  .site-header,
  .footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    justify-content: flex-start;
  }

  h1 {
    font-size: clamp(3.7rem, 18vw, 6.2rem);
  }

  .proof-band,
  .intro,
  .method,
  .archives,
  .contact,
  .film-list {
    grid-template-columns: 1fr;
  }

  .section-heading {
    display: block;
  }

  .territory-grid img {
    min-height: 300px;
  }

  .button {
    width: 100%;
  }
}
