:root {
  --bg:#101011;
  --panel:#1a1a1b;
  --text:#f4f2ef;
  --muted:#a6a5a4;
  --line:rgba(255,255,255,.16);
  --accent:#d9c2a4;
}
* {box-sizing:border-box}
html {scroll-behavior:smooth}
body {
  margin:0;background:var(--bg);color:var(--text);
  font-family:Arial,Helvetica,sans-serif;
  -webkit-font-smoothing:antialiased;
  line-height:1.6;
}
body.locked {overflow:hidden}
a {color:inherit;text-decoration:none}
button,input,textarea {font:inherit}
button {cursor:pointer}
img {max-width:100%;display:block}
[hidden] {display:none!important}
.container {width:min(90%,1500px);margin:auto}
h1,h2,h3 {line-height:1.06;letter-spacing:-.055em}
h1,h2,h3,p {margin-top:0}
.eyebrow {
  font-size:10px;font-weight:700;
  letter-spacing:.22em;color:#c6c0b9;
  text-transform:uppercase;
}
.site-header {
  position:fixed;top:0;left:0;right:0;
  height:100px;padding:0 5%;
  display:flex;align-items:center;
  justify-content:space-between;
  z-index:100;background:transparent;
}
.brand img {
  height:45px;width:auto;
  max-width:190px;object-fit:contain;
}
.header-actions {display:flex;align-items:center;gap:30px}
.header-button {
  border:0;background:none;padding:12px 0;
  color:#fff;font-size:11px;letter-spacing:.16em;
  font-weight:700;
}
.header-button:hover {color:var(--accent)}
.page-hero {
  padding:200px 0 95px;
  min-height:500px;background:#1b1c1c;
}
.page-hero h1 {
  font-size:clamp(65px,10vw,160px);
  font-weight:700;margin:15px 0 30px;
  text-transform:uppercase;
}
.page-intro {
  font-size:clamp(16px,1.7vw,22px);
  max-width:600px;color:#c0c0c0;
}
.portfolio-section {padding-top:60px;padding-bottom:130px}
.category-filters {
  display:flex;flex-wrap:wrap;
  align-items:center;gap:8px 27px;
  padding-bottom:30px;
  border-bottom:1px solid var(--line);
}
.category-filters a {
  color:var(--muted);font-size:10px;
  letter-spacing:.12em;font-weight:700;
}
.category-filters a:hover,
.category-filters a.selected {color:#fff}
.portfolio-toolbar {
  display:flex;align-items:center;
  justify-content:space-between;
  padding:30px 0 38px;gap:30px;
  font-size:11px;letter-spacing:.1em;
  color:var(--muted);
}
.portfolio-toolbar input {
  border:0;border-bottom:1px solid var(--line);
  outline:0;background:transparent;
  padding:12px 4px;color:#fff;
  width:min(220px,45%);
  font-size:11px;letter-spacing:.08em;
}
.film-grid {
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
  column-gap:28px;row-gap:65px;
}
.film-card {display:block;min-width:0}
.film-card-image {
  position:relative;overflow:hidden;
  aspect-ratio:16/10;background:#252525;
}
.film-card-image img {
  width:100%;height:100%;object-fit:cover;
  transition:transform .6s ease,opacity .6s ease;
}
.film-card:hover .film-card-image img {
  transform:scale(1.045);opacity:.75;
}
.film-card-action {
  position:absolute;bottom:20px;right:22px;
  font-size:11px;font-weight:700;letter-spacing:.1em;
  opacity:0;transform:translateY(8px);
  transition:opacity .3s,transform .3s;
}
.film-card:hover .film-card-action {
  opacity:1;transform:none;
}
.film-card-caption {
  display:flex;justify-content:space-between;
  align-items:baseline;gap:20px;
  padding-top:18px;
}
.film-card-caption :is(h2,h3) {
  margin:0;font-size:17px;font-weight:600;
}
.film-card-caption span {
  max-width:45%;text-align:right;
  font-size:11px;color:var(--muted);
}
#noResults {padding:30px 0;color:var(--muted)}
.film-heading {padding-top:175px;padding-bottom:55px}
.back-link {
  display:inline-block;color:var(--muted);
  font-size:11px;letter-spacing:.15em;
  margin-bottom:65px;
}
.back-link:hover {color:#fff}
.film-heading-main {
  display:flex;align-items:end;
  justify-content:space-between;gap:40px;
}
.film-heading h1 {
  font-size:clamp(44px,6.5vw,100px);
  line-height:1.04;
  max-width:1100px;margin:18px 0 0;
}
.film-locations {display:flex;gap:6px;flex-wrap:wrap}
.film-locations span {
  border:1px solid var(--line);padding:6px 10px;
  font-size:11px;color:var(--muted);
}
.film-player {padding-bottom:75px}
.video-stage {
  position:relative;aspect-ratio:16/9;
  width:100%;overflow:hidden;background:#000;
}
.video-stage>img {
  width:100%;height:100%;object-fit:cover;
}
.video-stage>iframe {
  width:100%;height:100%;border:0;display:block;
}
.play-button {
  position:absolute;left:50%;top:50%;
  transform:translate(-50%,-50%);
  width:92px;height:92px;border:1px solid white;
  border-radius:50%;background:#0006;
  color:#fff;font-size:24px;
  backdrop-filter:blur(5px);
  transition:background .3s,transform .3s;
}
.play-button:hover {
  background:#fff3;
  transform:translate(-50%,-50%) scale(1.07);
}
.video-episodes {display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}
.episode-button {
  display:flex;align-items:center;gap:12px;
  background:#222;border:1px solid var(--line);
  color:#fff;padding:13px 18px;font-size:11px;
  letter-spacing:.1em;
}
.episode-button span {color:var(--muted)}
.episode-button:hover {background:#343434}
.film-info {
  display:grid;grid-template-columns:1.5fr 1fr;
  gap:10%;padding-top:65px;padding-bottom:125px;
  border-top:1px solid var(--line);
}
.film-description {
  font-size:16px;line-height:1.9;color:#c9c8c6;
}
.film-description p {margin:0 0 25px}
.film-description .eyebrow {margin-bottom:35px}
.film-credits dl {margin:30px 0 0}
.credit {
  display:grid;grid-template-columns:110px 1fr;
  gap:10px;border-bottom:1px solid var(--line);
  padding:12px 0;font-size:12px;
}
.credit dt {color:var(--muted)}
.credit dd {margin:0}
.gallery-section {
  padding:110px 0;
  background:#171718;
}
.section-heading {margin-bottom:40px}
.section-heading h2 {
  font-size:clamp(40px,6vw,85px);margin:15px 0 0;
}
.gallery-grid {
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
}
.gallery-item {
  border:0;padding:0;display:block;
  background:#252525;aspect-ratio:16/10;
  overflow:hidden;
}
.gallery-item img {
  width:100%;height:100%;object-fit:cover;
  transition:transform .4s ease;
}
.gallery-item:hover img {transform:scale(1.05)}
.related-section {padding-top:120px;padding-bottom:150px}
.about-copy {padding:90px 0 130px}
.about-copy p {font-size:clamp(20px,3vw,36px);max-width:980px}
.text-link {
  display:inline-block;border-bottom:1px solid #fff;
  padding-bottom:8px;font-size:12px;
}
dialog {
  border:1px solid #444;border-radius:0;
  background:#181818;color:#fff;
  max-width:95vw;
}
dialog::backdrop {background:#000d}
.contact-dialog {
  width:min(560px,95vw);padding:40px;
  max-height:92vh;overflow:auto;
}
.contact-dialog h2 {
  font-size:50px;margin:0 0 25px;
}
.contact-dialog form {display:grid;gap:17px}
.contact-dialog label {
  font-size:11px;color:var(--muted);
  letter-spacing:.1em;
}
.contact-dialog input,
.contact-dialog textarea {
  display:block;width:100%;margin-top:6px;
  padding:12px;background:#242424;
  border:1px solid #444;color:#fff;
  outline:0;
}
.contact-dialog textarea {min-height:130px;resize:vertical}
.contact-dialog input:focus,
.contact-dialog textarea:focus {border-color:#fff}
.submit-button {
  border:0;padding:16px;background:#fff;color:#111;
  font-size:11px;font-weight:700;letter-spacing:.1em;
}
.submit-button:disabled {opacity:.5}
.dialog-close {
  position:absolute;right:15px;top:8px;
  font-size:30px;color:#fff;border:0;
  background:none;z-index:2;
}
.trap {position:absolute;left:-10000px}
#formStatus {min-height:20px;font-size:13px}
.photo-dialog {
  width:min(1450px,96vw);height:92vh;
  padding:30px;background:#080808;
  text-align:center;
}
.photo-dialog img {
  width:100%;height:100%;object-fit:contain;
}
.photo-arrow {
  position:absolute;top:50%;transform:translateY(-50%);
  width:50px;height:60px;border:0;
  background:#000a;color:#fff;font-size:38px;
}
.photo-arrow.prev {left:5px}
.photo-arrow.next {right:5px}
@media(max-width:800px) {
  .site-header {height:75px}
  .brand img {height:35px}
  .header-actions {gap:18px}
  .dropdown {top:65px}
  .page-hero {min-height:370px;padding:145px 0 70px}
  .page-hero h1 {font-size:clamp(53px,11vw,90px)}
  .film-grid {grid-template-columns:1fr;row-gap:40px}
  .film-heading {padding-top:140px}
  .film-heading-main {display:block}
  .film-locations {margin-top:28px}
  .film-info {grid-template-columns:1fr;gap:55px}
  .gallery-grid {grid-template-columns:repeat(2,1fr);gap:7px}
  .footer-top {padding-top:85px;padding-bottom:100px}
  .footer-top h2 {font-size:clamp(45px,10vw,85px)}
  .footer-bottom,.footer-legal {
    flex-direction:column;align-items:flex-start;gap:26px;
  }
  .contact-dialog {padding:30px 22px}
}
@media(prefers-reduced-motion:reduce) {
  *,*::before,*::after {
    scroll-behavior:auto!important;
    transition:none!important;
  }
}

/* Photo lightbox — fullscreen, frameless */

.photo-dialog {
  position: fixed;
  inset: 0;
  margin: 0;
  width: 100vw;
  height: 100dvh;
  max-width: none;
  max-height: none;
  padding: 35px 55px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: hidden;
}

.photo-dialog[open] {
  display: flex;
  align-items: center;
  justify-content: center;
}

.photo-dialog::backdrop {
  background: rgba(0, 0, 0, .91);
}

.photo-dialog img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border: 0;
  box-shadow: none;
}

.photo-dialog .dialog-close {
  z-index: 5;
  right: 20px;
  top: 15px;
}

.photo-dialog .photo-arrow {
  z-index: 4;
}

@media (max-width: 700px) {
  .photo-dialog {
    padding: 45px 18px;
  }
}

/* Preserve the native film aspect ratio */

.video-stage {
  aspect-ratio: var(--video-aspect, 16 / 9);
  height: auto;
  background: #000;
  overflow: hidden;
}

.video-stage > iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}



/* ==========================================
  45 SOUTH — COUNTRY LINKS & FLAGS
  ========================================== */
  
/* Country links on film pages */

.film-locations {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.film-locations .location-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  color: #ddd;
  font-size: 12px;
  text-decoration: none;
  transition: border-color .2s, color .2s;
}

.film-locations .location-link:hover {
  border-color: #fff;
  color: #fff;
}

/* Override the old .film-locations span style */

.film-locations .location-link span {
  padding: 0;
  border: 0;
  color: inherit;
}

.film-locations .location-link .flag {
  font-size: 21px;
  line-height: 1;
}

/* Country landing pages */

.country-heading {
  display: flex;
  align-items: center;
  gap: 28px;
}

.country-heading h1 {
  margin: 0;
}

.country-flag {
  font-size: clamp(45px, 7vw, 90px);
  line-height: 1;
}

@media (max-width: 700px) {
  .country-heading {
    gap: 15px;
  }
}

/* Lightbox — photos at 80% of screen size */

.photo-dialog img {
  max-width: 80vw;
  max-height: 80dvh;
  width: auto;
  height: auto;
  object-fit: contain;
}


/* ==========================================
  45 SOUTH — FILM INTRO POSITION V2
  ========================================== */
  
.south-film-intro {
  position: relative;
  transform: translateY(65px);
}

.south-film-intro h1 {
  margin-bottom: 16px;
}

.south-film-intro .film-locations {
  margin-top: 14px;
  margin-bottom: 0;
}

@media (max-width: 700px) {
  .south-film-intro {
    transform: translateY(28px);
  }
}


/* ==========================================
  45 SOUTH — LOCATION CHIPS V2
  ========================================== */
  
.film-locations {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
}

.film-locations .location-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  
  padding: 10px 17px;
  border-radius: 100px;
  
  background: rgba(55, 60, 67, .55);
  border: 1px solid rgba(255, 255, 255, .12);
  
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  
  color: #f0f0f0;
  font-size: 12px;
  text-decoration: none;
  
  box-shadow: 0 4px 18px rgba(0, 0, 0, .08);
  
  transition:
    transform .25s ease,
    background .25s ease,
    border-color .25s ease,
    box-shadow .25s ease;
}

.film-locations .location-link:hover {
  transform: translateY(-3px);
  background: rgba(95, 102, 113, .65);
  border-color: rgba(255, 255, 255, .3);
  box-shadow: 0 8px 22px rgba(0, 0, 0, .2);
}

.film-locations .location-link .flag {
  font-size: 22px;
  line-height: 1;
}

.film-locations .location-link span {
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
}

@media (prefers-reduced-motion: reduce) {
  .film-locations .location-link {
    transition: none;
  }
  
  .film-locations .location-link:hover {
    transform: none;
  }
}
