/* ── Reset & Tokens ─────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

:root {
  --bg:    #0c0c0c;
  --fg:    #ffffff;
  --dim:   #828282;
  --dim2:  #2e2e2e;
  --nav-h: 56px;
  --sans:  'Helvetica Neue', Helvetica, Arial, sans-serif;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
}

/* ── Single parallax background layer ───────────────────── */
.page-still-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-size: 125% auto;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0.5;
  will-change: transform;
}
.page-still-bg.bg-home-still    { background-image: url('bg-home.jpg'); }
.page-still-bg.bg-work-still    { background-image: url('bg-work.jpg'); }
.page-still-bg.bg-contact-still { background-image: url('bg-contact.jpg'); }

/* ── Contact slideshow background ───────────────────────── */
#contact-slideshow {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.csb-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: grayscale(100%) blur(4px);
  opacity: 0;
  transition: opacity 1.5s ease;
  transform: scale(1.05);
}
.csb-img.csb-visible { opacity: 0.4; }

/* ── Film grain overlay ──────────────────────────────────── */
.grain-overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  opacity: 0.30;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px 200px;
}

a { color: inherit; text-decoration: none; }

/* ── Intro animation ────────────────────────────────────── */
#fm-intro {
  position: fixed; inset: 0;
  z-index: 100001;
  display: flex; align-items: center; justify-content: center;
  background-color: #fff;
  animation: fm-night-and-day 6s ease 0s 1 forwards;
}
.fm-sun {
  position: relative;
  background-color: #F6C744;
  height: 20vmin; width: 20vmin;
  border-radius: 50%;
}
.fm-sun::before {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%;
  border-radius: 50%;
  background-color: #fff;
  animation: fm-thats-no-moon 6s ease 0s 1 forwards,
             fm-night-and-day  6s ease 0s 1 forwards;
}
.fm-eclipse-svg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.fm-eclipse {
  fill: none; stroke: #F6C744; stroke-width: 2;
  stroke-dasharray: 308 616; stroke-dashoffset: 308; stroke-linecap: round;
  animation: fm-eclipse-reveal 6s cubic-bezier(0.75,0.02,0.18,0.98) 0s 1 forwards;
}
@keyframes fm-thats-no-moon {
  from, 5%  { transform: translateX(100%); }
  30%, 60%  { transform: none; }
  95%, to   { transform: translateX(-100%); }
}
@keyframes fm-night-and-day {
  from, 5%, 95%, to { background-color: #fff; }
  45%, 55%          { background-color: #000; }
}
@keyframes fm-eclipse-reveal {
  0%,  30% { stroke-dashoffset: -308; }
  50%      { stroke-dashoffset: 0; }
  60%, 100%{ stroke-dashoffset: 308; }
}

/* ── Nav ────────────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  display: flex;
  align-items: center;
  padding: 0 28px;
  height: var(--nav-h);
  transition: opacity 0.4s ease;
}
body.bg-home nav {
  mix-blend-mode: difference;
}
body.bg-work nav a,
body.bg-work nav button,
body.bg-contact nav a,
body.bg-contact nav button {
  color: var(--fg);
}
nav.nav-hidden {
  opacity: 0;
  pointer-events: none;
}

.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.nav-logo img {
  height: 34px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}

.footer-logo {
  height: 52px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
  opacity: 0.7;
}

.nav-home {
  font-size: 16px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
  transition: color 0.2s;
}
.nav-home:hover { color: var(--fg); }

.nav-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-right a,
.lang-btn {
  font-size: 16px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--sans);
  transition: color 0.2s;
}
.nav-right a:hover,
.lang-btn:hover,
.nav-right a.active { color: var(--fg); }

/* ── Hero ───────────────────────────────────────────────── */
#hero {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100vh;
  z-index: 0;
  overflow: hidden;
}

.hero-spacer {
  height: 100vh;
  pointer-events: none;
}

#bg-video {
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%) scale(1.05);
  height: 100%;
  width: auto;
  min-width: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.08) 50%, rgba(0,0,0,0.55) 100%);
  z-index: 1;
}

.hero-title {
  position: absolute;
  bottom: 40px;
  left: 0;
  z-index: 2;
  line-height: 1;
  pointer-events: none;
  mix-blend-mode: difference;
}
.hero-logo-text {
  display: flex;
  flex-direction: row;
  align-items: baseline;
  gap: 0.4em;
  line-height: 1;
}

.hero-logo-name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(58px, 10.4vw, 160px);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 0.92;
  color: #fff;
  display: block;
}

.hero-logo-rule {
  width: 100%;
  height: 1px;
  background: rgba(255,255,255,0.65);
  margin: clamp(6px, 0.8vw, 12px) 0;
}

.hero-logo-sub {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(7px, 0.88vw, 13px);
  font-weight: 400;
  letter-spacing: 0.35em;
  color: rgba(255,255,255,0.85);
  text-transform: uppercase;
  display: block;
}

.hero-cross {
  position: absolute;
  bottom: 7vh; right: 4vw;
  z-index: 2;
  font-size: 38px;
  font-weight: 200;
  color: var(--dim);
  pointer-events: none;
}

/* ── About ──────────────────────────────────────────────── */
#about {
  position: relative;
  z-index: 1;
  background: rgba(12,12,12,0.65);
  padding: 48px 5vw 80px;
}
.home-content-bg {
  position: relative;
  z-index: 1;
  background:
    linear-gradient(rgba(12,12,12,0.55), rgba(12,12,12,0.55)),
    url('bg-home.jpg') fixed center / 125% auto no-repeat;
}
body.bg-home #about {
  background: transparent;
}

.section-label {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 56px;
}

.about-layout {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 60px;
}
.about-photo-wrap {
  flex: 0 0 380px;
}
.about-photo {
  width: 100%;
  display: block;
  filter: grayscale(100%);
  object-fit: cover;
}
.about-bio p {
  font-size: clamp(13px, 1.8vw, 27px);
  font-weight: 400;
  line-height: 1.3;
  color: var(--fg);
  margin-bottom: 40px;
  opacity: 0;
  transition: opacity 1.4s ease;
}
.about-bio p.is-visible {
  opacity: 1;
}
.about-bio p:last-child { margin-bottom: 0; }

/* ── Press articles ─────────────────────────────────────── */
#articles {
  position: relative;
  z-index: 10;
  background: rgba(12,12,12,0.65);
  padding: 80px 5vw;
  border-top: none;
  opacity: 0;
  transition: opacity 1.4s ease;
}
#articles.is-visible {
  opacity: 1;
}
body.bg-home #articles {
  background: transparent;
  border-top: none;
}

.article-gallery {
  position: relative;
  max-width: 1453px;
  margin: 0 auto;
}

.article-slide { display: none; animation: fade 0.4s ease; }
.article-slide.active { display: block; }

.article-slide img {
  width: 100%;
  max-height: 946px;
  object-fit: contain;
  cursor: zoom-in;
  display: block;
  background: #111;
}

.article-caption {
  margin-top: 18px;
  font-size: 13px;
  color: var(--dim);
  letter-spacing: 0.03em;
  line-height: 1.6;
}

.gallery-nav {
  display: flex;
  gap: 12px;
  margin-top: 28px;
  justify-content: center;
}
.gallery-btn {
  background: none;
  border: 2px solid var(--fg);
  color: var(--fg);
  font-weight: 700;
  width: 40px; height: 40px;
  font-size: 14px;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
  font-family: var(--sans);
}
.gallery-btn:hover { border-color: var(--fg); color: var(--fg); }

/* Lightbox */
#lightbox {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.96);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}
#lightbox.open { display: flex; }
#lightbox img { max-width: 90vw; max-height: 90vh; object-fit: contain; }
#lightbox-article { display: none; }
#lightbox-article .article-en-card { display: block !important; width: 100%; cursor: default; }
#lightbox-close {
  position: absolute; top: 24px; right: 28px;
  font-size: 30px; color: var(--dim);
  cursor: pointer; background: none; border: none;
  font-family: var(--sans);
  transition: color 0.2s;
}
#lightbox-close:hover { color: var(--fg); }

/* ── About bottom ───────────────────────────────────────── */
.about-bottom {
  position: relative;
  z-index: 10;
  background: var(--bg);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  padding: 80px 5vw;
  border-top: none;
}

.about-photo {
  background: #1a1a1a;
  aspect-ratio: 3/4;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dim2);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  overflow: hidden;
}
.about-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  display: block;
}

.about-info { display: flex; flex-direction: column; gap: 44px; }

.info-label {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 14px;
}

.info-block a {
  font-size: 20px;
  color: var(--fg);
  display: block;
  line-height: 1.5;
  transition: color 0.2s;
}
.info-block a:hover { color: var(--dim); }

.info-list {
  list-style: none;
  font-size: 13px;
  color: var(--dim);
  line-height: 2.1;
}

/* ── Instagram feed ──────────────────────────────────────── */
/* ── Stills grid ─────────────────────────────────────────── */
.stills-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 32px;
}
.stills-section-label {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dim);
}
.stills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.stills-item {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  cursor: pointer;
}
.stills-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transition: transform 0.5s ease;
}
.stills-item:hover img { transform: scale(1.04); }
.stills-overlay {
  position: absolute;
  inset: 0;
  background: rgba(12,12,12,0.75);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  transition: opacity 0.35s ease;
}
.stills-hover-label {
  font-size: 14px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  font-weight: 400;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
}
.stills-item:hover .stills-overlay { opacity: 1; }
.stills-caption {
  font-size: 11px;
  line-height: 1.5;
  color: #fff;
  margin: auto 0 0 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  align-self: flex-start;
}

/* ── Stills edit mode ───────────────────────────────────── */
body.stills-edit-mode .stills-item { outline: 1px solid rgba(255,255,255,0.15); }
.stills-scale-ctrl {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 20;
  background: rgba(0,0,0,0.82);
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px 10px;
}
.stills-scale-ctrl input[type=range] {
  flex: 1;
  accent-color: #fff;
  cursor: pointer;
}
.stills-scale-label {
  font-size: 10px;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.7);
  white-space: nowrap;
  min-width: 34px;
  text-align: right;
}
#stills-edit-panel {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 99999;
  background: rgba(10,10,10,0.95);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 220px;
}
#stills-edit-panel p {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dim);
  margin: 0;
}
#stills-edit-copy {
  background: var(--fg);
  color: var(--bg);
  border: none;
  padding: 8px 14px;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  font-family: var(--sans);
}
#stills-edit-copy:hover { opacity: 0.85; }
#stills-edit-status {
  font-size: 10px;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.06em;
}

/* ── Stills section ─────────────────────────────────────── */
#stills {
  position: relative;
  z-index: 10;
  background: var(--bg);
  border-top: none;
}

/* ── Post lightbox ───────────────────────────────────────── */
#stills-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0,0,0,0.96);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 56px 64px 32px;
  box-sizing: border-box;
}
#stills-lightbox.open { display: flex; }
.slb-strip {
  display: flex;
  gap: 6px;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-height: 68vh;
  flex-shrink: 0;
}
.slb-strip img {
  flex: 1;
  min-width: 0;
  max-height: 68vh;
  object-fit: contain;
  display: block;
}
.slb-caption {
  width: 100%;
  font-size: 22px;
  font-weight: 300;
  letter-spacing: 0.01em;
  color: rgba(255,255,255,0.85);
  margin: 0;
  text-align: left;
}
.slb-close {
  position: absolute;
  top: 24px; right: 32px;
  background: none; border: none;
  color: var(--fg); font-size: 32px;
  cursor: pointer; opacity: 0.7; line-height: 1;
}
.slb-close:hover { opacity: 1; }
.slb-prev, .slb-next {
  position: absolute;
  top: calc(56px + 34vh);
  transform: translateY(-50%);
  background: none; border: none;
  color: var(--fg); font-size: 28px;
  cursor: pointer; opacity: 0.5; padding: 16px;
}
.slb-prev:hover, .slb-next:hover { opacity: 1; }
.slb-prev { left: 24px; }
.slb-next { right: 24px; }
.slb-counter {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.35);
}

/* ── Footer ─────────────────────────────────────────────── */
.site-footer {
  position: relative;
  z-index: 10;
  background: var(--bg);
  border-top: none;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 36px 5vw 40px;
  gap: 40px;
}

.footer-tagline {
  font-size: clamp(28px, 3.5vw, 52px);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--fg);
  flex-shrink: 0;
}

.footer-cols {
  display: flex;
  gap: 48px;
  flex-shrink: 0;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 140px;
}

.footer-col-label {
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 6px;
}

.footer-col a,
.footer-col > span {
  font-size: 13px;
  color: var(--dim);
  text-decoration: none;
  line-height: 1.9;
  transition: color 0.2s;
  display: block;
}
.footer-col a:hover { color: var(--fg); }
.footer-dim { color: var(--dim) !important; }

.arrow {
  font-size: 11px;
  opacity: 0.6;
}

/* Clients header */
.clients-header {
  padding: 48px 5vw 28px;
  text-align: center;
}

.clients-label {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(11px, 2.1vw, 30px);
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg);
  opacity: 0.88;
}

/* Marquee */
.footer-marquee {
  overflow: hidden;
  border-top: none;
  padding: 16px 0;
  background: #7a0000;
}

.footer-marquee-track {
  display: flex;
  align-items: center;
  white-space: nowrap;
  will-change: transform;
}

.fmq-item {
  display: inline-flex;
  align-items: flex-start;
  flex-shrink: 0;
  margin: 0 clamp(32px, 4vw, 64px);
}

.fmq-tm {
  font-size: 0.5em;
  color: var(--dim);
  margin-left: 2px;
  margin-top: 2px;
}

.fmq-logo {
  height: clamp(10px, 1.35vw, 19px);
  width: auto;
  display: block;
  flex-shrink: 0;
  filter: brightness(0) invert(1);
  opacity: 0.70;
  margin: 0;
}

.fmq-text {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  font-size: clamp(14px, 1.9vw, 27px);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg);
  opacity: 0.70;
  margin: 0;
  white-space: nowrap;
}
img.fmq-logo[alt="Qatar Airways"],
img.fmq-logo[alt="Qatar Tourism"] {
  height: clamp(26px, 3.5vw, 50px);
}
img.fmq-logo[alt="BMW"],
img.fmq-logo[alt="Audi"] {
  height: clamp(20px, 2.7vw, 38px);
}
@keyframes fmq {
  from { transform: translateX(0px); }
  to   { transform: translateX(var(--fmq-w, -50%)); }
}

.footer-bottom {
  border-top: none;
  padding: 16px 5vw;
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dim);
}

/* ── About page ─────────────────────────────────────────── */
.about-page-main {
  position: relative;
  z-index: 1;
  padding-top: var(--nav-h);
}
.about-page-main #about  { background: rgba(12,12,12,0.65); }
.about-page-main #articles { background: rgba(12,12,12,0.65); }

/* ── Contact page ────────────────────────────────────────── */
.contact-main {
  position: relative;
  z-index: 1;
  padding: calc(var(--nav-h) + 10vh) 5vw 10vh;
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8vh;
}

.contact-item { display: flex; flex-direction: column; gap: 10px; }

.contact-big {
  font-size: clamp(24px, 4.5vw, 66px);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--fg);
  text-decoration: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  display: block;
}
.contact-big:hover { opacity: 0.5; transform: translateY(-4px); }
.contact-dim { color: var(--dim); }

.contact-socials-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.contact-socials-list a {
  font-size: clamp(24px, 3.5vw, 52px);
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--dim);
  text-decoration: none;
  transition: opacity 0.3s ease, transform 0.3s ease, color 0.2s ease;
  line-height: 1.2;
}
.contact-socials-list a:hover { color: var(--fg); opacity: 0.7; transform: translateY(-3px); }

/* ── Video blur state ────────────────────────────────────── */
#bg-video {
  transition: filter 0.6s ease;
}
#bg-video.blurred {
  filter: blur(18px) brightness(0.5);
}
.page-still-bg.blurred {
  filter: blur(18px) brightness(0.4);
  transition: filter 0.6s ease;
}
main.blurred {
  filter: blur(8px) brightness(0.4);
  transition: filter 0.6s ease;
}
.home-content-bg.blurred {
  filter: blur(8px) brightness(0.4);
  transition: filter 0.6s ease;
}
.hero-title {
  transition: filter 0.6s ease;
}
.hero-title.blurred {
  filter: blur(18px) brightness(0.5);
}

/* ── Work overlay ────────────────────────────────────────── */
#work-overlay {
  position: fixed;
  inset: 0;
  z-index: 800;
  display: flex;
  flex-direction: column;
  padding: 18vh 5vw 0;
  /* Hidden by default */
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}
#work-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.work-overlay-close {
  position: absolute;
  top: 26px; right: 32px;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--sans);
  transition: color 0.2s;
}
.work-overlay-close:hover { color: var(--fg); }

.work-choices {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.work-choice {
  font-size: clamp(52px, 9.5vw, 140px);
  font-weight: 400;
  letter-spacing: -0.02em;
  color: rgba(255,255,255,0.88);
  text-decoration: none;
  line-height: 1.05;
  transition: color 0.2s;
  display: block;
}
.work-choice:hover { color: #fff; }

/* ── Work page ───────────────────────────────────────────── */
.work-section {
  position: relative;
  z-index: 1;
  padding: calc(var(--nav-h) + 80px) 5vw 100px;
}

.showreel-block {
  max-width: 980px;
  margin: 0 auto 80px;
  scroll-margin-top: calc(var(--nav-h) + 40px);
}

/* Single-showreel pages (film.html, commercial.html) */
.work-section.single-showreel {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - var(--nav-h));
  padding: calc(var(--nav-h) + 40px) 19vw 60px;
  box-sizing: border-box;
}
.work-section.single-showreel .showreel-block {
  width: 100% !important;
  max-width: none !important;
  margin: 0;
}
.work-section.single-showreel .showreel-video-wrap video {
  width: 100%;
  height: auto;
  display: block;
}
.showreel-block:last-child { margin-bottom: 0; }

.showreel-label {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 18px;
}

.showreel-video-wrap {
  position: relative;
  background: transparent;
  line-height: 0;
}
.showreel-video-wrap video {
  width: 100%;
  height: auto;
  display: block;
  cursor: pointer;
}
.showreel-video-wrap canvas {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  transition: opacity 0.15s;
}
.showreel-video-wrap canvas.hidden { opacity: 0; }

.vid-controls {
  position: absolute;
  bottom: 12px; right: 12px;
  z-index: 3;
  display: flex;
  gap: 8px;
}
.vid-btn {
  background: rgba(0,0,0,0.55);
  color: var(--fg);
  font-size: 10px;
  letter-spacing: 0.1em;
  padding: 6px 10px;
  border: none;
  cursor: pointer;
  font-family: var(--sans);
  transition: background 0.2s;
}
.vid-btn:hover { background: rgba(255,255,255,0.15); }

/* c-label used on contact page */
.c-label {
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dim);
}

/* ── Page load fade ──────────────────────────────────────── */
.page-load { animation: pageIn 0.45s ease forwards; }
@keyframes pageIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ── Article bilingual cards ──────────────────────────────── */
.article-img-pt  { display: block; }
.article-en-card {
  display: none;
  position: relative;
  width: 100%;
  padding-bottom: 66.30%;  /* 1080/1629 */
  overflow: hidden;
  background: #111;
  cursor: zoom-in;
}
.article-en-card.aen-bp { padding-bottom: 66.30%; }  /* 1080/1629 — BroadcastPro clean */

.aen-bg {
  position: absolute;
  inset: 0;
  background-size: 100% 100%;
  background-repeat: no-repeat;
}
.aen-bi .aen-bg { background-image: url('BUSINESSINSIDER.png'); }
.aen-fl .aen-bg { background-image: url('FILMLIGHT.png'); }
.aen-bp .aen-bg { background-image: url('BROADCASTPRO.png'); }

.aen-overlay {
  position: absolute;
  overflow: hidden;
  box-sizing: border-box;
  padding: 0.8% 1%;
}

/* Business Insider */
.aen-bi .aen-overlay { background: #d9d9d9; font-family: Georgia,'Times New Roman',serif; color: #1a1a1a; line-height: 1.35; }
.aen-bi-left  { top: 71.5%; left: 5.5%;  width: 43%;   height: 28%;   }
.aen-bi-mid   { top:  6%;   left: 47.5%; width: 23%;   height: 93%;   }
.aen-bi-right { top: 24%;   left: 70%;   width: 30%;   height: 75%;   }
.aen-bi h3 { font-size: clamp(8px,1.3vw,11px); font-weight:700; font-family:'Helvetica Neue',Arial,sans-serif; line-height:1.2; margin-bottom:0.5%; }
.aen-bi h4 { font-size: clamp(5px,0.72vw,6px); font-family:'Helvetica Neue',Arial,sans-serif; font-weight:400; text-transform:uppercase; letter-spacing:0.03em; margin:3% 0 1.5%; }
.aen-bi p, .aen-bi em { font-size: clamp(5px,0.72vw,6px); display:block; margin-bottom:2%; }
.aen-bi .aen-quote { font-style:italic; }

/* FilmLight */
.aen-fl .aen-overlay { background: #e6e4df; font-family: Arial,Helvetica,sans-serif; color: #1a1a1a; line-height: 1.4; }
.aen-fl-left  { top: 29%; left: 2%;  width: 47%; height: 69%; }
.aen-fl-right { top:  4%; left: 51%; width: 47%; height: 68%; }
.aen-fl p     { font-size: clamp(5px,0.8vw,7px); margin-bottom:2%; }
.aen-fl .aen-q { font-size: clamp(5px,0.8vw,7px); font-weight:700; margin:2.5% 0 0.8%; }
.aen-fl .aen-a { font-size: clamp(5px,0.8vw,7px); font-style:italic; margin-bottom:0; }

/* BroadcastPro */
.aen-bp-title {
  top: 70%; left: 0.5%; width: 55%; height: 10%;
  background: #eae6e3;
  font-family: 'Barlow Condensed','Arial Narrow',Arial,sans-serif; font-weight: 700;
  font-size: clamp(20px,4.2vw,37px); color: #0f0f0f;
  text-transform: uppercase; letter-spacing: -0.01em; line-height: 1;
  display: flex; align-items: center;
}
.aen-bp-intro {
  top: 80%; left: 0.5%; width: 55%; height: 19%;
  background: #eae6e3;
  font-family: Arial,Helvetica,sans-serif;
  font-size: clamp(5.5px,0.86vw,8px); color: #1a1a1a; line-height: 1.45;
  text-align: justify;
}
.aen-bp-intro p { margin-bottom: 4%; }
.aen-bp-ql {
  top: 4%; left: 57%; width: 13%; height: 58%;
  background: #eae6e3;
  font-family: Arial,Helvetica,sans-serif;
  font-size: clamp(5px,0.8vw,7px); color: #1a1a1a; line-height: 1.4;
}
.aen-bp-quote {
  top: 62%; left: 57%; width: 13%; height: 34%;
  background: #eae6e3;
  font-family: Georgia,'Times New Roman',serif; font-style: italic;
  font-size: clamp(8px,1.4vw,13px); color: #1a1a1a; line-height: 1.35;
  display: flex; flex-direction: column; justify-content: center;
}
.aen-bp-quote span { display: block; margin-bottom: 6%; }
.aen-bp-quote small { font-style:normal; font-size:clamp(4.5px,0.58vw,5.5px); font-family:Arial,Helvetica,sans-serif; font-weight:700; letter-spacing:0.1em; color:#1a1a1a; }
.aen-bp-qr {
  top: 4%; left: 71%; width: 28.5%; height: 66%;
  background: #eae6e3;
  font-family: Arial,Helvetica,sans-serif;
  font-size: clamp(5px,0.8vw,7px); color: #1a1a1a; line-height: 1.4;
}
.aen-bp-ql .aen-q, .aen-bp-qr .aen-q { font-weight:700; margin-bottom:1.5%; line-height:1.3; }
.aen-bp-ql .aen-a, .aen-bp-qr .aen-a { margin-bottom:3.5%; }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 768px) {

  /* ── About layout ── */
  .about-layout { flex-direction: column; gap: 32px; }
  .about-photo-wrap { flex: none; width: 100%; max-width: 280px; }

  /* ── Background coverage ── */
  .page-still-bg {
    background-size: cover;
  }
  .home-content-bg {
    background:
      linear-gradient(rgba(12,12,12,0.55), rgba(12,12,12,0.55)),
      url('bg-home.jpg') scroll center / cover no-repeat;
  }

  /* ── Nav ── */
  nav { padding: 0 16px; }
  .nav-right { gap: 16px; }
  .nav-right a, .lang-btn { font-size: 13px; }
  .nav-home { font-size: 13px; }
  .hero-title .line { font-size: clamp(18px, 5.5vw, 36px); }

  /* ── Section padding ── */
  #about     { padding: 40px 20px 56px; }
  #articles  { padding: 40px 20px; }
  #stills    { padding: 40px 0 0; }
  .about-bottom  { grid-template-columns: 1fr; padding: 48px 20px; gap: 36px; }
  .contact-grid  { grid-template-columns: 1fr; }
  .section-label { margin-bottom: 36px; }

  /* ── Stills grid: 2 columns ── */
  .stills-grid { grid-template-columns: repeat(2, 1fr); }
  .stills-header { padding: 0 20px; }

  /* ── Stills lightbox ── */
  #stills-lightbox { padding: 52px 12px 24px; gap: 14px; }
  .slb-strip       { max-height: 72vh; }
  .slb-strip img   { max-height: 72vh; }
  .slb-caption     { font-size: 16px; }
  .slb-close       { top: 14px; right: 16px; font-size: 26px; }
  .slb-prev, .slb-next {
    font-size: 24px;
    padding: 24px 12px;
    top: calc(52px + 36vh);
  }
  .slb-prev { left: 0; }
  .slb-next { right: 0; }
  .slb-counter { top: 16px; }
}
