/* =========================================================
   GTA Films: values taken from the Figma file (1920 frame)
   ========================================================= */
:root {
  --gold: #EEB54E;
  --gold-hover: #f4c56d;
  --charcoal: #111517;
  --black: #101010;
  --white: #FFFFFF;
  --card-border: #FFFFFF;
  --field-bg: #1F1F1F;
  --field-placeholder: #929292;

  --font-serif: "Playfair Display", Georgia, serif;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* 100px side gutter at 1920, scales down to 16px on phones */
  --gutter: clamp(16px, 5.21vw, 100px);
  --max: 1920px;
  /* left edge of content, used by tracks that bleed off the right */
  --edge: calc(max((100vw - var(--max)) / 2, 0px) + var(--gutter));
  --section-y: clamp(64px, 5.21vw, 100px);
}

html { scroll-behavior: smooth; }
body {
  background: var(--charcoal);
  color: var(--white);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; }
a { color: inherit; }

.container-gta {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Typography ---------- */
.eyebrow {                                   /* "Sub Body" */
  font-weight: 500;
  font-size: clamp(14px, 1.05vw, 20px);
  line-height: 1.5;
  letter-spacing: .3em;
  text-transform: uppercase;
  margin-bottom: 30px;
}
.display-gta {                               /* H1 */
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(44px, 4.7vw, 90px);
  line-height: 1.1;
  margin: 0;
}
.h2-gta {                                    /* H2 */
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(36px, 3.125vw, 60px);
  line-height: 1.1;
  margin: 0;
}
.sub-head {                                  /* Sub Head */
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(20px, 1.25vw, 24px);
  line-height: 1.1;
  margin: 0;
}
.body-text {                                 /* Body */
  font-size: clamp(16px, .94vw, 18px);
  line-height: 1.4;
}
.card-kicker {                               /* "Sub Body 2" */
  font-weight: 500;
  font-size: clamp(16px, 1.05vw, 20px);
  line-height: 1.5;
  text-transform: uppercase;
  margin: 0;
}
/* Figma trims text boxes to cap height (an 18px line is a 13px box), and every
   gap in the design is measured between those trimmed boxes. text-box does the
   same in CSS, so the Figma gaps can be used as-is. */
.eyebrow, .display-gta, .h2-gta, .sub-head, .body-text, .card-kicker,
.navbar-dark .nav-link, .footer-col li {
  text-box: trim-both cap alphabetic;
}

/* ---------- Buttons ---------- */
.arrow { width: 31px; height: 12px; flex-shrink: 0; transition: transform .2s ease; }

.btn {
  /* Figma: 20px x 19px padding with the 1px stroke drawn inside */
  --bs-btn-padding-x: 18px;
  --bs-btn-padding-y: 19px;
  --bs-btn-border-radius: 12px;
  --bs-btn-font-weight: 500;
  --bs-btn-font-size: clamp(15px, .94vw, 18px);
  --bs-btn-line-height: 1.5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-transform: uppercase;
}
.btn:hover .arrow { transform: translateX(4px); }

.btn-gold {
  --bs-btn-color: var(--black);
  --bs-btn-bg: var(--gold);
  --bs-btn-border-color: var(--gold);
  --bs-btn-hover-color: var(--black);
  --bs-btn-hover-bg: var(--gold-hover);
  --bs-btn-hover-border-color: var(--gold-hover);
  --bs-btn-active-color: var(--black);
  --bs-btn-active-bg: var(--gold);
  --bs-btn-active-border-color: var(--gold);
  --bs-btn-focus-shadow-rgb: 238, 181, 78;
}
.btn-outline-light-gta {
  --bs-btn-color: var(--white);
  --bs-btn-border-color: var(--white);
  --bs-btn-hover-color: var(--black);
  --bs-btn-hover-bg: var(--white);
  --bs-btn-hover-border-color: var(--white);
  --bs-btn-active-color: var(--black);
  --bs-btn-active-bg: var(--white);
  min-width: 261px;
}
.btn-outline-gold {
  --bs-btn-color: var(--gold);
  --bs-btn-border-color: var(--gold);
  --bs-btn-hover-color: var(--black);
  --bs-btn-hover-bg: var(--gold);
  --bs-btn-hover-border-color: var(--gold);
  --bs-btn-active-color: var(--black);
  --bs-btn-active-bg: var(--gold);
  --bs-btn-active-border-color: var(--gold);
}
.btn-sm-gta {
  --bs-btn-padding-x: 14px;
  --bs-btn-padding-y: 14px;
  --bs-btn-font-size: 16px;
  align-self: flex-start;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  font-size: clamp(15px, .94vw, 18px);
  text-transform: uppercase;
  text-decoration: none;
  color: var(--white);
}
.link-arrow:hover { color: var(--gold); }
.link-arrow:hover .arrow { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 10;
  background: rgba(0, 0, 0, .2);
}
.site-header .navbar { min-height: 96px; padding-block: 8px; }
.site-header .container-gta { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.brand-logo { width: 73px; height: auto; display: block; }

.navbar-nav { gap: 24px; }
.navbar-dark .nav-link {
  --bs-nav-link-color: var(--white);
  --bs-nav-link-hover-color: var(--gold);
  font-size: 18px;
  padding: 0 !important;
}
.navbar-dark .nav-link.active { color: var(--gold); }
@media (min-width: 1200px) { .nav-cta { margin-left: 40px; } }
.navbar-toggler { border-color: rgba(255,255,255,.4); }

@media (max-width: 1199.98px) {
  .site-header { background: rgba(0, 0, 0, .55); backdrop-filter: blur(8px); }
  .navbar-collapse { padding: 20px 0 12px; }
  .navbar-nav { gap: 16px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  /* Figma frame is 1920x1048; keep that ratio, with a floor for small screens */
  min-height: clamp(640px, 54.6vw, 1048px);
  display: flex;
  align-items: center;
  padding-block: 140px 80px;
  background:
    linear-gradient(90deg, #000 -3.6%, rgba(0,0,0,0) 63.1%),
    var(--hero-img, url("../img/hero.jpg")) center / cover no-repeat;
}
@media (min-width: 1200px) {
  /* Figma: photo is 2100px wide (109.4%) and pinned to the left edge */
  .hero { padding-block: 0; background-size: auto, 109.4% auto; background-position: 0 0, 0% 50%; }
}
@media (max-width: 767.98px) {
  .hero {
    background:
      linear-gradient(90deg, rgba(0,0,0,.85) 0%, rgba(0,0,0,.45) 100%),
      var(--hero-img, url("../img/hero.jpg")) 70% center / cover no-repeat;
  }
}
.hero-content { max-width: 853px; }
.hero .display-gta { margin-bottom: 32px; }
.hero-lead { max-width: 853px; margin: 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 40px; }

/* ---------- Sections ---------- */
.section { padding-block: var(--section-y); }
.bg-charcoal { background: var(--charcoal); }
.section-head { margin-bottom: clamp(40px, 2.6vw, 50px); }
.inside .section-head { margin-bottom: clamp(40px, 4.1vw, 78px); }
.track-nav { margin-top: 50px; }
.work-nav { margin-top: 44px; }   /* card arrow box is 6px taller than Figma's 0-height line */

/* ---------- Horizontal tracks (carousels) ---------- */
.carousel-track {
  display: flex;
  gap: 40px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track > * { scroll-snap-align: start; flex: 0 0 auto; }
/* Mouse drag (main.js): grab cursor; no snapping or text selection mid-drag */
@media (hover: hover) and (pointer: fine) { .carousel-track:not(.fits) { cursor: grab; } }
.carousel-track.is-dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; user-select: none; }
.carousel-track.is-dragging a, .carousel-track img { -webkit-user-drag: none; }
.bleed-right { padding-inline: var(--edge); scroll-padding-inline: var(--edge); }

.carousel-nav { display: flex; gap: 36px; }
.carousel-nav[hidden] { display: none; }
.nav-circle {
  width: 66px; height: 66px;
  padding: 0; border: 0; border-radius: 50%;
  background: var(--white); color: var(--black);          /* can scroll this way */
  transition: transform .2s ease, background-color .2s ease, color .2s ease;
}
.nav-circle svg { width: 100%; height: 100%; display: block; }
.nav-circle:hover { transform: scale(1.06); }
.nav-circle:disabled { background: #252525; color: var(--white); cursor: default; transform: none; }   /* nothing more that way */

/* ---------- Latest Work ---------- */
.work-card {
  position: relative;   /* the arrow link stretches over the whole card */
  width: min(400px, 82vw);
  display: flex;
  flex-direction: column;
}
.work-media { margin-bottom: 24px; }
.work-card .card-kicker { margin-bottom: 24px; }
.work-card .sub-head { margin-bottom: 30px; }
.work-card .body-text { margin: 0 0 24px; letter-spacing: -.004em; }   /* browser Inter is a hair wider than Figma's; this restores Figma's line breaks */
.work-card > a:last-child { display: inline-flex; height: 12px; }
.work-media {
  aspect-ratio: 400 / 401;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}
.work-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.work-card:hover .work-media img { transform: scale(1.04); }
.work-card:hover .sub-head { color: var(--gold); }
/* On wide screens all four fit; spread them across the 1720px row */
@media (min-width: 1700px) {
  .work-track { justify-content: space-between; }
}

/* ---------- Director ---------- */
.director {
  display: grid;
  grid-template-columns: 1084fr 836fr;
  background: #1E1E1E;
  min-height: 726px;
}
/* About page: the "More than production" banner sits right above; keep a section gap between them */
.cta-tall + .director { margin-top: var(--section-y); }
/* The whole photo as a framed still over a lightly blurred, darkened copy of itself */
.director-media {
  position: relative; overflow: hidden; background: #141414;
  display: flex; align-items: center; justify-content: center; padding: clamp(32px, 3.5vw, 64px) 0;
}
.director-media::before { content: ""; position: absolute; inset: -16px; background: var(--dir-img) center 30% / cover no-repeat; filter: blur(6px) brightness(.5); }
/* A wide card: 75% of the column's width, cropped near-square from the top so the face stays in view */
.director-media img { position: relative; width: 75%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; object-position: 50% 15%; border-radius: 12px; display: block; box-shadow: 0 24px 60px rgba(0, 0, 0, .6); }
.director-body {
  align-self: center;
  /* Text box 693.6px instead of 693: browser Inter measures line 3 at 693.27px, and
     anything >= 694.04 pulls "founder" up onto line 2. This keeps Figma's line breaks. */
  padding: 60px calc(var(--gutter) - .6px) 60px clamp(24px, 2.25vw, 43px);
}
.director-body .body-text { margin: 30px 0 40px; }
/* About page: several bio paragraphs sit close together */
.director-body .body-text:has(+ .body-text) { margin-bottom: 16px; }
.director-body .body-text + .body-text { margin-top: 0; }
@media (max-width: 991.98px) {
  .director { grid-template-columns: 1fr; min-height: 0; }
  .director-media img { width: 86%; }
  .director-body { padding: 56px var(--gutter); }
}

/* ---------- Services ---------- */
.services {
  position: relative;
  background:
    linear-gradient(90deg, #000 -3.6%, rgba(0,0,0,0) 63.1%),
    linear-gradient(rgba(0,0,0,.5), rgba(0,0,0,.5)),
    url("../img/hero.jpg") center 60% / cover no-repeat;
  isolation: isolate;
}
@media (min-width: 1200px) {
  /* Figma: photo 2898px wide (150.9%), top at -444px */
  .services { background-size: auto, auto, 150.9% auto; background-position: 0 0, 0 0, 0% 52.9%; }
}
.services-intro .body-text { margin-top: 32px; }
.services::before {               /* Figma: backdrop blur 11.5px over the photo */
  content: "";
  position: absolute; inset: 0;
  backdrop-filter: blur(11.5px);
  -webkit-backdrop-filter: blur(11.5px);
  z-index: -1;
}
.services-intro { max-width: 547px; }
.service-card {
  width: min(400px, 82vw);
  min-height: 383px;
  background: var(--charcoal);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
  transition: border-color .2s ease, transform .2s ease;
}
.service-card:hover { border-color: var(--gold); transform: translateY(-4px); }
.service-icon { width: 91px; height: 91px; margin-bottom: 8px; }
.service-card:first-child .service-icon { width: 81px; height: 82px; }
.service-card .body-text { margin: 0; max-width: 308px; }

/* ---------- CTA ---------- */
.cta {
  min-height: 547px;
  display: flex;
  align-items: center;
  padding-block: 80px;
  background:
    linear-gradient(90deg, #000 -3.6%, rgba(0,0,0,0) 84%),
    url("../img/cta-skyline.jpg") center 62% / cover no-repeat;
}
@media (min-width: 1200px) {
  /* Figma: photo 2114px wide (110.1%), offset -38px / -270px */
  .cta:not(.cta-tall) { background-size: auto, 110.1% auto; background-position: 0 0, 19.5% 42%; }
}
.cta-content { max-width: 642px; }
.cta-content .body-text { margin: 30px 0 40px; }
.cta-content .sub-head + .body-text { margin-top: 24px; }

/* ---------- Inside GTA ---------- */
.inside {
  background:
    linear-gradient(180deg, rgba(238,181,78,0) 72.3%, rgba(238,181,78,.082) 100%),
    var(--charcoal);
}
.video-card {
  width: min(840px, 86vw);
  aspect-ratio: 840 / 472;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}
.video-card img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- Gallery ---------- */
.gallery-item {
  margin: 0;
  aspect-ratio: 546 / 667;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.gallery-item:hover img { transform: scale(1.04); }
@media (min-width: 1400px) { .gallery-grid { --bs-gutter-x: 40px; --bs-gutter-y: 40px; } }
.gallery-cta { margin-top: 50px; }

/* Three of the original Home images where Figma zooms the photo past a plain
   cover crop: exact layer size/offset as a % of the frame, so it holds at every
   width. Applied by class, so a replacement image uploaded in the CMS gets a
   normal cover crop instead. */
.has-fig { position: relative; }
/* Figma's crops of three seeded photos, as cover + focal point. (The old
   oversized absolute images lost to the cards' 100% width/height rules and
   left white gaps.) */
img.fig-work1 { object-fit: cover; object-position: 50% 35%; }
img.fig-gallery4, img.fig-video1 { object-fit: cover; object-position: 50% 50%; }

/* ---------- Contact ---------- */
.contact {
  position: relative;
  background:
    linear-gradient(rgba(0,0,0,.7), rgba(0,0,0,.7)),
    url("../img/contact-bg.jpg") center / cover no-repeat;
}
@media (min-width: 1200px) {
  /* Figma: photo 2269px wide (118.2%), offset -174px / -82px */
  .contact { background-size: auto, 118.2% auto; background-position: 0 0, 49.94% 65.78%; }
}
.contact-head { max-width: 838px; margin: 0 auto 50px; }
.contact-head .body-text { margin: 30px 0 0; }
.contact-card {
  max-width: 750px;
  margin: 0 auto;
  padding: clamp(32px, 4.1vw, 79px) clamp(20px, 1.8vw, 34px);
  background: #262626;   /* Figma: solid #262626 */
  border: 1px solid #666;
  border-radius: 20px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.gap-field { gap: 25px; }
.gx-field { --bs-gutter-x: 29px; --bs-gutter-y: 25px; }

.field { position: relative; display: block; }
.field-input,
.field-input:focus {
  background-color: var(--field-bg);
  color: var(--white);
}
.field-input {
  height: 60px;
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 0 52px 0 16px;
  font-size: clamp(16px, .94vw, 18px);
  backdrop-filter: blur(7px);
}
.field-input::placeholder { color: var(--field-placeholder); opacity: 1; }
.field-input:focus { border-color: var(--gold); box-shadow: 0 0 0 .2rem rgba(238,181,78,.2); }
.form-select.field-input { background-image: none; cursor: pointer; }
.form-select.field-input:invalid { color: var(--field-placeholder); }
/* optional selects (budget): grey until something is chosen, like the other empty fields */
.form-select.field-input:has(option[value=""]:checked) { color: var(--field-placeholder); }
.form-select.field-input option { color: #000; }
.field-textarea { height: 140px; padding-top: 16px; resize: vertical; }

.field-icon {
  position: absolute; right: 22px; top: 18px;
  width: 24px; height: 24px;
  pointer-events: none;
}
.field-icon-sm { width: 14px; height: 13px; top: 24px; }

.upload {
  height: 111px;
  background: var(--field-bg);
  border: 1px dashed transparent;
  border-radius: 10px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px;
  cursor: pointer;
  transition: border-color .2s ease;
}
.upload:hover, .upload:focus-within { border-color: var(--gold); }
.upload-text { color: var(--field-placeholder); font-size: clamp(16px, .94vw, 18px); text-align: center; padding-inline: 16px; }
.upload img { width: 24px; height: 24px; }

.was-validated .field-input:invalid { border-color: #e5484d; }
.was-validated .field-input:valid { border-color: transparent; }
.was-validated .field-input:valid,
.was-validated .field-input:invalid { background-image: none; padding-right: 52px; box-shadow: none; }
.upload.is-invalid { border: 1px solid #e5484d; }
.field-error { margin: 8px 0 0; color: #ff8a8d; font-size: 14px; line-height: 1.35; }
/* Spam trap: people never see or fill this; bots that fill every field do. */
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.submit-btn { margin-top: 50px; }
.submit-btn[disabled] { opacity: .7; }
.form-status { margin: 20px 0 0; font-size: 16px; }
.form-status.is-ok { color: var(--gold); }
.form-status.is-error { color: #ff8a8a; }

/* ---------- Footer ---------- */
.site-footer { background: var(--black); }
.footer-main { padding-block: 100px 111px; }
.footer-grid { display: flex; flex-direction: column; gap: 56px; }
@media (min-width: 992px) {
  /* Figma: 398px brand column, 511px gap at 1920 */
  .footer-grid { flex-direction: row; justify-content: space-between; gap: 40px; }
}
@media (min-width: 1920px) {
  /* Figma: 511px gap, columns run 7px past the 1720px content width */
  .footer-grid { justify-content: flex-start; gap: 511px; }
  .footer-cols { flex-wrap: nowrap; margin-right: -7px; }
  .footer-brand { flex: 0 1 398px; }
}
.footer-blurb { margin: 40px 0; max-width: 398px; }
.socials { display: flex; align-items: center; gap: 21px; flex-wrap: wrap; }
.socials a { display: inline-flex; transition: opacity .2s ease; }
.socials a:hover { opacity: .7; }
@media (pointer: coarse) {
  .socials a { padding: 9px; margin: -9px; }   /* ~42px tap area, icons stay where they are */
}
.socials img { display: block; }   /* intrinsic sizes match Figma */
.socials .imdb { width: 47.6px; height: 24px; }

.footer-cols { display: flex; flex-wrap: wrap; gap: 50px; }
.fc-links { width: 185px; }
.fc-support { width: 273px; }
.fc-contact { width: 260px; }
.footer-col ul { list-style: none; padding: 0; margin: 30px 0 0; display: flex; flex-direction: column; gap: 30px; font-size: clamp(16px, .94vw, 18px); line-height: 1.4; }
.footer-col a { text-decoration: none; }
.footer-col a:hover { color: var(--gold); }
.contact-list { gap: 30px !important; }
.contact-list a, .contact-list span { text-box: trim-both cap alphabetic; }
.contact-list li { display: flex; align-items: center; gap: 16px; }
.contact-list img { flex-shrink: 0; }
/* SVG exports include the 1.57px stroke; trim back to Figma's 20x20 / 20x16 layout boxes */
.site-footer .contact-list li:nth-child(-n+2) img { margin: -1px; }
.site-footer .contact-list li:nth-child(3) { align-items: flex-start; }   /* Figma: pin row is top-aligned */

.footer-bottom {
  border-top: 1px solid #393A3A;
  min-height: 78px;
  display: flex; align-items: center; justify-content: center;
  padding: 16px var(--gutter);
  text-align: center;
}

@media (max-width: 991.98px) {
  .footer-cols { gap: 40px; }
  .fc-links, .fc-support, .fc-contact { width: auto; min-width: 160px; }
  .footer-main { padding-block: 64px 48px; }
}

/* ---------- Small screens ---------- */
@media (max-width: 575.98px) {
  /* footer: Quick Links and Support side by side, Contact below */
  .footer-cols { gap: 36px 24px; }
  .fc-links, .fc-support { min-width: 0; flex: 1 1 0; }
  .fc-contact { min-width: 0; flex: 1 0 100%; }
  /* Home gallery: two photos per row */
  .gallery-grid { --bs-gutter-x: 12px; --bs-gutter-y: 12px; }
  .gallery-grid > [class*="col-"] { flex: 0 0 auto; width: 50%; }
  .gallery-item { border-radius: 10px; }
  .carousel-track { gap: 20px; }
  .btn-outline-light-gta { min-width: 0; }
  .hero .btn { flex: 1 1 auto; }
  .carousel-nav { gap: 20px; }
  .nav-circle { width: 52px; height: 52px; }
  .eyebrow { margin-bottom: 18px; letter-spacing: .2em; }
}

/* ---------- Tablet (576-1199): no Figma design here; keep the layout proportional ---------- */
@media (min-width: 768px) and (max-width: 1199.98px) {
  .hero-content { max-width: 62%; }              /* keeps the heading and copy clear of the camera */
  .hero-lead { max-width: none; }
  .services-intro { max-width: 60%; }
  .cta-content { max-width: 60%; }
}
@media (max-width: 1199.98px) {
  /* footer: brand on top, the three link columns in a row underneath */
  .footer-grid { flex-direction: column; gap: 48px; }
  .footer-brand { flex: none; }
  .footer-cols { flex-wrap: wrap; gap: 40px 64px; }
  .fc-links, .fc-support, .fc-contact { width: auto; }
  .footer-col li { white-space: nowrap; }
}
@media (min-width: 992px) and (max-width: 1199.98px) {
  .hero-content { max-width: 52%; }              /* heading breaks "Where Stories / Become Experiences" as in Figma */
}
/* "main" raises specificity over the base grid rules further down */
@media (min-width: 576px) and (max-width: 1199.98px) {
  main .process-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  main .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
}
@media (min-width: 1200px) {
  main .process-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 992px) {
  main .project-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 576px) and (max-width: 991.98px) {
  main .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 24px; }
}

/* =========================================================
   Desktop: scale the 1920 Figma frame proportionally
   ---------------------------------------------------------
   The Figma prototype ("scale-down-width") shrinks the whole
   frame to the window, so at 1440 everything is 75% size.
   From 1200px up, every Figma measurement N is written as
   N * --fx, where --fx is 1px at 1920 and scales with the
   viewport. Below 1200 the responsive rules above apply.
   ========================================================= */
@media (min-width: 1200px) {
  :root {
    --fx: calc(min(100vw, 1920px) / 1920);
    --gutter: calc(100 * var(--fx));
    --section-y: calc(100 * var(--fx));
    /* pure 1:1 scaling, like Figma's fit-width view (18px body text is 11.25px at 1200) */
    --fs-18: calc(18 * var(--fx));
    --fs-16: calc(16 * var(--fx));
  }

  /* Figma's section frames each start 1px above the previous one ends */
  main > section + section,
  main + .site-footer { margin-top: calc(-1 * var(--fx)); position: relative; }

  /* typography */
  .eyebrow { font-size: calc(20 * var(--fx)); margin-bottom: calc(30 * var(--fx)); }
  .display-gta { font-size: calc(90 * var(--fx)); }
  .h2-gta { font-size: calc(60 * var(--fx)); }
  .sub-head { font-size: calc(24 * var(--fx)); }
  .body-text { font-size: var(--fs-18); }
  .card-kicker { font-size: calc(20 * var(--fx)); }

  /* buttons + arrows */
  .arrow { width: calc(31 * var(--fx)); height: calc(12 * var(--fx)); }
  .btn {
    /* Figma draws the 1px stroke inside the 20/19 padding */
    --bs-btn-padding-x: calc(19 * var(--fx) - 1px);
    --bs-btn-padding-y: calc(20 * var(--fx) - 1px);
    --bs-btn-border-radius: calc(12 * var(--fx));
    --bs-btn-font-size: var(--fs-18);
    gap: calc(10 * var(--fx));
  }
  .btn-outline-light-gta { min-width: calc(261 * var(--fx)); }
  .btn-sm-gta {
    --bs-btn-padding-x: calc(15 * var(--fx) - 1px);
    --bs-btn-padding-y: calc(15 * var(--fx) - 1px);
    --bs-btn-font-size: var(--fs-16);
  }
  .link-arrow { font-size: var(--fs-18); gap: calc(10 * var(--fx)); }

  /* header */
  .site-header .navbar { min-height: calc(96 * var(--fx)); padding-block: 0; }
  .brand-logo { width: calc(73 * var(--fx)); }
  .navbar-nav { gap: calc(24 * var(--fx)); }
  .navbar-dark .nav-link { font-size: var(--fs-18); }
  .nav-cta { margin-left: calc(40 * var(--fx)); }

  /* hero */
  .hero { min-height: calc(1048 * var(--fx)); }
  .hero-content, .hero-lead { max-width: calc(853 * var(--fx)); }
  .hero .display-gta { margin-bottom: calc(32 * var(--fx)); }
  .hero-actions { gap: calc(24 * var(--fx)); margin-top: calc(40 * var(--fx)); }

  /* shared section bits */
  .section-head { margin-bottom: calc(50 * var(--fx)); }
  .inside .section-head { margin-bottom: calc(78 * var(--fx)); }
  .track-nav { margin-top: calc(50 * var(--fx)); }
  .work-nav { margin-top: calc(44 * var(--fx)); }
  .carousel-track { gap: calc(40 * var(--fx)); }
  .carousel-nav { gap: calc(36 * var(--fx)); }
  .nav-circle { width: calc(66 * var(--fx)); height: calc(66 * var(--fx)); }

  /* latest work */
  .work-card { width: calc(400 * var(--fx)); }
  .work-media { border-radius: calc(12 * var(--fx)); margin-bottom: calc(24 * var(--fx)); }
  .work-card .card-kicker { margin-bottom: calc(24 * var(--fx)); }
  .work-card .sub-head { margin-bottom: calc(30 * var(--fx)); }
  .work-card .body-text { margin-bottom: calc(24 * var(--fx)); }
  .work-card > a:last-child { height: calc(12 * var(--fx)); }

  /* director */
  .director { min-height: calc(726 * var(--fx)); }
  .director-body {
    padding: calc(60 * var(--fx)) calc(99.4 * var(--fx)) calc(60 * var(--fx)) calc(43 * var(--fx));
  }
  .director-body .body-text { margin: calc(30 * var(--fx)) 0 calc(40 * var(--fx)); }

  /* services */
  .services-intro { max-width: calc(547 * var(--fx)); }
  .services-intro .body-text { margin-top: calc(32 * var(--fx)); }
  .service-card {
    width: calc(400 * var(--fx));
    min-height: calc(383 * var(--fx));
    padding: calc(32 * var(--fx) - 1px);
    gap: calc(24 * var(--fx));
    border-radius: calc(12 * var(--fx));
  }
  .service-icon { width: calc(91 * var(--fx)); height: calc(91 * var(--fx)); margin-bottom: calc(8 * var(--fx)); }
  .service-card:first-child .service-icon { width: calc(81 * var(--fx)); height: calc(82 * var(--fx)); }
  .service-card .body-text { max-width: calc(308 * var(--fx)); }
  /* Figma places each card's content at its own offset rather than centring it */
  .service-track .service-card { justify-content: flex-start; }
  .service-track .service-card:nth-child(1) { padding-top: calc(48.5 * var(--fx) - 1px); }
  .service-track .service-card:nth-child(2),
  .service-track .service-card:nth-child(3),
  .service-track .service-card:nth-child(7) { padding-top: calc(56.5 * var(--fx) - 1px); }
  .service-track .service-card:nth-child(4),
  .service-track .service-card:nth-child(6) { padding-top: calc(43.5 * var(--fx) - 1px); }
  .service-track .service-card:nth-child(5) { padding-top: calc(44 * var(--fx) - 1px); }

  /* CTA banner */
  .cta { min-height: calc(547 * var(--fx)); padding-block: calc(80 * var(--fx)); }
  .cta-content { max-width: calc(642 * var(--fx)); }
  .cta-content .body-text { margin: calc(30 * var(--fx)) 0 calc(40 * var(--fx)); }

  /* inside GTA */
  .video-card { width: calc(840 * var(--fx)); border-radius: calc(12 * var(--fx)); }

  /* gallery */
  .gallery-grid { --bs-gutter-x: calc(40 * var(--fx)); --bs-gutter-y: calc(40 * var(--fx)); }
  .gallery-item { border-radius: calc(12 * var(--fx)); aspect-ratio: 1640 / 2001; }   /* 546.67 x 667 */
  .gallery-cta { margin-top: calc(50 * var(--fx)); }

  /* contact form */
  .section.contact { padding-block: calc(104 * var(--fx)) calc(106 * var(--fx)); }
  .contact-head { max-width: calc(838 * var(--fx)); margin-bottom: calc(50 * var(--fx)); }
  .contact-head .body-text { margin-top: calc(30 * var(--fx)); }
  .contact-card {
    max-width: calc(750 * var(--fx));
    padding: calc(79 * var(--fx) - 1px) calc(34 * var(--fx) - 1px);
    border-radius: calc(20 * var(--fx));
  }
  .gap-field { gap: calc(25 * var(--fx)); }
  .gx-field { --bs-gutter-x: calc(29 * var(--fx)); --bs-gutter-y: calc(25 * var(--fx)); }
  .field-input {
    height: calc(60 * var(--fx));
    border-radius: calc(10 * var(--fx));
    padding: 0 calc(52 * var(--fx)) 0 calc(16 * var(--fx));
    font-size: var(--fs-18);
  }
  .was-validated .field-input:valid,
  .was-validated .field-input:invalid { padding-right: calc(52 * var(--fx)); }
  .field-textarea { height: calc(140 * var(--fx)); padding-top: calc(16 * var(--fx)); }
  .field-icon { right: calc(22 * var(--fx)); top: calc(18 * var(--fx)); width: calc(24 * var(--fx)); height: calc(24 * var(--fx)); }
  .field-icon-sm { width: calc(14 * var(--fx)); height: calc(13 * var(--fx)); top: calc(24 * var(--fx)); }
  .upload { height: calc(111 * var(--fx)); gap: calc(16 * var(--fx)); border-radius: calc(10 * var(--fx)); }
  .upload-text { font-size: var(--fs-18); }
  .upload img { width: calc(24 * var(--fx)); height: calc(24 * var(--fx)); }
  .submit-btn { margin-top: calc(50 * var(--fx)); }

  /* footer: 398 brand column, 511 gap, 185/273/260 columns (they run 7px past the content edge in Figma) */
  .footer-main { padding-block: calc(100 * var(--fx)) calc(111 * var(--fx)); }
  .footer-grid { justify-content: space-between; gap: 40px; }   /* = Figma's 511 gap at full width */
  .footer-brand { flex: 0 0 calc(398 * var(--fx)); }
  .footer-blurb { margin: calc(40 * var(--fx)) 0; max-width: calc(398 * var(--fx)); }
  .socials { gap: calc(21 * var(--fx)); flex-wrap: nowrap; }
  .socials .s-facebook img { width: calc(11.46 * var(--fx)); height: calc(22.31 * var(--fx)); }
  .socials .s-instagram img { width: calc(22.61 * var(--fx)); height: calc(22.31 * var(--fx)); }
  .socials .s-whatsapp img { width: calc(22.91 * var(--fx)); height: calc(22.31 * var(--fx)); }
  .socials .s-linkedin img,
  .socials .s-youtube img { width: calc(24 * var(--fx)); height: calc(24 * var(--fx)); }
  .socials .s-x img { width: calc(18.53 * var(--fx)); height: calc(16.79 * var(--fx)); }
  .socials .imdb { width: calc(47.59 * var(--fx)); height: calc(24 * var(--fx)); }
  .footer-cols { flex-wrap: nowrap; gap: calc(50 * var(--fx)); margin-right: calc(-7 * var(--fx)); }
  .fc-links { width: auto; min-width: calc(185 * var(--fx)); }
  .fc-support { width: auto; min-width: calc(273 * var(--fx)); }
  .fc-contact { width: auto; min-width: calc(260 * var(--fx)); }
  .footer-col li { white-space: nowrap; }
  /* Readable floor (16px text, 20px headings) on smaller desktops; Figma's
     18/24px from ~1600px up. */
  .footer-col ul { margin-top: calc(30 * var(--fx)); gap: calc(30 * var(--fx)); font-size: max(16px, var(--fs-18)); }
  .site-footer .body-text { font-size: max(16px, var(--fs-18)); }
  .site-footer .sub-head { font-size: max(20px, calc(24 * var(--fx))); }
  .contact-list { gap: calc(30 * var(--fx)) !important; }
  .contact-list li { gap: calc(16 * var(--fx)); }
  .site-footer .contact-list li:nth-child(1) img { width: calc(22 * var(--fx)); height: calc(22 * var(--fx)); margin: calc(-1 * var(--fx)); }
  .site-footer .contact-list li:nth-child(2) img { width: calc(22 * var(--fx)); height: calc(18 * var(--fx)); margin: calc(-1 * var(--fx)); }
  .site-footer .contact-list li:nth-child(3) img { width: calc(18 * var(--fx)); height: calc(21 * var(--fx)); }
  .footer-bottom { min-height: calc(78 * var(--fx)); padding-block: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html, .carousel-track { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* =========================================================
   Inner pages (no Figma designs; built from the Home tokens)
   ========================================================= */
.text-gold { color: var(--gold); }
.text-gold:hover { color: var(--gold-hover); }
.body-text a:not(.btn) { color: var(--gold); }

/* ---------- Page hero ---------- */
.page-hero {
  position: relative;
  isolation: isolate;
  min-height: clamp(460px, 33vw, 640px);
  display: flex;
  align-items: flex-end;
  padding-block: 150px clamp(56px, 4.2vw, 80px);
  background-color: var(--charcoal);
  background-size: cover;
  background-repeat: no-repeat;
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, #000 0%, rgba(0,0,0,.35) 75%),
    linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(17,21,23,0) 40%, var(--charcoal) 100%);
}
.page-title { font-size: clamp(42px, 4.2vw, 80px); margin-bottom: 24px; }
.page-lead { max-width: 640px; margin: 0; }

.breadcrumb-gta {
  --bs-breadcrumb-divider-color: rgba(255,255,255,.5);
  --bs-breadcrumb-item-active-color: var(--gold);
  --bs-breadcrumb-margin-bottom: 28px;
  font-size: 15px;
}
.breadcrumb-gta a { color: rgba(255,255,255,.75); text-decoration: none; }
.breadcrumb-gta a:hover { color: var(--gold); }

/* ---------- Shared bits ---------- */
.media-frame { border-radius: 12px; overflow: hidden; background: #1E1E1E; }
.media-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ratio-4x3 { aspect-ratio: 4 / 3; }
.media-frame.poster { aspect-ratio: 400 / 401; }

.cta.cta-tall { min-height: 745px; position: relative; isolation: isolate; background-size: cover; background-repeat: no-repeat; }
.cta-tall::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, #000 0%, rgba(0,0,0,0) 73%);
}
@media (max-width: 767.98px) {
  .cta-tall { min-height: 560px; }
  .cta-tall::before { background: linear-gradient(90deg, rgba(0,0,0,.85), rgba(0,0,0,.5)); }
}

.value-num {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(40px, 2.6vw, 50px);
  line-height: 1;
  color: var(--gold);
  margin-bottom: 24px;
}
.value-card {
  height: 100%;
  padding: clamp(28px, 2.1vw, 40px);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 12px;
  background: #161A1C;
  transition: border-color .2s ease;
}
.value-card:hover { border-color: var(--gold); }
.value-card .sub-head { margin-bottom: 16px; }

/* ---------- Services page ---------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
  gap: 40px;
}
.service-grid .service-card { width: auto; justify-content: flex-start; scroll-margin-top: 120px; }
.service-grid .service-card .body-text { max-width: none; flex-grow: 1; }
.service-card:target { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold); }

.process { background: #161A1C; }
.process-steps {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 40px;
  counter-reset: none;
}
.process-steps li { border-top: 1px solid rgba(255,255,255,.18); padding-top: 32px; }
.process-steps .sub-head { margin-bottom: 16px; }

/* ---------- Projects ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: clamp(40px, 3.1vw, 60px); }
.filter-pill {
  padding: 12px 22px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 999px;
  background: transparent;
  color: var(--white);
  font-size: 16px; font-weight: 500;
  text-transform: uppercase;
  transition: all .2s ease;
}
.filter-pill:hover { border-color: var(--gold); color: var(--gold); }
.filter-pill.active { background: var(--gold); border-color: var(--gold); color: var(--black); }
@media (max-width: 575.98px) {
  /* all filters visible: two short rows instead of a cut-off swipe row */
  .filter-bar { gap: 10px; }
  .filter-pill { padding: 9px 13px; font-size: 13px; }
  .filter-bar::-webkit-scrollbar { display: none; }
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
  gap: 56px 40px;
}
.work-card.in-grid { width: auto; }
.work-card.in-grid .work-media { aspect-ratio: 4 / 3; }
.work-card.is-hidden { display: none; }
.stretched-title { color: inherit; text-decoration: none; }
.stretched-title:hover { color: var(--gold); }
.empty-state { margin-top: 40px; }

/* ---------- Project detail ---------- */
.meta-list {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px; margin: 32px 0;
  padding-block: 28px;
  border-block: 1px solid rgba(255,255,255,.18);
}
.meta-list dt { font-weight: 500; font-size: 14px; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.6); margin-bottom: 6px; }
.meta-list dd { margin: 0; font-family: var(--font-serif); font-size: clamp(20px, 1.25vw, 24px); }
.stills { background: #161A1C; }
.gallery-item.still { aspect-ratio: 4 / 3; }

/* ---------- Gallery masonry + lightbox ---------- */
.masonry { columns: 3 340px; column-gap: 40px; }
.masonry-item { break-inside: avoid; margin: 0 0 40px; border-radius: 12px; overflow: hidden; aspect-ratio: 4 / 3; }
.masonry-item.is-tall { aspect-ratio: 4 / 5; }
@media (max-width: 575.98px) {
  /* phones: two photos per row instead of one long column */
  .masonry { columns: 2; column-gap: 12px; }
  .masonry-item { margin-bottom: 12px; border-radius: 10px; }
}
.lightbox-trigger { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: #1E1E1E; cursor: zoom-in; }
.lightbox-trigger img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease, opacity .2s ease; }
.lightbox-trigger:hover img { transform: scale(1.04); }
.lightbox-trigger:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.lightbox .modal-content { background: transparent; border: 0; align-items: center; }
.lightbox-img { max-width: 100%; max-height: 78vh; border-radius: 12px; object-fit: contain; }
.lightbox-caption { margin: 16px 0 0; text-align: center; }
.lightbox-nav { display: flex; gap: 24px; margin-top: 20px; }
.lightbox-close { position: absolute; top: -44px; right: 0; opacity: .9; }
.modal-backdrop.show { opacity: .9; }

/* ---------- Contact page ---------- */
.info-list { list-style: none; padding: 0; margin: 40px 0 0; display: flex; flex-direction: column; gap: 28px; }
.info-list li { display: flex; gap: 20px; align-items: flex-start; }
.info-list a { text-decoration: none; }
.info-list a:hover { color: var(--gold); }
.info-list .card-kicker { font-size: 14px; letter-spacing: .2em; color: rgba(255,255,255,.6); margin-bottom: 4px; }
.info-icon {
  flex-shrink: 0;
  width: 56px; height: 56px;
  display: grid; place-items: center;
  border: 1px solid var(--gold); border-radius: 50%;
}
.info-icon img { width: 22px; height: 22px; }
.contact-page .contact-card { max-width: none; margin: 0; }

/* ---------- Help center ---------- */
.faq-wrap { max-width: 980px; margin: 0 auto; }
.faq-group-title { color: var(--gold); margin: 48px 0 20px; }
.faq-group-title:first-child { margin-top: 0; }
.accordion-gta {
  --bs-accordion-bg: #161A1C;
  --bs-accordion-color: var(--white);
  --bs-accordion-border-color: rgba(255,255,255,.18);
  --bs-accordion-border-radius: 12px;
  --bs-accordion-inner-border-radius: 12px;
  --bs-accordion-btn-color: var(--white);
  --bs-accordion-btn-bg: #161A1C;
  --bs-accordion-active-color: var(--gold);
  --bs-accordion-active-bg: #161A1C;
  --bs-accordion-btn-focus-box-shadow: 0 0 0 .2rem rgba(238,181,78,.25);
  --bs-accordion-btn-padding-x: 24px;
  --bs-accordion-btn-padding-y: 22px;
  --bs-accordion-body-padding-x: 24px;
  --bs-accordion-btn-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23ffffff' stroke-width='1.5'%3e%3cpath d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
  --bs-accordion-btn-active-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23EEB54E' stroke-width='1.5'%3e%3cpath d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
}
.accordion-gta .accordion-button { font-family: var(--font-serif); font-size: clamp(18px, 1.15vw, 22px); }
.accordion-gta .accordion-body { color: rgba(255,255,255,.85); padding-top: 0; }
.help-card {
  max-width: 980px; margin: 64px auto 0;
  display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between;
  padding: clamp(28px, 2.1vw, 40px);
  border: 1px solid var(--gold); border-radius: 12px;
  background: linear-gradient(90deg, rgba(238,181,78,.12), rgba(238,181,78,0));
}

/* ---------- Legal ---------- */
.legal-toc { position: sticky; top: 32px; padding: 28px; border: 1px solid rgba(255,255,255,.18); border-radius: 12px; background: #161A1C; }
.legal-toc ol { margin: 16px 0 0; padding-left: 20px; display: flex; flex-direction: column; gap: 12px; }
.legal-toc a { text-decoration: none; color: rgba(255,255,255,.85); }
.legal-toc a:hover { color: var(--gold); }
.legal-toc .card-kicker { font-size: 14px; letter-spacing: .2em; color: rgba(255,255,255,.6); }
.legal-body { max-width: 860px; }
.legal-body section { scroll-margin-top: 32px; padding-bottom: 32px; margin-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,.1); }
.legal-body section:last-child { border-bottom: 0; }
.legal-body .sub-head { margin-bottom: 16px; }
.legal-body .body-text { color: rgba(255,255,255,.85); }
.legal-updated { color: var(--gold); font-weight: 500; margin-bottom: 40px; }

/* ---------- 404 ---------- */
.not-found {
  min-height: 100vh;
  display: flex; align-items: center;
  padding-block: 160px 100px;
  background:
    linear-gradient(rgba(0,0,0,.75), rgba(17,21,23,1)),
    url("../img/film-reel.jpg") center / cover no-repeat;
}
.nf-code {
  font-family: var(--font-serif);
  font-size: clamp(110px, 14vw, 240px);
  line-height: 1;
  color: var(--gold);
  margin-bottom: 16px;
}

/* ---------- Visual Edit (inside the CMS admin only) ---------- */
.edit-mode .is-editable { position: relative; outline: 1px dashed rgba(238, 181, 78, .6); outline-offset: -1px; }
.edit-btn {
  position: absolute; top: 8px; right: 8px; z-index: 30;
  background: var(--gold); color: var(--black);
  font: 600 12px/1 var(--font-sans); letter-spacing: 0; text-transform: none;
  padding: 7px 10px; border-radius: 6px; cursor: pointer; white-space: nowrap;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .45);
}
.edit-btn:hover, .edit-btn:focus-visible { background: #fff; outline: none; }
/* the hero sits under the transparent header: keep its button clear of the nav */
.edit-mode .hero > .edit-btn, .edit-mode .page-hero > .edit-btn { top: 112px; }

/* ---------------------------------------------------------------
   "Get a Consultant" popup: the contact form in a Bootstrap modal.
   The modal box takes the form card's look; the card inside drops it.
   --------------------------------------------------------------- */
.consult-modal { --bs-modal-width: 750px; --bs-modal-margin: 16px; }
.modal-backdrop { --bs-backdrop-bg: #000; --bs-backdrop-opacity: .75; }
.consult-modal .modal-content {
  position: relative;
  padding: 48px 34px 40px;
  background: #262626;
  border: 1px solid #666;
  border-radius: 20px;
  color: var(--white);
}
.consult-close { position: absolute; top: 18px; right: 18px; z-index: 2; opacity: .8; }
.consult-close:hover, .consult-close:focus { opacity: 1; }
.consult-head { margin: 0 auto 32px; max-width: 560px; }
.consult-modal .consult-head .h2-gta { font-size: clamp(30px, 2.3vw, 44px); }
.consult-modal .consult-head .body-text { margin: 14px 0 0; }
.consult-modal .contact-card {
  max-width: none; margin: 0; padding: 0;
  background: none; border: 0; border-radius: 0;
  backdrop-filter: none; -webkit-backdrop-filter: none;
}
.consult-modal .submit-btn { margin-top: 32px; }
@media (max-width: 575.98px) {
  .consult-modal .modal-content { padding: 44px 18px 28px; }
}

/* Hover preview (main.js): the muted YouTube player covering the card image.
   Zoomed a little so YouTube's title strip and bottom bar fall outside the card. */
[data-yt] { position: relative; overflow: hidden; }
.yt-preview {
  position: absolute; top: 50%; left: 50%; z-index: 1;
  height: 100%; aspect-ratio: 16 / 9; min-width: 100%;
  transform: translate(-50%, -50%) scale(1.3);
  pointer-events: none;
  opacity: 0; transition: opacity .35s ease;
  background: #000;
}
.yt-preview iframe { width: 100%; height: 100%; border: 0; display: block; }
.yt-preview.is-on { opacity: 1; }

/* Phones: header text spans the full width, so the left-to-right shade
   leaves the right half of the title on a bare photo (busy posters on
   project pages). Shade evenly instead, keeping the fade into the page. */
@media (max-width: 575.98px) {
  .page-hero::before {
    background: linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.62) 55%, var(--charcoal) 100%);
  }
}

/* Hero: showreel playing silently behind the text (main.js), plus the location line */
.hero { position: relative; isolation: isolate; }
.hero-video { position: absolute; inset: 0; z-index: -1; overflow: hidden; opacity: 0; transition: opacity .8s ease; pointer-events: none; }
.hero-video.is-on { opacity: 1; }
.hero-video iframe {
  position: absolute; top: 50%; left: 50%; border: 0;
  width: max(100%, calc(100vh * 16 / 9)); height: max(100%, calc(100vw * 9 / 16));
  min-height: 100%;
  /* The showreel is shot in a wide cinema ratio, so the 16:9 video carries black
     bars top and bottom (~12% each); zoom enough that they stay outside the hero. */
  transform: translate(-50%, -50%) scale(1.4);
}
.hero-video::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.78) 0%, rgba(0,0,0,.35) 70%, rgba(0,0,0,.25) 100%); }
.hero-location { margin: 14px 0 0; font-size: 15px; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); }

/* Project page: festival selections & awards */
.festivals { margin: 8px 0 28px; }
.festivals ul { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 6px; }
.festivals li::before { content: "★ "; color: var(--gold); }

/* Gallery page filter */
.masonry-item[hidden] { display: none !important; }

/* YouTube view counts (numbers from the build) */
.views-badge {
  position: absolute; left: 12px; bottom: 12px; z-index: 2;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px 5px 8px; border-radius: 999px;
  background: rgba(0,0,0,.72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  color: var(--white); font-size: 13px; font-weight: 500; line-height: 1; letter-spacing: .01em;
  pointer-events: none;
}
.views-badge svg { width: 10px; height: 10px; color: var(--gold); }
.work-media, .video-card { position: relative; }
.yt-strip { background: #0c0f11; border-block: 1px solid rgba(255,255,255,.08); }
.yt-strip-link {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 28px;
  padding-block: 18px; color: var(--white); text-decoration: none; font-size: 16px;
}
.yt-strip-link strong { color: var(--gold); font-weight: 600; font-variant-numeric: tabular-nums; }
.yt-strip-icon { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 24px; border-radius: 6px; background: #e62117; color: #fff; }
.yt-strip-icon svg { width: 12px; height: 12px; }
.yt-strip-cta { margin-left: auto; display: inline-flex; align-items: center; gap: 10px; text-transform: uppercase; font-size: 14px; letter-spacing: .04em; }
.yt-strip-link:hover .yt-strip-cta { color: var(--gold); }
@media (max-width: 575.98px) {
  .yt-strip-link { gap: 6px 18px; font-size: 15px; }
  .yt-strip-cta { margin-left: 0; width: 100%; }
}

/* ---------- Custom cursor (main.js) ---------- */
html.has-gta-cursor, html.has-gta-cursor body, html.has-gta-cursor a, html.has-gta-cursor button,
html.has-gta-cursor [role="button"], html.has-gta-cursor label, html.has-gta-cursor summary,
html.has-gta-cursor select, html.has-gta-cursor .lightbox-trigger, html.has-gta-cursor [data-yt] { cursor: none; }
.gta-cursor { position: fixed; top: 0; left: 0; width: 0; height: 0; z-index: 2147483000; pointer-events: none; opacity: 0; transition: opacity .2s ease; }
.gta-cursor.is-visible { opacity: 1; }
.gta-cursor.is-text { opacity: 0; }
.gta-cursor__dot, .gta-cursor__ring { position: absolute; top: 0; left: 0; will-change: transform; }
.gta-cursor__trail { position: fixed; inset: 0; width: 100vw; height: 100vh; }
.gta-cursor__dot {
  width: 9px; height: 9px;
  background: linear-gradient(135deg, #F8D58C, var(--gold));
  box-shadow: 0 0 6px rgba(238, 181, 78, .6), 0 0 14px rgba(238, 181, 78, .3);
  transition: width .18s ease, height .18s ease;
}
.gta-cursor__ring {
  width: 30px; height: 30px; border-radius: 50%;
  border: 1px solid rgba(238, 181, 78, .45);
  background: radial-gradient(circle, rgba(238, 181, 78, .08), transparent 70%);
  opacity: 0;
  transition: opacity .25s ease, width .25s cubic-bezier(.16, 1, .3, 1), height .25s cubic-bezier(.16, 1, .3, 1), border-color .25s ease, background .25s ease;
}
.gta-cursor.is-link .gta-cursor__ring, .gta-cursor.is-down .gta-cursor__ring { opacity: 1; }
.gta-cursor.is-link .gta-cursor__ring { width: 50px; height: 50px; border-color: rgba(238, 181, 78, .85); background: radial-gradient(circle, rgba(238, 181, 78, .16), transparent 70%); }
.gta-cursor.is-link .gta-cursor__dot { width: 6px; height: 6px; }
.gta-cursor.is-big .gta-cursor__ring { width: 66px; height: 66px; }
.gta-cursor.is-on-gold .gta-cursor__ring { border-color: rgba(17, 17, 17, .75); background: radial-gradient(circle, rgba(17, 17, 17, .12), transparent 70%); }
.gta-cursor.is-on-gold .gta-cursor__dot { background: #111; box-shadow: none; }
.gta-cursor.is-down .gta-cursor__ring { width: 22px; height: 22px; border-color: #fff; }

/* Touch screens (main.js): finger trail canvas and tap ripple */
.gta-touch { position: fixed; inset: 0; z-index: 2147483000; pointer-events: none; overflow: hidden; }
.gta-ripple {
  position: absolute; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%;
  border: 1.5px solid rgba(238, 181, 78, .9);
  background: radial-gradient(circle, rgba(238, 181, 78, .28), rgba(238, 181, 78, 0) 70%);
  box-shadow: 0 0 14px rgba(238, 181, 78, .45);
  animation: gta-ripple .55s cubic-bezier(.16, 1, .3, 1) forwards;
}
@keyframes gta-ripple { from { transform: scale(.2); opacity: 1; } to { transform: scale(1.4); opacity: 0; } }

/* ---------- Gurcharan Singh profile page ---------- */
.role-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 26px 0 0; }
.role-tags li {
  padding: 8px 16px; border: 1px solid rgba(238, 181, 78, .7); border-radius: 999px;
  color: var(--gold); font-size: 14px; letter-spacing: .08em; text-transform: uppercase; background: rgba(0, 0, 0, .35);
}
.profile-photo { border-radius: 12px; overflow: hidden; aspect-ratio: 4 / 5; box-shadow: 0 24px 60px rgba(0, 0, 0, .55); }
.profile-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; display: block; }
.profile-band { background: var(--charcoal); }
.profile-band--alt { background: #0B0E10; }
.profile-band .profile-photo { box-shadow: 0 24px 60px rgba(0, 0, 0, .55); }
.profile-band .h2-gta + .body-text { margin-top: 24px; }
.profile-actions { margin-top: 32px; }
.profile-socials { display: inline-flex; gap: 10px; margin-left: 6px; }
.profile-social {
  width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .02);
  transition: border-color .25s ease, background .25s ease, transform .25s cubic-bezier(.16, 1, .3, 1), box-shadow .25s ease;
}
.profile-social img { width: 18px; height: 18px; object-fit: contain; display: block; }
.profile-social:hover, .profile-social:focus-visible {
  border-color: var(--gold); background: rgba(238, 181, 78, .12); transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(238, 181, 78, .22);
}
.profile-band .section-head .profile-lead { margin-top: 16px; }
.profile-films.is-collapsed > :nth-child(n + 7) { display: none; }
.profile-more { margin-top: clamp(40px, 2.6vw, 50px); }
.profile-band--alt .value-card, .profile-band--alt .award-card { background-color: #13171A; }
.profile-lead { max-width: 720px; margin-top: 16px; }
.profile-stats {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px;
  margin-top: clamp(48px, 4.2vw, 80px); padding-top: clamp(32px, 2.6vw, 48px); border-top: 1px solid rgba(255, 255, 255, .14);
}
.profile-stat { display: flex; flex-direction: column; gap: 8px; }
.profile-stat-num { font-family: var(--font-serif); font-size: clamp(36px, 3.1vw, 60px); line-height: 1; color: var(--gold); }
.profile-stat-label { font-size: 16px; line-height: 1.4; color: rgba(255, 255, 255, .78); }

.credit-head { margin-bottom: 8px; color: var(--gold); }
.credit-list { list-style: none; padding: 0; margin: 0; }
.credit-row {
  display: grid; grid-template-columns: 110px minmax(0, 1fr) auto; gap: 16px; align-items: baseline;
  padding: 18px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); font-size: 17px;
}
.credit-year { color: var(--gold); font-variant-numeric: tabular-nums; font-size: 15px; }
.credit-title { font-family: var(--font-serif); font-size: 21px; line-height: 1.3; }
.credit-title a { color: inherit; text-decoration: none; border-bottom: 1px solid rgba(238, 181, 78, .5); }
.credit-title a:hover { color: var(--gold); }
.credit-title small { display: block; font-family: var(--font-sans); font-size: 15px; color: rgba(255, 255, 255, .6); margin-top: 4px; }
.credit-kind { font-size: 14px; letter-spacing: .06em; text-transform: uppercase; color: rgba(255, 255, 255, .7); text-align: right; }

.award-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 24px; }
.award-card {
  padding: clamp(28px, 2.1vw, 40px); border: 1px solid rgba(238, 181, 78, .35); border-radius: 12px;
  background: radial-gradient(circle at 50% 0%, rgba(238, 181, 78, .12), transparent 65%), #161A1C; text-align: center;
}
.award-laurel { display: inline-block; color: var(--gold); margin-bottom: 14px; }
.award-card .sub-head { margin-bottom: 10px; }

.timeline { list-style: none; padding: 0 0 0 28px; margin: 0; border-left: 1px solid rgba(238, 181, 78, .45); }
.timeline li { position: relative; padding-bottom: 32px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: ""; position: absolute; left: -34px; top: 6px; width: 11px; height: 11px; rotate: 45deg;
  background: var(--gold); box-shadow: 0 0 10px rgba(238, 181, 78, .5);
}
.timeline-year { display: block; color: var(--gold); font-size: 15px; letter-spacing: .06em; margin-bottom: 6px; }
.timeline-title { font-family: var(--font-serif); font-size: 22px; line-height: 1.3; margin: 0 0 6px; font-weight: 500; }

@media (max-width: 991.98px) {
  .profile-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .profile-photo { aspect-ratio: 1 / 1; }
}
@media (max-width: 575.98px) {
  .credit-row { grid-template-columns: 1fr; gap: 4px; }
  .credit-kind { text-align: left; }
  .role-tags li { font-size: 12px; padding: 6px 12px; }
}

/* Awards (right after the bio): a soft gold spotlight behind the numbers and award cards */
.profile-band.profile-band--spotlight {
  background: radial-gradient(ellipse 70% 55% at 50% 0%, rgba(238, 181, 78, .13), transparent 72%), #0B0E10;
}
.profile-band--spotlight .profile-stats { margin: 0 0 clamp(40px, 3.1vw, 60px); padding: 0; border: 0; }
.profile-stat-num {
  background: linear-gradient(180deg, #FBE2A6 0%, var(--gold) 55%, #C08A2E 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 18px rgba(238, 181, 78, .22));
}
.profile-stat-num.is-done { animation: gta-glow 1.2s ease-out 1; }
@keyframes gta-glow { 0%, 100% { filter: drop-shadow(0 0 18px rgba(238, 181, 78, .22)); } 40% { filter: drop-shadow(0 0 30px rgba(238, 181, 78, .65)); } }

/* Award cards: lift and a gold shine sweeping across */
.award-card { position: relative; overflow: hidden; transition: transform .35s cubic-bezier(.16, 1, .3, 1), border-color .35s ease, box-shadow .35s ease; }
.award-card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; transform: translateX(-130%);
  background: linear-gradient(110deg, transparent 35%, rgba(255, 233, 186, .18) 50%, transparent 65%);
}
.award-card:hover { transform: translateY(-6px); border-color: var(--gold); box-shadow: 0 18px 40px rgba(0, 0, 0, .45), 0 0 0 1px rgba(238, 181, 78, .25); }
.award-card:hover::after { animation: gta-shine-hover 1s ease 1; }
@keyframes gta-shine { to { transform: translateX(130%); } }
@keyframes gta-shine-hover { from { transform: translateX(-130%); } to { transform: translateX(130%); } }

/* Photo: slow zoom on hover */
.profile-photo img { transition: transform 1.2s cubic-bezier(.16, 1, .3, 1); }
.profile-photo:hover img { transform: scale(1.04); }

/* Credits: a gold bar slides in on hover */
.credit-row { position: relative; transition: padding-left .3s cubic-bezier(.16, 1, .3, 1); }
.credit-row::before { content: ""; position: absolute; left: 0; top: 50%; width: 3px; height: 0; background: var(--gold); transform: translateY(-50%); transition: height .3s ease; }
.credit-row:hover { padding-left: 14px; }
.credit-row:hover::before { height: 60%; }

/* Timeline: the gold line is drawn as a separate layer so it can grow on scroll */
.timeline { border-left: 0; position: relative; }
.timeline::before {
  content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 1px; transform-origin: top;
  background: linear-gradient(180deg, rgba(238, 181, 78, .9), rgba(238, 181, 78, .25));
  transition: transform 1.4s cubic-bezier(.16, 1, .3, 1);
}

/* Scroll reveal (main.js adds .has-motion unless the visitor prefers reduced motion) */
html.has-motion [data-reveal] {
  opacity: 0; transform: translateY(28px);
  transition: opacity .8s cubic-bezier(.16, 1, .3, 1) var(--d, 0ms), transform .8s cubic-bezier(.16, 1, .3, 1) var(--d, 0ms);
}
html.has-motion [data-reveal].is-in { opacity: 1; transform: none; }
html.has-motion .timeline[data-reveal] { opacity: 1; transform: none; }
html.has-motion .timeline[data-reveal]:not(.is-in)::before { transform: scaleY(0); }
html.has-motion .award-card.is-in::after { animation: gta-shine 1.6s ease calc(var(--d, 0ms) + 350ms) 1; }
html.has-motion .award-laurel path:not([fill]) { stroke-dasharray: 60; stroke-dashoffset: 60; transition: stroke-dashoffset 1.3s ease calc(var(--d, 0ms) + 150ms); }
html.has-motion .award-card.is-in .award-laurel path:not([fill]) { stroke-dashoffset: 0; }
html.has-motion .award-laurel path[fill] { transform-origin: 24px 22px; transform: scale(0); transition: transform .6s cubic-bezier(.34, 1.56, .64, 1) calc(var(--d, 0ms) + 700ms); }
html.has-motion .award-card.is-in .award-laurel path[fill] { transform: scale(1); }
/* Hero of the profile page: title rises in, role tags pop in one by one */
html.has-motion .page-hero:has(.role-tags) .eyebrow,
html.has-motion .page-hero:has(.role-tags) .page-title,
html.has-motion .page-hero:has(.role-tags) .page-lead { animation: gta-rise .9s cubic-bezier(.16, 1, .3, 1) both; }
html.has-motion .page-hero:has(.role-tags) .page-title { animation-delay: .08s; }
html.has-motion .page-hero:has(.role-tags) .page-lead { animation-delay: .16s; }
html.has-motion .role-tags li { animation: gta-pop .6s cubic-bezier(.34, 1.56, .64, 1) var(--d, 0ms) both; }
@keyframes gta-rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes gta-pop { from { opacity: 0; transform: translateY(10px) scale(.92); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .award-card, .profile-photo img, .credit-row, .profile-social { transition: none; }
  .award-card:hover::after { animation: none; }
}
@media (max-width: 575.98px) {
  .profile-socials { margin-left: 0; }
}

/* Gold rule under each section title on the profile page: a line that draws out with a
   glowing diamond riding its tip, like the cursor */
.gold-rule {
  display: block; position: relative; width: 120px; height: 1px; margin-top: 22px;
  background: linear-gradient(90deg, rgba(238, 181, 78, 0), rgba(238, 181, 78, .9));
}
.gold-rule::after {
  content: ""; position: absolute; right: -4px; top: 50%; width: 8px; height: 8px;
  transform: translateY(-50%) rotate(45deg);
  background: linear-gradient(135deg, #F8D58C, var(--gold));
  box-shadow: 0 0 6px rgba(238, 181, 78, .7), 0 0 14px rgba(238, 181, 78, .35);
}
html.has-motion .section-head[data-reveal] .gold-rule { width: 0; transition: width 1.2s cubic-bezier(.16, 1, .3, 1) .25s; }
html.has-motion .section-head[data-reveal].is-in .gold-rule { width: 120px; }
html.has-motion .section-head[data-reveal] .gold-rule::after { opacity: 0; transition: opacity .3s ease .25s; }
html.has-motion .section-head[data-reveal].is-in .gold-rule::after { opacity: 1; animation: gta-twinkle 2.4s ease-in-out 1.6s infinite; }
@keyframes gta-twinkle { 0%, 100% { box-shadow: 0 0 6px rgba(238, 181, 78, .7), 0 0 14px rgba(238, 181, 78, .35); } 50% { box-shadow: 0 0 10px rgba(238, 181, 78, 1), 0 0 26px rgba(238, 181, 78, .6); } }

/* Sparkle burst from a number when its count-up finishes (main.js) */
.profile-stat { position: relative; }
.gta-spark {
  position: absolute; width: 6px; height: 6px; pointer-events: none; rotate: 45deg;
  background: linear-gradient(135deg, #FFF3D6, var(--gold)); box-shadow: 0 0 8px rgba(238, 181, 78, .8);
  animation: gta-spark .9s cubic-bezier(.16, 1, .3, 1) forwards;
}
@keyframes gta-spark {
  from { opacity: 1; transform: translate(0, 0) scale(1); }
  to { opacity: 0; transform: translate(var(--sx), var(--sy)) scale(.3); }
}

/* Linked highlight numbers and award cards (open their source in a new tab) */
a.profile-stat { color: inherit; text-decoration: none; }
a.profile-stat:hover .profile-stat-label { color: #fff; }
.award-card.is-link { padding: 0; }
.award-card.is-link > a { display: block; height: 100%; padding: clamp(28px, 2.1vw, 40px); color: inherit; text-decoration: none; }
.award-card.is-link > a:focus-visible { outline: 2px solid var(--gold); outline-offset: -4px; border-radius: 12px; }
