/*
 * Values below are measured from the Canva design (1366px-wide page).
 * Canva fonts Cy Grotesk V3 Key, Gotham and Now are commercial; they are used when
 * installed locally (or add licensed WOFF2 files via @font-face url()). Until then the
 * closest free fonts are used: Archivo Expanded, Montserrat Light and Poppins.
 * Montserrat and Sorts Mill Goudy are the exact design fonts.
 */
@font-face { font-family: "OS Cy Grotesk"; font-weight: 400; src: local("Cy Grotesk V3 Key"), local("CyGroteskKey-Regular"), local("Cy Grotesk Key"); }
@font-face { font-family: "OS Cy Grotesk"; font-weight: 700; src: local("Cy Grotesk V3 Key Bold"), local("CyGroteskKey-Bold"), local("Cy Grotesk Key Bold"); }
@font-face { font-family: "OS Gotham"; font-weight: 300; src: local("Gotham Light"), local("Gotham-Light"); }
@font-face { font-family: "OS Gotham Bold"; font-weight: 500 700; src: local("Gotham Bold"), local("Gotham-Bold"), local("Gotham Medium"), local("Gotham-Medium"); }
@font-face { font-family: "OS Now"; font-weight: 400; src: local("Now Regular"), local("Now-Regular"); }
@font-face { font-family: "OS Now"; font-weight: 700; src: local("Now Bold"), local("Now-Bold"); }

:root {
  /* Canva palette */
  --cream: #F8F5F0;
  --navy: #2A394C;
  --navy-grad: #0F2D64;
  --label: #F9FFD7;
  --copper: #BE7B36;
  --white: #FFFFFF;
  --ink: #0B1320;
  --focus: #F2B544;

  --f-cy: "OS Cy Grotesk", "Archivo", system-ui, sans-serif;
  --f-gotham: "OS Gotham", "Montserrat", system-ui, sans-serif;
  --f-gotham-bold: "OS Gotham Bold", "Montserrat", system-ui, sans-serif;
  --f-now: "OS Now", "Poppins", system-ui, sans-serif;
  --f-mont: "Montserrat", system-ui, sans-serif;
  --f-goudy: "Sorts Mill Goudy", Georgia, serif;

  /* 1 design px; scales with viewport, capped so large screens don't balloon */
  --u: min(calc(100vw / 1366), 1.25px);
  --header-h: calc(132 * var(--u));

  /* Canva "Echo" text effect (black, direction -52, offset 13) */
  --echo: calc(1.5 * var(--u)) calc(2 * var(--u)) 0 rgba(0, 0, 0, .28), calc(3 * var(--u)) calc(4 * var(--u)) 0 rgba(0, 0, 0, .12);

  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  background: var(--cream);
  color: var(--navy);
  font: 300 1rem/1.4 var(--f-gotham);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
h1, h2 { margin: 0; font-family: var(--f-cy); font-stretch: 112.5%; font-weight: 700; line-height: 1.18; }
p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--navy); color: var(--white); padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { top: 12px; }

/* Logo */
.logo { --logo-fg: #000; --logo-bg: var(--cream); height: auto; overflow: visible; }
.logo--mono { --logo-fg: var(--white); --logo-bg: #161F2C; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 0 calc(44 * var(--u)) 0 calc(50 * var(--u));
  /* Canva header: warm cream drifting to peach on the right — the same on every page */
  background: linear-gradient(90deg, #F7F3EC 0%, #F4ECE2 45%, #F1DCCB 82%, #EECBB5 100%);
}
.brand { display: block; width: calc(132 * var(--u)); min-width: 78px; }
.site-nav ul { display: flex; gap: calc(62 * var(--u)); list-style: none; margin: 0; padding: 0; }
.site-nav a {
  font: 400 max(15px, calc(23 * var(--u)))/1.17 var(--f-cy); font-stretch: 112.5%;
  color: var(--navy); text-decoration: none; padding: 6px 0; position: relative;
}
.site-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .3s ease;
}
.site-nav a:hover::after, .site-nav a[aria-current]::after { transform: scaleX(1); }
.nav-toggle { display: none; }
.site-nav { margin-left: auto; }

/* Language switcher (EN · FR · IT) */
.lang-switch {
  display: flex; align-items: center; gap: 2px;
  margin-left: calc(44 * var(--u)); padding-left: calc(22 * var(--u));
  border-left: 1px solid rgba(42, 57, 76, .25);
}
.lang-switch a {
  display: grid; place-items: center; min-width: 32px; min-height: 32px; padding: 0 4px;
  font: 400 max(12px, calc(14 * var(--u)))/1 var(--f-cy); font-stretch: 112.5%; letter-spacing: .06em;
  color: #5B6573; text-decoration: none; border-radius: 6px;
}
.lang-switch a:hover { color: var(--navy); background: rgba(42, 57, 76, .07); }
.lang-switch a[aria-current="page"] { color: var(--navy); font-weight: 700; }

/* Buttons */
.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: calc(178 * var(--u)); height: max(32px, calc(32 * var(--u))); padding: 0 1.2em;
  border: 2px solid currentColor; border-radius: 999px;
  background: transparent; color: var(--white);
  font: 700 max(12px, calc(14.5 * var(--u)))/1 var(--f-cy); font-stretch: 112.5%; text-transform: uppercase;
  text-decoration: none; cursor: pointer; transition: background .25s, color .25s;
}
.button:hover { background: var(--white); color: var(--navy); }
/* Hero: full-bleed, same aspect as the video (1366 × 766) */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: calc(766 * var(--u));
  display: flex; align-items: flex-start;
  background: var(--ink);
  color: var(--white);
}
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(11, 19, 32, .55) 0%, rgba(11, 19, 32, .25) 45%, rgba(11, 19, 32, 0) 70%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: var(--grain); opacity: .12; mix-blend-mode: overlay;
}
.hero__content { position: relative; z-index: 2; padding: calc(300 * var(--u)) 0 calc(80 * var(--u)) calc(86 * var(--u)); }
.hero h1 { font-size: max(30px, calc(50 * var(--u))); text-shadow: var(--echo); }
.hero__tagline {
  font: 300 max(17px, calc(27 * var(--u)))/1.25 var(--f-gotham);
  max-width: calc(660 * var(--u)); min-width: 0;
  margin: calc(16 * var(--u)) 0 0 calc(4 * var(--u));
  text-shadow: 0 1px 8px rgba(0, 0, 0, .45);
}
.hero .button { margin: calc(150 * var(--u)) 0 0 calc(4 * var(--u)); }
.hero__toggle {
  position: absolute; z-index: 3; right: calc(28 * var(--u)); bottom: calc(28 * var(--u));
  width: 44px; height: 44px; border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.8); background: rgba(11, 19, 32, .35); color: var(--white);
  display: grid; place-items: center; cursor: pointer;
}
.hero__toggle svg { width: 18px; fill: currentColor; }
.hero__toggle .i-play { display: none; }
.hero__toggle[aria-pressed="true"] .i-play { display: inline; }
.hero__toggle[aria-pressed="true"] .i-pause { display: none; }

/* About: deep navy with a warm haze top-left and copper glow on the right edge */
.about {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: calc(377 * var(--u)) 1fr; align-items: center;
  column-gap: calc(70 * var(--u));
  min-height: calc(768 * var(--u));
  padding: calc(70 * var(--u)) calc(52 * var(--u)) calc(70 * var(--u)) calc(64 * var(--u));
  color: var(--white);
  --blob-1: rgba(196, 176, 150, .5); --blob-2: rgba(198, 112, 70, .65); --blob-3: rgba(60, 90, 150, .45); --blob-4: rgba(226, 104, 116, .3);
  background: linear-gradient(180deg, #12253D 0%, #0E2036 100%);
}
.about::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: var(--grain); opacity: .12; mix-blend-mode: overlay;
}
.about > * { position: relative; z-index: 1; }
.about h2 { font-size: max(30px, calc(46 * var(--u))); text-shadow: var(--echo); margin-bottom: calc(20 * var(--u)); }
.about p { font: 300 max(15px, calc(17.5 * var(--u)))/1.3 var(--f-gotham); letter-spacing: .01em; }
.about p + p { margin-top: 1em; }
.about__photo {
  width: 100%; height: auto; aspect-ratio: 804 / 612; object-fit: cover;
  border-radius: calc(14 * var(--u));
  filter: url(#temp-cool) brightness(.9);
}

/* Portfolio: warm cream with a pink bloom top-left and peach glow right; artist cards on a rail */
.portfolio {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: calc(768 * var(--u));
  padding: calc(170 * var(--u)) 0 calc(80 * var(--u));
  --blob-1: rgba(226, 104, 116, .55); --blob-2: rgba(244, 160, 92, .7); --blob-3: rgba(236, 132, 120, .55); --blob-4: rgba(205, 182, 222, .45);
  background: linear-gradient(180deg, #F1E8DA 0%, #EEE3D1 100%);
}
.portfolio::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: var(--grain); opacity: .16; mix-blend-mode: overlay;
}
.portfolio > * { position: relative; z-index: 1; }
.portfolio h2 {
  text-align: center; color: var(--navy); margin-bottom: calc(110 * var(--u));
  font: 700 max(30px, calc(52 * var(--u)))/1 var(--f-gotham-bold);
}
.artists {
  list-style: none; margin: 0; padding: 0 calc(52 * var(--u)) calc(14 * var(--u));
  display: grid; gap: calc(29 * var(--u));
  grid-auto-flow: column; grid-auto-columns: max(240px, calc(374 * var(--u)));
  justify-content: safe center; /* few artists: centred; many: scrolls from the start */
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: calc(52 * var(--u));
  overscroll-behavior-x: contain;
  scrollbar-width: thin; scrollbar-color: rgba(42, 57, 76, .45) transparent;
  /* The rail that links the cards (Canva: navy line through the card row) */
  background: linear-gradient(var(--navy), var(--navy)) 0 calc(100% - 66 * var(--u) - 14 * var(--u)) / 100% max(2px, calc(3 * var(--u))) no-repeat;
}
.artists > li { scroll-snap-align: start; display: flex; }
.artist-card {
  display: flex; flex-direction: column; width: 100%;
  padding: calc(16 * var(--u)) calc(16 * var(--u)) calc(56 * var(--u));
  border-radius: calc(20 * var(--u)); background: #F7F3EC;
  color: var(--navy); text-decoration: none;
  box-shadow: 0 1px 2px rgba(42, 57, 76, .08);
  transition: transform .4s cubic-bezier(.2, .7, .2, 1), box-shadow .4s;
}
.artist-card:hover, .artist-card:focus-visible { transform: translateY(-4px); box-shadow: 0 18px 30px rgba(42, 57, 76, .18); }
.artist-card img {
  width: 100%; height: auto; aspect-ratio: 342 / 229; object-fit: cover;
  border-radius: calc(14 * var(--u));
}
.artist-card__meta {
  display: grid; grid-template-columns: auto 1fr; column-gap: .9em; margin-top: calc(18 * var(--u));
  font: 400 max(12px, calc(13 * var(--u)))/1.35 var(--f-now);
}
.artist-card__roles { display: grid; justify-items: end; color: #4D5866; }
.artist-card__name { font-weight: 700; }

/* Contact: navy over a dim street photo, pink glow from above */
.contact {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: calc(430 * var(--u)) 3px 1fr; align-items: center;
  column-gap: calc(70 * var(--u));
  min-height: calc(768 * var(--u));
  padding: calc(80 * var(--u)) calc(110 * var(--u)) calc(80 * var(--u)) calc(90 * var(--u));
  color: var(--white);
  --blob-1: rgba(232, 160, 160, .4); --blob-2: rgba(190, 123, 54, .3); --blob-3: rgba(61, 111, 224, .2); --blob-4: rgba(232, 80, 122, .22);
  background:
    linear-gradient(180deg, rgba(38, 54, 74, .82), rgba(30, 42, 60, .9)),
    url("../assets/img/contact-bg.jpg") center 70% / cover,
    #26364A;
}
.contact::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: var(--grain); opacity: .16; mix-blend-mode: overlay;
}
.contact > * { position: relative; z-index: 1; }
.contact::before {
  content: ""; grid-column: 2; grid-row: 1; width: 3px; height: calc(192 * var(--u)); min-height: 120px;
  background: var(--white); position: relative; z-index: 1;
}
.contact__logo { grid-column: 1; grid-row: 1; width: calc(250 * var(--u)); min-width: 160px; justify-self: center; }
.contact__body { grid-column: 3; grid-row: 1; max-width: calc(560 * var(--u)); min-width: 0; }
.contact h2 { font-size: max(28px, calc(46 * var(--u))); margin-bottom: calc(26 * var(--u)); text-shadow: var(--echo); }
.contact p { font: 300 max(16px, calc(28 * var(--u)))/1.25 var(--f-gotham); letter-spacing: .01em; }
.contact strong { font: 700 1em/1 var(--f-now); letter-spacing: 0; }
.contact__list { margin: calc(46 * var(--u)) 0 0; display: grid; gap: calc(8 * var(--u)); }
.contact__list div { display: flex; gap: .35em; flex-wrap: wrap; align-items: baseline; }
.contact__list dt { font: 700 max(14px, calc(18.5 * var(--u)))/1.18 var(--f-now); color: var(--label); }
.contact__list dd { margin: 0; font: 400 max(14px, calc(18.5 * var(--u)))/1.18 var(--f-now); color: var(--label); }
.contact__list a { text-decoration: none; }
.contact__list a:hover { text-decoration: underline; }

/* Artist pages: one layout, two Canva themes (light = cream + orange glow, dark = navy + orange glow) */
.artist-page { --fg: var(--navy); --muted: #3E4A5A; --rule: var(--navy);
  --page-bg: linear-gradient(180deg, #F1E6D6 0%, #EFE3D0 100%);
  /* the logo's light beam: amber → orange → pink → violet → blue */
  --blob-1: rgba(246, 178, 74, .5); --blob-2: rgba(232, 80, 122, .38); --blob-3: rgba(240, 123, 58, .42); --blob-4: rgba(61, 111, 224, .28);
}
.artist-page.theme-dark { --fg: var(--white); --muted: #E6E9EE; --rule: rgba(255, 255, 255, .85);
  --page-bg: linear-gradient(180deg, #2C3B52 0%, #26354B 100%);
  --blob-1: rgba(240, 123, 58, .5); --blob-2: rgba(232, 80, 122, .42); --blob-3: rgba(61, 111, 224, .45); --blob-4: rgba(123, 82, 201, .4);
}
.artist-page main { background: var(--page-bg); color: var(--fg); position: relative; isolation: isolate; overflow: hidden; }
.artist-page main > .blobs { z-index: -1 !important; }
.artist-page main > .contact { isolation: isolate; }
.artist-page main::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: var(--grain); opacity: .22; mix-blend-mode: overlay;
}

.artist {
  display: grid; grid-template-columns: calc(506 * var(--u)) 1fr; column-gap: calc(96 * var(--u));
  grid-template-areas: "bio portrait" "bio highlights";
  align-items: start;
  margin: 0 calc(100 * var(--u)) 0 calc(52 * var(--u));
  padding: calc(80 * var(--u)) 0 calc(100 * var(--u));
  border-bottom: 2px solid var(--rule);
}
.artist__bio { grid-area: bio; }
.artist h1 { font-size: max(32px, calc(50 * var(--u))); color: var(--fg); }
.artist__roles { margin-top: calc(10 * var(--u)); font: 700 max(12px, calc(14 * var(--u)))/1.2 var(--f-now); letter-spacing: .12em; text-transform: uppercase; opacity: .8; }
.artist__lead { margin-top: calc(26 * var(--u)); font: 300 max(17px, calc(26 * var(--u)))/1.3 var(--f-gotham); }
.artist__details { margin-top: calc(34 * var(--u)); font: 300 max(15px, calc(20 * var(--u)))/1.3 var(--f-gotham); }
.artist__portrait {
  grid-area: portrait; width: 100%; height: auto; aspect-ratio: 583 / 401; object-fit: cover;
  border-radius: calc(14 * var(--u)); margin-top: calc(-2 * var(--u));
}
.artist__highlights {
  grid-area: highlights;
  margin-top: calc(60 * var(--u)); padding-top: calc(30 * var(--u)); border-top: 2px solid var(--rule);
  font: 300 max(14px, calc(17 * var(--u)))/1.35 var(--f-gotham); color: var(--muted);
}

/* Featured films slider */
.films { position: relative; margin: 0 calc(76 * var(--u)); border-bottom: 2px solid var(--rule); }
.films__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: 100%;
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none;
}
.films__track::-webkit-scrollbar { display: none; }
.film {
  scroll-snap-align: start;
  display: grid; grid-template-columns: calc(276 * var(--u)) 1fr; column-gap: calc(100 * var(--u));
  grid-template-areas: "title title" "media media" "credit logline";
  padding: calc(80 * var(--u)) calc(96 * var(--u)) calc(90 * var(--u));
}
.film--flip { grid-template-areas: "title title" "media media" "logline credit"; grid-template-columns: 1fr calc(276 * var(--u)); }
.film__title { grid-area: title; text-align: center; margin-bottom: calc(50 * var(--u)); font: 700 max(26px, calc(42 * var(--u)))/1.1 var(--f-gotham-bold); }
.film__media { grid-area: media; display: grid; grid-template-columns: calc(276 * var(--u)) 1fr; column-gap: calc(100 * var(--u)); }
.film--flip .film__media { grid-template-columns: 1fr calc(276 * var(--u)); }
.film--flip .film__media > :first-child { order: 2; }
.film__poster { width: 100%; height: 100%; min-height: 0; aspect-ratio: 2 / 3; object-fit: cover; border-radius: calc(12 * var(--u)); }
.film__stills { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: calc(48 * var(--u)) calc(50 * var(--u)); align-content: space-between; }
.film__stills img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: calc(12 * var(--u)); }
.film__logline { grid-area: logline; margin: calc(30 * var(--u)) 0 0; font: italic 300 max(15px, calc(18 * var(--u)))/1.3 var(--f-gotham); }
.film__logline p + p { margin-top: .3em; font-weight: 700; }
.film__credit { grid-area: credit; align-self: start; margin-top: calc(30 * var(--u)); display: flex; flex-direction: column; gap: 2px; font: 300 max(14px, calc(17 * var(--u)))/1.3 var(--f-gotham); }
.film__credit strong { font-family: var(--f-gotham-bold); font-weight: 700; }
.film--flip .film__credit { text-align: right; }
.films__nav {
  position: absolute; top: 50%; z-index: 2; translate: 0 -50%;
  width: max(44px, calc(62 * var(--u))); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center;
  border: 2px solid var(--navy); background: var(--navy); color: var(--white); cursor: pointer;
  transition: opacity .25s, background .25s;
}
.theme-dark .films__nav { background: transparent; border-color: var(--white); }
.films__nav:hover { background: #3A4D66; }
.films__nav:disabled { opacity: 0; pointer-events: none; }
.films__nav svg { width: 46%; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.films__nav--prev { left: calc(-46 * var(--u)); }
.films__nav--next { right: calc(-46 * var(--u)); }

/* Other works: two-up grid of poster + credit */
.other-works { margin: 0 calc(76 * var(--u)); padding: calc(120 * var(--u)) calc(20 * var(--u)) calc(130 * var(--u)); }
.other-works ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: calc(80 * var(--u)) calc(70 * var(--u)); }
.work { display: grid; grid-template-columns: calc(213 * var(--u)) 1fr; column-gap: calc(22 * var(--u)); align-items: end; }
.work__poster { width: 100%; height: auto; aspect-ratio: 213 / 286; object-fit: cover; border-radius: calc(6 * var(--u)); }
.work h3 { align-self: start; font: 500 max(20px, calc(30 * var(--u)))/1.15 var(--f-gotham-bold); margin-bottom: auto; }
.work__text { display: flex; flex-direction: column; height: 100%; gap: .4em; font: 300 max(14px, calc(16 * var(--u)))/1.3 var(--f-gotham); color: var(--muted); }
.work__text h3 { color: var(--fg); }
.work__role { font-weight: 700; color: var(--fg); }

/* Responsive (the Canva design is desktop-only; these keep the same look on small screens) */
@media (min-width: 861px) {
  .about h2, .contact h2 { white-space: nowrap; }
}
@media (max-width: 1000px) {
  .contact { grid-template-columns: 1fr 3px 1.4fr; }
  .contact__logo { width: 100%; }
  .artist { grid-template-columns: 1fr 1fr; }
  .other-works ul { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  :root { --header-h: 76px; }
  .site-header { padding: 0 8px 0 16px; gap: 8px; }
  /* brand left; switcher (when present) and menu button grouped on the right */
  .brand { margin-right: auto; }
  .lang-switch { order: 2; margin-left: 0; padding-left: 0; border-left: 0; }
  .nav-toggle { order: 3; }
  .nav-toggle {
    display: grid; place-items: center; width: 48px; height: 48px;
    border: 0; background: transparent; cursor: pointer; color: var(--navy);
  }
  .nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
    display: block; width: 26px; height: 2px; background: currentColor; border-radius: 2px;
    transition: transform .3s, opacity .3s; content: "";
  }
  .nav-toggle__bars { position: relative; }
  .nav-toggle__bars::before { position: absolute; top: -8px; }
  .nav-toggle__bars::after { position: absolute; top: 8px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(8px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-8px) rotate(-45deg); }
  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--cream); border-bottom: 1px solid #E6E0D6; display: none;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; gap: 0; padding: 8px 16px 20px; }
  .site-nav a { display: block; padding: 14px 0; font-size: 1.15rem; }

  .hero { min-height: 560px; align-items: flex-end; }
  .hero::before { background: linear-gradient(0deg, rgba(11, 19, 32, .75) 0%, rgba(11, 19, 32, .2) 60%, rgba(11, 19, 32, 0) 100%); }
  .hero__content { padding: 32px 20px 96px; }
  .hero__tagline { max-width: 24em; }
  .hero .button { margin-top: 32px; }
  .about { grid-template-columns: 1fr; row-gap: 32px; padding: 56px 20px; }
  .portfolio { padding: 64px 0 48px; }
  .portfolio h2 { margin-bottom: 40px; }
  .artists { padding-inline: 16px; scroll-padding-inline: 16px; gap: 16px; }
  .contact { grid-template-columns: 1fr; row-gap: 32px; padding: 56px 24px; }
  .contact::before { display: none; }
  .contact__logo, .contact__body { grid-column: 1; grid-row: auto; }
  .contact__logo { width: min(60%, 220px); justify-self: start; }
  .contact__body { max-width: none; }

  .artist { grid-template-columns: 1fr; grid-template-areas: "bio" "portrait" "highlights"; row-gap: 32px; margin: 0 20px; padding: 40px 0 48px; }
  .artist__highlights { margin-top: 0; }
  .films { margin: 0 20px; }
  .film, .film--flip { grid-template-columns: 1fr; grid-template-areas: "title" "media" "logline" "credit"; padding: 40px 0 88px; }
  .film__media, .film--flip .film__media { grid-template-columns: 1fr; row-gap: 16px; }
  .film--flip .film__media > :first-child { order: 0; }
  .film__media > :first-child { width: min(70%, 280px); justify-self: center; }
  .film__poster { height: auto; }
  .film__stills { gap: 12px; }
  .film--flip .film__credit { text-align: left; }
  .films__nav { top: auto; bottom: 20px; translate: none; }
  .films__nav--prev { left: 0; }
  .films__nav--next { right: 0; }
  .other-works { margin: 0 20px; padding: 48px 0 64px; }
  .other-works ul { gap: 40px; }
  .work { grid-template-columns: 40% 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
}

/* Footer: copyright line under the contact section */
.site-footer {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  padding: 18px calc(52 * var(--u)); background: #1A2534; color: #C9CFD8;
  font: 400 max(12px, calc(13 * var(--u)))/1.4 var(--f-now);
}
.site-footer p { margin: 0; }
.site-footer a { color: var(--label); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
@media (max-width: 860px) { .site-footer { padding: 18px 20px; flex-direction: column; } }

/* Artist links (IMDb, festivals, press) */
.artist-links { margin: 0 calc(76 * var(--u)); padding: calc(70 * var(--u)) calc(20 * var(--u)) calc(110 * var(--u)); }
.artist-links h2 { font: 700 max(20px, calc(28 * var(--u)))/1.2 var(--f-gotham-bold); margin-bottom: calc(20 * var(--u)); }
.artist-links ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 12px; }
.artist-links a {
  display: inline-flex; align-items: center; min-height: 36px; padding: 0 16px;
  border: 1.5px solid currentColor; border-radius: 999px; text-decoration: none;
  font: 400 max(13px, calc(15 * var(--u)))/1 var(--f-now); transition: background .25s, color .25s;
}
.artist-links a:hover { background: var(--fg); color: #F1E6D6; }
.theme-dark .artist-links a:hover { color: #26354B; }
@media (max-width: 860px) { .artist-links { margin: 0 20px; padding: 40px 0 64px; } }

/* Work without a poster on file: a typographic stand-in with the same footprint */
.work__poster--blank {
  display: grid; place-items: center; aspect-ratio: 213 / 286; padding: 12px; text-align: center;
  border: 1.5px solid currentColor; border-radius: calc(6 * var(--u)); opacity: .55;
  font: 500 max(14px, calc(18 * var(--u)))/1.2 var(--f-gotham-bold);
}


/* Animated gradient blobs: four soft colour fields drifting slowly behind a section's content.
   Transform-only animation (GPU-composited), long cycles so the motion reads as light, not movement.
   Colours come from --blob-1..4 set per section; frozen for prefers-reduced-motion by the global rule. */
.blobs { position: absolute !important; inset: 0; z-index: 0 !important; overflow: hidden; pointer-events: none; }
.blobs span {
  position: absolute; width: 46vmax; aspect-ratio: 1; border-radius: 50%;
  filter: blur(70px); will-change: transform; opacity: .9;
  animation: blob-drift 32s ease-in-out infinite alternate;
}
.blobs span:nth-child(1) { background: radial-gradient(circle, var(--blob-1) 0%, transparent 68%); top: -18%; left: -14%; animation-duration: 34s; }
.blobs span:nth-child(2) { background: radial-gradient(circle, var(--blob-2) 0%, transparent 68%); top: 10%; right: -20%; animation-duration: 40s; animation-delay: -12s; }
.blobs span:nth-child(3) { background: radial-gradient(circle, var(--blob-3) 0%, transparent 68%); bottom: -30%; left: 25%; animation-duration: 28s; animation-delay: -6s; }
.blobs span:nth-child(4) { background: radial-gradient(circle, var(--blob-4) 0%, transparent 68%); bottom: -20%; right: 10%; width: 32vmax; animation-duration: 26s; animation-delay: -18s; }
@keyframes blob-drift {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  33%  { transform: translate3d(6%, 8%, 0) scale(1.08); }
  66%  { transform: translate3d(-5%, 4%, 0) scale(.95); }
  100% { transform: translate3d(4%, -6%, 0) scale(1.04); }
}

/* Placeholders: branded stand-ins until a real photo exists */
img.is-placeholder { background: #26364A; }

/* Film images open the gallery */
.film__open { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: calc(12 * var(--u)); }
.film__open img { transition: transform .5s cubic-bezier(.2, .7, .2, 1), filter .3s; }
.film__open:hover img, .film__open:focus-visible img { transform: scale(1.025); filter: brightness(1.06); }
.film__media > .film__open { overflow: hidden; }
.film__stills li { position: relative; overflow: hidden; border-radius: calc(12 * var(--u)); }
.film__more {
  position: absolute; right: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: 999px; pointer-events: none;
  background: rgba(11, 19, 32, .72); color: var(--white); backdrop-filter: blur(4px);
  font: 700 max(12px, calc(14 * var(--u)))/1 var(--f-now);
}
.film__more svg { width: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.film__gallery-link {
  justify-self: start; align-self: flex-start; margin-top: 10px; padding: 6px 14px; border: 1.5px solid currentColor; border-radius: 999px;
  background: none; color: inherit; cursor: pointer; font: 400 max(12px, calc(14 * var(--u)))/1 var(--f-now);
}
.film--flip .film__gallery-link { align-self: flex-end; }
.film__gallery-link:hover { background: var(--fg); color: var(--page-contrast, #F1E6D6); }
.theme-dark .film__gallery-link:hover { color: #26354B; }
.film__year { font: 300 .55em/1 var(--f-gotham); opacity: .7; margin-left: .3em; }

/* Stacked films (one section per film, newest first, alternating sides) */
.films--stack { border-bottom: 0; }
.films--stack .film { border-bottom: 2px solid var(--rule); }
.films--stack .film:last-child { border-bottom-width: 2px; }

/* Lightbox gallery */
.lightbox {
  width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgba(8, 12, 20, .94); color: var(--white); overflow: hidden;
}
.lightbox::backdrop { background: rgba(8, 12, 20, .6); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox__figure { margin: 0; display: grid; justify-items: center; gap: 14px; max-width: calc(100vw - 160px); }
.lightbox__img { max-width: 100%; max-height: calc(100vh - 120px); object-fit: contain; border-radius: 8px; }
.lightbox__caption { font: 400 14px/1.3 var(--f-now); opacity: .85; text-align: center; }
.lightbox__count { opacity: .7; margin-left: .5em; font-variant-numeric: tabular-nums; }
.lightbox__nav, .lightbox__close {
  position: absolute; display: grid; place-items: center; width: 52px; aspect-ratio: 1; border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, .7); background: rgba(255, 255, 255, .06); color: var(--white); cursor: pointer;
}
.lightbox__nav:hover, .lightbox__close:hover { background: rgba(255, 255, 255, .18); }
.lightbox__nav svg, .lightbox__close svg { width: 46%; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.lightbox__nav--prev { left: 24px; top: 50%; translate: 0 -50%; }
.lightbox__nav--next { right: 24px; top: 50%; translate: 0 -50%; }
.lightbox__close { right: 24px; top: 24px; width: 44px; }
@media (max-width: 860px) {
  .lightbox__figure { max-width: calc(100vw - 24px); }
  .lightbox__nav { top: auto; bottom: 20px; translate: none; }
}

/* Link chips with the destination's mark */
.artist-links .chip { gap: 8px; padding: 0 16px 0 10px; }
.chip__icon { width: 20px; height: 20px; flex: none; }
.chip__icon--imdb { width: 30px; }

/* 404 */
.not-found { min-height: 100vh; display: grid; place-content: center; justify-items: center; gap: 22px; padding: 40px 20px; text-align: center; }
.not-found > img { width: 96px; height: auto; position: relative; z-index: 1; }
.not-found h1 { font-size: max(30px, calc(46 * var(--u))); position: relative; z-index: 1; }
.not-found p { max-width: 32em; font: 300 18px/1.4 var(--f-gotham); position: relative; z-index: 1; }
.not-found .button { position: relative; z-index: 1; }

/* Artist carousel controls: looping arrows + one dot per artist */
.artists-nav { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: calc(34 * var(--u)); }
.artists-nav[hidden] { display: none; }
.artists-nav__dots { display: flex; gap: 10px; }
.artists-nav__dot {
  width: 11px; height: 11px; padding: 0; border-radius: 50%; cursor: pointer;
  border: 1.5px solid var(--navy); background: transparent; transition: background .25s, transform .25s;
}
.artists-nav__dot:hover { transform: scale(1.2); }
.artists-nav__dot[aria-current="true"] { background: var(--navy); transform: scale(1.15); }
.artists-nav__arrow {
  display: grid; place-items: center; width: 44px; aspect-ratio: 1; border-radius: 50%; cursor: pointer;
  border: 1.5px solid var(--navy); background: rgba(255, 255, 255, .35); color: var(--navy); transition: background .25s, color .25s;
}
.artists-nav__arrow:hover { background: var(--navy); color: var(--cream); }
.artists-nav__arrow svg { width: 46%; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
/* dots are small targets: give them a 24px hit area without changing the look */
.artists-nav__dot { position: relative; }
.artists-nav__dot::after { content: ""; position: absolute; inset: -7px; }
