@font-face { font-family: "Europa"; src: url("https://use.typekit.net/af/bed698/00000000000000007735a082/31/l?subset_id=2&fvd=n3&v=3") format("woff2"); font-style: normal; font-weight: 300; font-display: swap; }
@font-face { font-family: "Europa"; src: url("https://use.typekit.net/af/5aaf18/00000000000000007735a08e/31/l?subset_id=2&fvd=n4&v=3") format("woff2"); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: "Europa"; src: url("https://use.typekit.net/af/5bb28b/00000000000000007735a081/31/l?subset_id=2&fvd=n7&v=3") format("woff2"); font-style: normal; font-weight: 700; font-display: swap; }
@font-face { font-family: "Freight Sans Compressed"; src: url("https://use.typekit.net/af/ebb09d/0000000000000000775e200e/31/l?subset_id=2&fvd=n4&v=3") format("woff2"); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: "Freight Sans Compressed"; src: url("https://use.typekit.net/af/e97e3d/0000000000000000775e200c/31/l?subset_id=2&fvd=n7&v=3") format("woff2"); font-style: normal; font-weight: 700; font-display: swap; }
@font-face { font-family: "Futura PT"; src: url("https://use.typekit.net/af/26b618/000000000000000077586b59/31/l?subset_id=2&fvd=n4&v=3") format("woff2"); font-style: normal; font-weight: 400; font-display: swap; }
:root { color-scheme: dark; font-family: "Europa", Arial, Helvetica, sans-serif; background: #070707; color: #fff; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: #070707; }
body { margin: 0; background: #070707; }
a { color: inherit; }
button { font: inherit; }
.home-page { overflow: hidden; }
.home { position: relative; display: grid; min-height: 100svh; place-items: center; overflow: hidden; isolation: isolate; background: #271c27; }
.home::before { position: absolute; z-index: -2; inset: 0; content: ""; background: url("assets/home-desktop.jpg") center / cover no-repeat; }
.home::after { position: absolute; z-index: -1; inset: 0; content: ""; background: rgba(24, 13, 24, .11); }
.home h1 { position: absolute; top: 40px; left: 0; width: 100%; margin: 0; text-align: center; color: #fff; font-family: "Futura PT", Arial, sans-serif; font-size: 18px; font-weight: 400; letter-spacing: .6em; line-height: 1; text-indent: .6em; text-transform: uppercase; }
.home nav { display: flex; flex-direction: column; align-items: center; gap: 15px; transform: translateY(-1px); }
.home nav a { min-width: 280px; color: #fff; font-family: "Futura PT", Arial, sans-serif; font-size: 11px; font-weight: 500; letter-spacing: 1.7em; line-height: 28.6px; text-align: center; text-decoration: none; text-indent: 1.7em; transition: opacity .22s ease; }
.home nav a:nth-child(4) { margin-top: 17px; }
.home nav a:hover, .home nav a:focus-visible { opacity: .56; outline: none; }
.gallery-page { color: #222; background: #fff; font-family: "Europa", Arial, Helvetica, sans-serif; }
.portfolio-header { display: grid; gap: 20px; padding: 65px 5.6% 49px; text-align: center; }
.portfolio-name { color: inherit; font-family: "Freight Sans Compressed", Arial, sans-serif; font-size: 24px; font-weight: 400; letter-spacing: 0; line-height: 1.6; text-decoration: none; text-transform: uppercase; }
.portfolio-header nav { display: flex; width: min(920px, 83%); align-items: center; justify-content: space-between; gap: 18px; margin: 0 auto; }
.portfolio-header nav a, .portfolio-footer a { color: inherit; font-family: "Freight Sans Compressed", Arial, sans-serif; font-size: 17px; font-weight: 400; letter-spacing: .1em; text-decoration: none; }
.portfolio-header nav a:hover, .portfolio-footer a:hover { opacity: .5; }
.portfolio-content { padding: 32px 5.6% 46px; }
.portfolio-content > h1 { margin: 0 0 20px; font-size: 15px; font-style: italic; font-weight: 300; letter-spacing: .6px; }
.portfolio-subnav { display: flex; gap: 25px; margin: 0 0 21px; color: #898989; font-size: 15px; font-style: italic; font-weight: 300; letter-spacing: .2px; }
.portfolio-subnav a { color: inherit; text-decoration: none; }
.portfolio-subnav a:hover { color: #222; }
.exported-content { display: grid; gap: 28px; }
.exported-content .image-gallery-wrapper { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); overflow: hidden; background: #e5e5e5; }
.exported-content .image-gallery-wrapper img { display: block; width: 100%; height: auto; min-height: 0; aspect-ratio: 16 / 9; object-fit: cover; }
.exported-content .sqs-html-content { margin: 0 0 12px; color: #575757; font-size: 15px; font-weight: 300; letter-spacing: .6px; line-height: 1; }
.exported-content .sqs-html-content p { margin: 0 0 7px; }
.exported-content iframe { width: 100%; max-width: 100%; border: 0; aspect-ratio: 16 / 9; height: auto; }
.portfolio-footer { display: flex; justify-content: space-between; padding: 36px 5.5%; border-top: 1px solid #ececec; }
.not-found { margin: 0; color: #777; }
.intro, .reel { min-height: 100svh; background: #070707; }
.intro { position: relative; display: grid; place-items: center; overflow: hidden; background: radial-gradient(circle at 22% 18%, #1a2337 0, transparent 34%), radial-gradient(circle at 76% 82%, #332014 0, transparent 32%), #070707; }
.intro::after { content: ""; position: absolute; inset: 0; opacity: .35; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 70px 70px; mask-image: linear-gradient(to bottom, transparent, #000 30%, #000 70%, transparent); }
.masthead { position: absolute; z-index: 2; top: 0; left: 0; width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 28px 34px; font-size: 11px; font-weight: 700; letter-spacing: .18em; }
.wordmark { text-decoration: none; }
.menu-toggle { display: none; }
.navigation { display: flex; gap: 25px; }
.navigation a { text-decoration: none; opacity: .78; transition: opacity .2s; }
.navigation a:hover { opacity: 1; }
.intro-copy { position: relative; z-index: 1; text-align: center; font-size: clamp(15px, 1.8vw, 24px); letter-spacing: .2em; line-height: 1.7; }
.scroll-prompt { position: absolute; z-index: 1; bottom: 26px; font-size: 10px; letter-spacing: .18em; opacity: .7; }
.reel { position: relative; display: grid; place-items: center; overflow: hidden; background: #000; }
.reel-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .5s ease; }
.reel.is-ready .reel-video { opacity: 1; }
.reel-loader { position: absolute; inset: 0; z-index: 2; background: #000; transition: opacity .45s ease; }
.reel.is-ready .reel-loader { opacity: 0; pointer-events: none; }
.reel-poster, .reel-start { display: none; }
.reel.has-started .reel-poster, .reel.has-started .reel-start { opacity: 0; pointer-events: none; }
.reel-controls { position: absolute; z-index: 3; top: 50%; left: 5%; width: 90%; transform: translateY(-50%); opacity: 0; transition: opacity .25s ease; }
.reel:hover .reel-controls, .reel:focus-within .reel-controls { opacity: 1; }
.reel-track { position: relative; width: 100%; height: 14px; cursor: pointer; }
.reel-track::before, .reel-track span { position: absolute; top: 6px; left: 0; height: 2px; }
.reel-track::before { width: 100%; content: ""; background: rgba(255,255,255,.42); }
.reel-track span { width: 0; background: #fff; }
.reel-player-title { margin: 0 0 7px; font-size: 10px; font-weight: 700; letter-spacing: .14em; }
.reel-meta { display: flex; align-items: flex-start; justify-content: space-between; gap: 22px; margin-top: 7px; }
.reel-time { margin: 0; font-size: 10px; letter-spacing: .12em; opacity: .65; }
.reel-actions { display: flex; gap: 18px; }
.reel-toggle, .reel-actions button { border: 0; padding: 0; color: #fff; background: transparent; cursor: pointer; font-size: 10px; font-weight: 700; letter-spacing: .14em; opacity: .82; }
.reel-toggle { display: none; }
.reel h1 { position: absolute; z-index: 3; right: 5%; bottom: 28px; left: 5%; margin: 0; text-align: center; font-size: 12px; font-weight: 700; letter-spacing: .14em; }
.fullscreen-sound { display: none; border: 1px solid rgba(255,255,255,.52); border-radius: 999px; padding: 9px 13px; color: #fff; background: rgba(0,0,0,.24); font-size: 10px; font-weight: 700; letter-spacing: .14em; }
footer { display: flex; min-height: 24svh; align-items: center; justify-content: space-between; padding: 28px 34px; font-size: 11px; font-weight: 700; letter-spacing: .13em; }
footer p { margin: 0; }
footer a { text-decoration: none; }
.reel:fullscreen .reel-controls, .reel:fullscreen h1 { display: none; }
.reel:fullscreen .fullscreen-sound { position: fixed; z-index: 4; right: 26px; bottom: 24px; display: block; }
.reel-next {
  position: absolute;
  z-index: 4;
  bottom: 22px;
  left: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  color: rgba(255,255,255,.78);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .14em;
  text-decoration: none;
  transform: translateX(-50%);
  transition: opacity .35s ease;
}
.reel-next b { font-size: 24px; font-weight: 300; line-height: 1; animation: reel-next-drift 1.9s ease-in-out infinite; }
.reel-next.is-hidden { opacity: 0; pointer-events: none; }
@keyframes reel-next-drift {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}
.reel-masthead { position: fixed; z-index: 10; top: 0; right: 0; left: 0; display: flex; justify-content: space-between; padding: 23px 25px; mix-blend-mode: difference; }
.reel-masthead a { color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-decoration: none; }
.site-menu-button { display: none; }
@media (max-width: 700px) {
  .home::before { background-image: url("assets/home-mobile.jpg"); background-position: center; }
  .home h1 { top: 35px; font-size: 14px; letter-spacing: .45em; text-indent: .45em; }
  .home nav { gap: 11px; }
  .home nav a { min-width: 240px; font-size: 10px; letter-spacing: 1.25em; line-height: 26px; text-indent: 1.25em; }
  .home nav a:nth-child(4) { margin-top: 12px; }
  .portfolio-header { gap: 13px; padding: 42px 20px 35px; }
  .portfolio-name { font-size: 21px; }
  .portfolio-header nav { display: grid; width: 100%; grid-template-columns: repeat(3, 1fr); gap: 17px 9px; }
  .portfolio-header nav a { font-size: 13px; letter-spacing: .07em; }
  .portfolio-content { padding: 22px 20px 35px; }
  .portfolio-content > h1 { font-size: 14px; }
  .portfolio-subnav { gap: 17px; margin-bottom: 17px; font-size: 13px; }
  .exported-content .image-gallery-wrapper { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .exported-content .image-gallery-wrapper img { min-height: 135px; }
  .exported-content .sqs-html-content { font-size: 13px; }
  .masthead { padding: 21px 19px; font-size: 10px; }
  .menu-toggle { display: block; border: 0; padding: 0; color: #fff; background: transparent; font-size: 10px; font-weight: 700; letter-spacing: .16em; }
  .navigation { position: absolute; top: 64px; right: 19px; display: none; flex-direction: column; align-items: flex-end; gap: 12px; }
  .masthead.menu-open .navigation { display: flex; }
  .reel-controls { top: auto; bottom: 18px; transform: none; opacity: 0; pointer-events: none; }
  .reel.controls-visible .reel-controls { opacity: 1; pointer-events: auto; }
  .reel-track, .reel-time, .reel h1 { display: none; }
  .reel-actions { justify-content: center; margin-top: 0; }
  .reel-toggle { display: inline; position: static; }
  .reel-actions { gap: 22px; }
  .reel-next { bottom: 70px; font-size: 10px; }
  .reel-next b { font-size: 22px; }
  footer { min-height: 19svh; padding: 22px 19px; flex-direction: column; align-items: flex-start; justify-content: center; gap: 11px; font-size: 10px; }
}

/* ESSAIS SITE — direction éditoriale inspirée des références choisies. */
.test-home { color: #f5f5f2; background: #050505; font-family: "Europa", Arial, sans-serif; }
.test-home ::selection { color: #050505; background: #f5f5f2; }
.test-header { position: fixed; z-index: 20; top: 0; right: 0; left: 0; display: flex; align-items: flex-start; justify-content: space-between; padding: 24px 27px; color: #fff; }
.test-brand { display: flex; flex-direction: column; gap: 4px; color: #fff; text-decoration: none; }
.test-brand span { font-size: 15px; font-weight: 700; letter-spacing: .08em; }
.test-brand small { font-size: 10px; font-weight: 400; letter-spacing: .17em; }
.test-navigation { display: flex; gap: clamp(18px, 2.4vw, 40px); }
.test-navigation a { color: #fff; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-decoration: none; }
.test-navigation sup { margin-left: 2px; font-size: 7px; }
.test-navigation a, .test-enter, .test-footer a { transition: opacity .2s ease; }
.test-navigation a:hover, .test-enter:hover, .test-footer a:hover { opacity: .48; }
.test-menu-button { display: none; }
.test-hero { position: relative; min-height: 100svh; overflow: hidden; background: #080808; }
.test-hero-media, .test-hero-media img, .test-hero-media video, .test-hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.test-hero-media img, .test-hero-media video { object-fit: cover; }
.test-hero-media img { filter: saturate(.72) contrast(1.05); transition: opacity 1.2s ease; }
.test-hero-media video { opacity: 0; transition: opacity 1.2s ease; }
.test-hero.has-video .test-hero-media img { opacity: 0; }
.test-hero.has-video .test-hero-media video { opacity: 1; }
.test-hero-shade { background: linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,.02) 47%, rgba(0,0,0,.52)); }
.test-hero h1 { position: absolute; right: 24px; bottom: 54px; left: 24px; display: flex; flex-direction: column; margin: 0; color: #fff; font-size: clamp(55px, 10vw, 150px); font-weight: 400; letter-spacing: -.065em; line-height: .72; }
.test-hero h1 span { white-space: nowrap; }
.test-hero h1 em { align-self: flex-end; margin-right: 4vw; font-family: Georgia, "Times New Roman", serif; font-size: .72em; font-weight: 400; letter-spacing: -.055em; line-height: .95; }
.test-location { position: absolute; bottom: 25px; left: 27px; margin: 0; font-size: 9px; font-weight: 700; letter-spacing: .1em; line-height: 1.45; }
.test-enter { position: absolute; right: 27px; bottom: 26px; color: #fff; font-size: 9px; font-weight: 700; letter-spacing: .1em; text-decoration: none; }
.test-enter span { margin-left: 12px; }
.test-works { padding: 120px 24px 28px; }
.test-section-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 52px; border-top: 1px solid rgba(255,255,255,.32); padding-top: 13px; }
.test-works:not(.creation-works) .test-section-heading { position: sticky; z-index: 16; top: 76px; margin-bottom: 39px; padding-bottom: 13px; background: transparent; }
.test-section-heading > p, .test-about > p, .test-reels-callout > p { margin: 0; font-size: 10px; font-weight: 700; letter-spacing: .1em; }
.test-view-switch { display: flex; gap: 17px; }
.test-view-switch button, .test-filters button { border: 0; padding: 0; color: rgba(255,255,255,.62); background: none; cursor: pointer; font-size: 12px; font-weight: 700; letter-spacing: .1em; }
.test-view-switch button.is-active, .test-filters button.is-active { color: #fff; }

.test-filters { display: flex; flex-wrap: wrap; gap: 10px 25px; margin-bottom: 20px; }
.test-projects { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 8px; }
.test-project { min-width: 0; color: #fff; text-decoration: none; }
.test-project[hidden] { display: none; }
.test-project figure { position: relative; margin: 0; overflow: hidden; background: #111; aspect-ratio: 16 / 9; }
.test-project img { --thumbnail-zoom: 1.001; --thumbnail-hover-zoom: 1.035; width: 100%; height: 100%; object-fit: cover; object-position: center; filter: saturate(.88); transform: scale(var(--thumbnail-zoom)); transition: transform .8s cubic-bezier(.22,.61,.36,1), filter .5s ease; }
.test-project figure video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .42s ease; }
.test-project figure.is-playing video { opacity: 1; }
.test-project figure.is-playing img { opacity: 0; }
.test-project:hover img { filter: saturate(1.05); transform: scale(var(--thumbnail-hover-zoom)); }

/* Images stay visually absent until their bitmap has loaded and decoded. */
html.image-reveal-enabled .test-projects[data-current-view="grid"] .test-project img:not(.is-revealed),
html.image-reveal-enabled .creation-tile img:not(.is-revealed),
html.image-reveal-enabled .project-gallery-frame img:not(.is-revealed),
html.image-reveal-enabled .contact-index .image-gallery-wrapper img:not(.is-revealed),
html.image-reveal-enabled .test-about img:not(.is-revealed) {
  visibility: hidden;
  color: transparent;
  font-size: 0;
  opacity: 0;
}
img.gb-reveal-media.is-failed {
  visibility: hidden !important;
  color: transparent !important;
  opacity: 0 !important;
}
img.gb-reveal-media.is-loading {
  visibility: hidden;
  color: transparent;
}

/* Grid thumbnails reveal only after load/decode, without moving their frame. */
.test-projects[data-current-view="grid"] .test-project img.gb-reveal-media {
  opacity: 0;
  transform: scale(var(--thumbnail-reveal-start, 1.06));
  will-change: opacity, transform;
  transition: opacity .65s cubic-bezier(.22,1,.36,1), transform .65s cubic-bezier(.22,1,.36,1), filter .5s ease;
}
.creation-tile img.gb-reveal-media {
  opacity: 0;
  transform: scale(1.06);
  will-change: opacity, transform;
  transition: opacity .65s cubic-bezier(.22,1,.36,1), transform .65s cubic-bezier(.22,1,.36,1), filter .5s ease;
}
.test-projects[data-current-view="grid"] .test-project img.gb-reveal-media.is-revealed {
  visibility: visible;
  opacity: 1;
  transform: scale(var(--thumbnail-zoom, 1));
  will-change: auto;
}
.creation-tile img.gb-reveal-media.is-revealed {
  visibility: visible;
  opacity: 1;
  transform: scale(1);
  will-change: auto;
}

/* Editorial/project stills keep their individual one-shot reveal. */
.project-gallery-frame img.gb-reveal-media,
.contact-index .image-gallery-wrapper img.gb-reveal-media,
.test-about img.gb-reveal-media {
  opacity: 0;
  transform: scale(1.06);
  will-change: opacity, transform;
  transition: opacity .65s cubic-bezier(.22,1,.36,1), transform .65s cubic-bezier(.22,1,.36,1), filter .5s ease;
}
.project-gallery-frame img.gb-reveal-media.is-revealed,
.contact-index .image-gallery-wrapper img.gb-reveal-media.is-revealed,
.test-about img.gb-reveal-media.is-revealed {
  visibility: visible;
  opacity: 1;
  transform: scale(var(--thumbnail-zoom, 1));
  will-change: auto;
}
.test-projects[data-current-view="grid"] .test-project:hover img.gb-reveal-media.is-revealed {
  transform: scale(var(--thumbnail-hover-zoom));
}
.test-project > div { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 3px 12px; padding-top: 7px; }
.test-project h2 { margin: 0; font-size: 13px; font-weight: 700; letter-spacing: .035em; }
.test-project p { grid-column: 1; margin: 0; color: rgba(255,255,255,.5); font-size: 9px; letter-spacing: .07em; }
.test-project span { grid-row: 1 / 3; grid-column: 2; font-size: 9px; }
.test-projects[data-current-view="grid"] { gap: 8px; }
#works .test-projects[data-current-view="grid"] .test-project[data-category="narrative"] { grid-column: 1; }
#works .test-projects[data-current-view="grid"] .test-project[data-category="commercial"] { grid-column: 2; }
#works .test-projects[data-current-view="grid"] .test-project[data-slug="eve"] { grid-column: 2; }
.test-projects[data-current-view="grid"] .test-project { position: relative; overflow: hidden; }
.test-projects[data-current-view="grid"] .test-project > div {
  position: absolute;
  z-index: 3;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 24px;
  background: rgba(0, 0, 0, .38);
  opacity: 0;
  pointer-events: none;
  text-align: center;
  transition: opacity .35s ease;
}
.test-projects[data-current-view="grid"] .test-project:hover > div,
.test-projects[data-current-view="grid"] .test-project:focus-visible > div,
.test-projects[data-current-view="grid"] .test-project:active > div { opacity: 1; }
.test-projects[data-current-view="grid"] .test-project h2 {
  max-width: 92%;
  color: #fff;
  font-size: clamp(22px, 3.1vw, 46px);
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: .95;
  text-wrap: balance;
}
.test-projects[data-current-view="grid"] .test-project p {
  max-width: 88%;
  color: rgba(255, 255, 255, .82);
  font-size: clamp(8px, .75vw, 11px);
  font-weight: 700;
  letter-spacing: .09em;
  line-height: 1.35;
}
.test-projects[data-current-view="grid"] .test-project span { display: none; }
.test-projects[data-current-view="list"] { display: block; border-top: 1px solid rgba(255,255,255,.25); }
.test-projects[data-current-view="list"] .test-project { display: grid; grid-template-columns: 0 1fr; border-bottom: 1px solid rgba(255,255,255,.25); transition: grid-template-columns .45s ease; }
.test-projects[data-current-view="list"] .test-project.is-list-active { grid-template-columns: min(30vw, 430px) 1fr; }
.test-projects[data-current-view="list"] .test-project figure { width: 100%; opacity: 0; aspect-ratio: 16 / 7; transition: opacity .3s ease; }
.test-projects[data-current-view="list"] .test-project.is-list-active figure { opacity: 1; }
.test-projects[data-current-view="list"] .test-project > div { align-content: center; min-height: 82px; padding: 10px 0 10px 16px; }
.test-projects[data-current-view="list"] .test-project h2 { font-size: clamp(22px, 3vw, 48px); font-weight: 400; letter-spacing: -.04em; }
.test-reels-callout { min-height: 83svh; display: flex; flex-direction: column; justify-content: space-between; margin: 130px 24px 0; border-top: 1px solid rgba(255,255,255,.32); padding: 13px 0 45px; }
.test-reels-callout > a { position: relative; display: flex; flex-direction: column; align-items: flex-start; color: #fff; font-size: clamp(64px, 12vw, 180px); letter-spacing: -.07em; line-height: .72; text-decoration: none; }
.test-reels-callout em { align-self: flex-end; margin-right: 4vw; font-family: Georgia, "Times New Roman", serif; font-size: .69em; font-weight: 400; }
.test-reels-callout b { position: absolute; top: 0; right: 0; font-size: .25em; font-weight: 400; letter-spacing: 0; }
.test-about { display: grid; min-height: 75svh; grid-template-columns: 25% 75%; margin: 0 24px; border-top: 1px solid rgba(255,255,255,.32); padding: 13px 0 80px; }
.test-about > div { align-self: center; }
.test-about h2 { margin: 0; font-size: clamp(42px, 7vw, 110px); font-weight: 400; letter-spacing: -.055em; line-height: .86; }
.test-about h2 em { font-family: Georgia, "Times New Roman", serif; font-weight: 400; }
.test-about > div > p { max-width: 520px; margin: 48px 0 0 33%; color: rgba(255,255,255,.62); font-size: 16px; font-weight: 300; line-height: 1.55; }
.test-footer { padding: 28px 24px 23px; color: #050505; background: #efefea; }
.test-footer > p { margin: 0 0 18vh; font-size: 10px; font-weight: 700; letter-spacing: .1em; }
.test-footer > a { display: inline-block; color: #050505; font-size: clamp(27px, 6.4vw, 98px); font-weight: 400; letter-spacing: -.055em; line-height: 1; text-decoration: none; }
.test-footer > div { display: flex; justify-content: space-between; margin-top: 19vh; font-size: 10px; font-weight: 700; letter-spacing: .1em; }
.test-footer > div a { color: #050505; text-decoration: none; }
.test-reel-link { display: grid; min-height: 84svh; place-items: center; padding: 30px 20px; background: #050505; }
.test-reel-link a { color: #fff; font-size: clamp(96px, 26vw, 390px); font-weight: 700; letter-spacing: -.085em; line-height: .75; text-decoration: none; transition: opacity .25s ease; }
.test-reel-link a:hover { opacity: .42; }
.has-site-reel-end .portfolio-content:not(.works-index) { padding-bottom: 28px; }
.has-site-reel-end .contact-index { padding-bottom: 28px; }
.test-social { position: relative; padding: 0 10px 25px; background: #050505; }
.test-social-grid { display: grid; min-height: 88svh; grid-template-columns: 1.05fr .72fr 1.05fr; grid-template-rows: repeat(2, 1fr); gap: 8px; }
.test-social-grid a { position: relative; min-height: 0; overflow: hidden; background: #111; }
.test-social-grid a:first-child { grid-row: 1 / 3; }
.test-social-grid a:last-child { grid-row: 1 / 3; grid-column: 3; }
.test-social-grid img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.84); transform: scale(1.001); transition: filter .45s ease, transform .8s cubic-bezier(.22,.61,.36,1); }
.test-social-grid a:hover img { filter: saturate(1.08); transform: scale(1.025); }
.test-social-actions { display: flex; justify-content: center; gap: 12px; padding: 34px 0 8px; }
.test-social-actions a { display: grid; width: 52px; height: 52px; place-items: center; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; color: #fff; transition: color .25s ease, background .25s ease; }
.test-social-actions a:hover { color: #050505; background: #fff; }
.test-social-actions svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.35; }
.test-social-actions .is-filled { fill: currentColor; stroke: none; }

@media (max-width: 700px) {
  .test-header { padding: 17px 16px; }
  .test-brand span { font-size: 13px; }
  .test-brand small { font-size: 8px; }
  .test-menu-button { position: relative; z-index: 2; display: block; border: 0; padding: 0; color: #fff; background: none; font-size: 10px; font-weight: 700; letter-spacing: .1em; }
  .test-navigation { position: fixed; inset: 0; display: none; flex-direction: column; justify-content: flex-end; gap: 14px; padding: 80px 16px 28px; background: #050505; }
  .test-header.menu-is-open .test-navigation { display: flex; }
  .test-navigation a { font-size: clamp(42px, 14vw, 68px); font-weight: 400; letter-spacing: -.055em; line-height: .9; }
  .test-hero h1 { right: 15px; bottom: 88px; left: 15px; font-size: clamp(49px, 18vw, 86px); line-height: .8; }
  .test-hero h1 span { white-space: normal; }
  .test-hero h1 em { margin-right: 0; font-size: .61em; }
  .test-location { bottom: 18px; left: 16px; }
  .test-enter { right: 16px; bottom: 19px; }
  .test-works { padding: 82px 10px 20px; }
  .test-section-heading { margin-bottom: 35px; }
  .test-works:not(.creation-works) .test-section-heading { top: 64px; margin-bottom: 24px; padding-bottom: 11px; }
  .gallery-page .test-works:not(.creation-works) .test-section-heading { top: 108px; }
  .test-filters { gap: 9px 17px; }
  .test-projects { grid-template-columns: 1fr; gap: 6px; }
  #works .test-projects[data-current-view="grid"] .test-project[data-category] { grid-column: 1; }
  .test-projects[data-current-view="grid"] .test-project > div { gap: 6px; padding: 18px; }
  .test-projects[data-current-view="grid"] .test-project h2 { font-size: clamp(24px, 8vw, 40px); }
  .test-projects[data-current-view="grid"] .test-project p { font-size: 9px; }
  .test-projects[data-current-view="list"] .test-project, .test-projects[data-current-view="list"] .test-project.is-list-active { grid-template-columns: 0 1fr; }
  .test-projects[data-current-view="list"] .test-project figure { display: none; }
  .test-projects[data-current-view="list"] .test-project > div { padding-left: 0; }
  .test-projects[data-current-view="list"] .test-project h2 { font-size: 25px; }
  .test-reels-callout { min-height: 62svh; margin: 90px 10px 0; padding-bottom: 28px; }
  .test-reels-callout > a { font-size: 17vw; line-height: .78; }
  .test-about { min-height: 70svh; display: flex; flex-direction: column; margin: 0 10px; padding-bottom: 50px; }
  .test-about > div { margin-top: auto; }
  .test-about h2 { font-size: 13vw; }
  .test-about > div > p { margin: 34px 0 0 20%; font-size: 15px; }
  .test-footer { padding: 18px 10px; }
  .test-footer > p { margin-bottom: 15vh; }
  .test-footer > a { font-size: 7.4vw; }
  .test-footer > div { margin-top: 16vh; }
  .test-social { padding: 0 6px 19px; }
  .test-social-grid { min-height: auto; grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(2, min(55vw, 280px)); gap: 5px; }
  .test-social-grid a:first-child { grid-row: auto; }
  .test-social-grid a:last-child { grid-row: auto; grid-column: auto; }
  .test-social-actions { padding-top: 25px; }
  .test-social-actions a { width: 48px; height: 48px; }
  .test-reel-link { min-height: 62svh; padding: 24px 10px; }
  .test-reel-link a { font-size: 28vw; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .test-project img, .test-hero-media img, .test-hero-media video { transition: none; }
  .gb-reveal-media, .gb-reveal-media.is-revealed { opacity: 1 !important; transform: scale(var(--thumbnail-zoom, 1)) !important; transition: none !important; }
  .reel-next b { animation: none; }
}

/* Preserve the enlarged navigation scale while restoring the lighter editorial cut. */
body .test-brand span,
body .test-navigation a,
body.gallery-page .portfolio-name,
body.gallery-page .portfolio-header nav a,
body .reel-masthead .reel-brand,
body .reel-masthead nav a,
body .test-view-switch button,
body .site-menu-button,
body .test-menu-button { font-weight: 400; }

/* Project pages in the same visual language. */
.gallery-page { color: #f5f5f2; background: #050505; }
.gallery-page .portfolio-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 30px; padding: 23px 25px; border-bottom: 1px solid rgba(255,255,255,.18); text-align: left; }
.gallery-page .portfolio-name { display: flex; flex-direction: column; font-family: "Europa", Arial, sans-serif; font-size: 15px; font-weight: 700; letter-spacing: .08em; line-height: 1.1; }
.gallery-page .portfolio-name small { margin-top: 5px; font-size: 9px; font-weight: 400; letter-spacing: .17em; }
.gallery-page .portfolio-header nav { width: auto; justify-content: flex-end; gap: clamp(14px, 2vw, 31px); margin: 0; }
.gallery-page .portfolio-header nav a, .gallery-page .portfolio-footer a { font-family: "Europa", Arial, sans-serif; font-size: 12px; font-weight: 700; letter-spacing: .08em; }
.gallery-page .portfolio-content { padding: 110px 24px 100px; }
.gallery-page .portfolio-content > h1 { margin: 0 0 60px; color: #f5f5f2; font-family: "Europa", Arial, sans-serif; font-size: clamp(48px, 9vw, 136px); font-style: normal; font-weight: 400; letter-spacing: -.06em; line-height: .82; text-transform: uppercase; }
.gallery-page .portfolio-subnav { margin-bottom: 50px; color: rgba(255,255,255,.55); font-size: 11px; font-style: normal; font-weight: 700; letter-spacing: .08em; }
.gallery-page .exported-content { gap: 48px; }
.gallery-page .exported-content .image-gallery-wrapper { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; overflow: visible; background: none; }
.gallery-page .exported-content .image-gallery-wrapper img { aspect-ratio: 16 / 9; background: #111; }
.gallery-page .exported-content > img { display: block; width: 100%; max-height: 90svh; object-fit: cover; }
.gallery-page .exported-content .sqs-html-content { max-width: 760px; margin: 0; color: rgba(255,255,255,.66); font-size: 15px; line-height: 1.5; }
.gallery-page .exported-content .sqs-html-content strong { color: #fff; }
.gallery-page .exported-content iframe { min-height: min(70svh, 800px); background: #111; }
.gallery-page .portfolio-footer { padding: 27px 24px; border-color: rgba(255,255,255,.18); }

@media (max-width: 700px) {
  .gallery-page .portfolio-header { display: block; padding: 17px 14px; }
  .gallery-page .portfolio-name { margin-bottom: 25px; font-size: 13px; }
  .gallery-page .portfolio-header nav { display: flex; width: 100%; justify-content: flex-start; gap: 10px 16px; overflow-x: auto; padding-bottom: 2px; white-space: nowrap; }
  .gallery-page .portfolio-header nav a { font-size: 9px; }
  .gallery-page .portfolio-content { padding: 70px 10px 60px; }
  .gallery-page .portfolio-content > h1 { margin-bottom: 40px; }
  .gallery-page .portfolio-subnav { gap: 13px; overflow-x: auto; white-space: nowrap; }
  .gallery-page .exported-content { gap: 28px; }
  .gallery-page .exported-content .image-gallery-wrapper { grid-template-columns: 1fr; gap: 5px; }
  .gallery-page .exported-content .sqs-html-content { font-size: 14px; }
  .gallery-page .exported-content iframe { min-height: 0; }
  .gallery-page .portfolio-footer { padding: 22px 10px; }
}

/* Shared navigation band: readable over every image, then discreet while scrolling. */
.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  right: 0;
  left: 0;
  color: #fff;
  background: transparent;
  border-bottom: 0;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  opacity: 1;
  transform: translateY(0);
  transition: opacity .36s ease, transform .46s cubic-bezier(.22, .61, .36, 1);
}
.site-header.is-nav-hidden {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.site-header a { color: #fff; }

/* Four fine right-angle corners identify the current section. */
.site-header nav a {
  position: relative;
  display: inline-block;
}
.site-header nav a.is-current,
.site-header nav a.is-current:hover {
  opacity: 1;
}
.site-header nav a.is-current::before,
.site-header nav a.is-current::after {
  position: absolute;
  top: 50%;
  width: 5px;
  height: calc(100% + 8px);
  border-top: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  content: "";
  pointer-events: none;
  transform: translateY(-50%);
}
.site-header nav a.is-current::before {
  left: -10px;
  border-left: 1px solid currentColor;
}
.site-header nav a.is-current::after {
  right: -10px;
  border-right: 1px solid currentColor;
}

/* One shared header, matched exactly to the NARRATION reference. */
gb-site-header { display: contents; }
.shared-site-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
  padding: 23px 25px;
  text-align: left;
}
.shared-site-header .site-identity {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  margin: 0;
  color: #fff;
  font-family: "Europa", Arial, sans-serif;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: .08em;
  line-height: 1.1;
  text-decoration: none;
  text-transform: uppercase;
}
.shared-site-header .site-identity small {
  display: block;
  margin-top: 5px;
  font-size: 9px;
  font-weight: 400;
  letter-spacing: .17em;
  line-height: 1.1;
}
.shared-site-header .site-navigation {
  display: flex;
  width: auto;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(14px, 2vw, 31px);
  margin: 0;
  padding: 0;
  overflow: visible;
  white-space: normal;
}
.shared-site-header .site-navigation a {
  color: #fff;
  font-family: "Europa", Arial, sans-serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .08em;
  line-height: normal;
  text-decoration: none;
  opacity: 1;
  transition: opacity .2s ease;
}
.shared-site-header .site-navigation a:hover { opacity: .5; }

.reel-masthead {
  align-items: center;
  gap: 28px;
  padding: 19px 25px;
  mix-blend-mode: normal;
}
.reel-masthead .reel-brand { flex: 0 0 auto; font-size: 13px; letter-spacing: .1em; }
.reel-masthead nav { display: flex; align-items: center; justify-content: flex-end; gap: clamp(15px, 2.3vw, 34px); }
.reel-masthead nav a { opacity: .82; transition: opacity .2s ease; }
.reel-masthead nav a:hover { opacity: 1; }

.gallery-page .portfolio-header.site-header {
  background: transparent;
  border-bottom: 0;
}

@media (max-width: 700px) {
  .site-header { -webkit-backdrop-filter: none; backdrop-filter: none; transform: none; }
  .reel-masthead { align-items: flex-start; gap: 18px; padding: 15px 14px; }
  .reel-masthead .reel-brand { font-size: 11px; white-space: nowrap; }
  .gallery-page .portfolio-header.site-header { padding: 15px 14px 12px; }
  .site-menu-button, .test-menu-button {
    position: relative;
    z-index: 53;
    display: block;
    margin-left: auto;
    border: 0;
    padding: 0;
    color: #fff;
    background: transparent;
    cursor: pointer;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .12em;
  }
  .reel-masthead nav,
  .gallery-page .portfolio-header.site-header nav,
  .test-header .test-navigation {
    position: fixed;
    z-index: 52;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    display: flex;
    width: 100vw;
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 82px 16px 26px;
    background: #050505;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-100%);
    transition: opacity .28s ease, transform .4s cubic-bezier(.22, .61, .36, 1);
    white-space: normal;
  }
  .site-header.menu-is-open nav,
  .gallery-page .portfolio-header.site-header.menu-is-open nav,
  .test-header.menu-is-open .test-navigation {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
  .reel-masthead nav a,
  .gallery-page .portfolio-header.site-header nav a,
  .test-header .test-navigation a {
    display: block;
    width: 100%;
    min-width: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .28);
    padding: 13px 2px 12px;
    color: #fff;
    font-size: clamp(34px, 10.5vw, 50px);
    font-weight: 400;
    letter-spacing: -.045em;
    line-height: .95;
    text-align: left;
    text-indent: 0;
  }
  .reel-masthead nav a:first-child,
  .gallery-page .portfolio-header.site-header nav a:first-child,
  .test-header .test-navigation a:first-child { border-top: 1px solid rgba(255, 255, 255, .28); }
  .site-header.menu-is-open .site-menu-button,
  .test-header.menu-is-open .test-menu-button {
    font-size: 22px;
    font-weight: 300;
    letter-spacing: 0;
    line-height: .7;
  }
  .site-header nav a.is-current::before { left: -8px; }
  .site-header nav a.is-current::after { right: -8px; }
  .site-header nav a.is-current::before,
  .site-header nav a.is-current::after { width: 4px; height: calc(100% + 6px); }
  .reel-controls { z-index: 5; right: 16px; bottom: 18px; left: 16px; width: auto; }
  .reel-poster { position: absolute; z-index: 3; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; opacity: 1; transition: opacity .48s ease; }
  .reel-start { position: absolute; z-index: 4; top: 50%; left: 50%; display: block; border: 0; padding: 10px; color: #fff; background: transparent; cursor: pointer; font-size: 10px; font-weight: 700; letter-spacing: .2em; text-indent: .2em; transform: translate(-50%, -50%); transition: opacity .3s ease; }
  .reel-player-title { margin-bottom: 11px; font-size: 9px; letter-spacing: .12em; line-height: 1.5; white-space: normal; }
  .reel-meta { display: flex; align-items: center; margin-top: 0; }
  .reel-actions { display: flex; flex-wrap: wrap; gap: 10px 19px; }
  .reel-toggle, .reel-actions button { font-size: 9px; letter-spacing: .12em; line-height: 1.4; }
  .reel-start { font-size: 10px; }

  .shared-site-header {
    display: block;
    padding: 15px 14px 12px;
  }
  .shared-site-header .site-identity {
    width: 100%;
    margin: 0 0 25px;
    font-size: 13px;
  }
  .shared-site-header .site-identity small { font-size: 9px; }
  .shared-site-header .site-navigation {
    position: fixed;
    z-index: 52;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    display: flex;
    width: 100vw;
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 82px 16px 26px;
    background: #050505;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-100%);
    transition: opacity .28s ease, transform .4s cubic-bezier(.22, .61, .36, 1);
    white-space: normal;
  }
  .shared-site-header.menu-is-open .site-navigation {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
  .shared-site-header .site-navigation a {
    display: block;
    width: 100%;
    min-width: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .28);
    padding: 13px 2px 12px;
    font-size: clamp(34px, 10.5vw, 50px);
    font-weight: 400;
    letter-spacing: -.045em;
    line-height: .95;
    text-align: left;
  }
  .shared-site-header .site-navigation a:first-child {
    border-top: 1px solid rgba(255, 255, 255, .28);
  }
}

/* Minimal custom player shared by the homepage and project films. */
[data-site-player], .media-player { position: relative; overflow: hidden; background: #000; }
.project-media-player { width: 100%; aspect-ratio: 16 / 9; }
.project-media-player video { display: block; width: 100%; height: 100%; object-fit: cover; cursor: pointer; }
.youtube-media-player iframe { position: absolute; z-index: 1; inset: 0; display: block; width: 100%; height: 100%; border: 0; }
.youtube-player-cover { position: absolute; z-index: 4; inset: 0; background: #000 center / cover no-repeat; opacity: 1; pointer-events: none; transition: opacity .45s ease; }
.youtube-player-cover.is-hidden { opacity: 0; }
.youtube-player-hit-area { position: absolute; z-index: 6; inset: 0; width: 100%; height: 100%; border: 0; padding: 0; background: transparent; cursor: pointer; }
.youtube-player-error .youtube-player-cover { opacity: 1; }
.test-hero-shade { pointer-events: none; }
.test-hero-media video { cursor: default; }
.media-player-controls {
  position: absolute;
  z-index: 8;
  top: 50%;
  right: 5%;
  left: 5%;
  color: #fff;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-50%);
  transition: opacity .3s ease;
}
.media-controls-visible .media-player-controls { opacity: 1; pointer-events: auto; }
[data-player-ready="true"]:not(.media-controls-visible) video { cursor: none; }
[data-player-ready="true"]:not(.media-controls-visible) .youtube-player-hit-area { cursor: none; }
.media-player-track { position: relative; width: 100%; height: 18px; cursor: pointer; touch-action: none; }
.media-player-track::before, .media-player-track span { position: absolute; top: 8px; left: 0; height: 2px; }
.media-player-track::before { width: 100%; content: ""; background: rgba(255, 255, 255, .46); }
.media-player-track span { width: 0; background: #fff; box-shadow: 0 0 6px rgba(255, 255, 255, .28); }
.media-player-title { margin: 0 0 6px; font-size: 10px; font-weight: 700; letter-spacing: .14em; line-height: 1.2; }
.media-player-meta { display: flex; align-items: flex-start; justify-content: space-between; gap: 22px; margin-top: 6px; }
.media-player-time { margin: 0; font-size: 9px; font-weight: 700; letter-spacing: .12em; opacity: .7; }
.media-player-actions { display: flex; gap: 18px; }
.media-player-actions button { border: 0; padding: 0; color: #fff; background: transparent; cursor: pointer; font-size: 10px; font-weight: 700; letter-spacing: .14em; opacity: .86; transition: opacity .2s ease; }
.media-player-actions button:hover { opacity: .52; }

/* Reel controls use the same idle timer instead of staying tied to :hover. */
.reel .reel-controls,
.reel:hover .reel-controls,
.reel:focus-within .reel-controls { opacity: 0; pointer-events: none; }
.reel.controls-visible .reel-controls { opacity: 1; pointer-events: auto; }
.reel:not(.controls-visible) .reel-video { cursor: none; }
.reel:fullscreen .fullscreen-sound { opacity: 0; pointer-events: none; transition: opacity .3s ease; }
.reel:fullscreen.controls-visible .fullscreen-sound { opacity: 1; pointer-events: auto; }

.gallery-page .portfolio-content.works-index { padding: 0; }
.gallery-works { min-height: 100svh; padding-top: 130px; color: #f5f5f2; background: #050505; }

/* Creation archive: preserve the editorial rhythm of the original Squarespace page. */
.creation-works { padding-bottom: 34px; }
.creation-works .test-section-heading { margin-bottom: 34px; }
.creation-mosaic { display: grid; gap: 8px; }
.creation-pair,
.creation-asym,
.creation-stack { display: grid; gap: 8px; }
.creation-pair { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.creation-asym-right { grid-template-columns: minmax(0, 1fr) minmax(0, 2.1fr); }
.creation-asym-left { grid-template-columns: minmax(0, 2.1fr) minmax(0, 1fr); }
.creation-stack { grid-template-rows: repeat(2, minmax(0, 1fr)); }
.creation-tile { position: relative; min-width: 0; margin: 0; overflow: hidden; aspect-ratio: 16 / 9; background: #090909; }
.creation-tile img,
.creation-tile video { display: block; width: 100%; height: 100%; object-fit: cover; }
.creation-tile img { filter: saturate(.96); }
.creation-motion video { opacity: 0; transition: opacity .65s ease; }
.creation-motion video.is-ready { opacity: 1; }

@media (max-width: 700px) {
  .creation-works { padding-right: 6px; padding-left: 6px; }
  .creation-works .test-section-heading { margin-bottom: 24px; }
  .creation-mosaic,
  .creation-pair,
  .creation-asym,
  .creation-stack { gap: 5px; }
}

/* Project pages: moving image, credits, then stills. */
.project-page { color: #f5f5f2; }
.project-media-stage { display: grid; gap: 18px; margin-bottom: clamp(90px, 13vw, 190px); }
.project-media-stage .project-media-player,
.legacy-project-video { width: 100%; aspect-ratio: 16 / 9; background: #000; }
.legacy-project-video { position: relative; overflow: hidden; }
.legacy-project-video iframe { display: block; width: 100%; height: 100%; border: 0; }
.project-info { display: grid; min-height: 38svh; place-content: start center; padding: 0 20px clamp(90px, 13vw, 190px); text-align: center; }
.project-info h1 { max-width: 1100px; margin: 0 0 45px; color: #f5f5f2; font-family: "Europa", Arial, sans-serif; font-size: clamp(42px, 6.5vw, 98px); font-weight: 400; letter-spacing: -.055em; line-height: .88; text-transform: uppercase; }
.project-info .sqs-html-content { max-width: 760px; margin: 0 auto 18px; color: rgba(255, 255, 255, .65); font-family: "Europa", Arial, sans-serif; font-size: 13px; font-weight: 400; letter-spacing: .07em; line-height: 1.55; text-transform: uppercase; }
.project-info .sqs-html-content p { margin: 0 0 7px; }
.project-info .sqs-html-content strong { color: #fff; }
.project-technical-specs { margin: 18px auto 0; color: #fff; font-size: 10px; font-weight: 700; letter-spacing: .12em; line-height: 1.5; }
.project-gallery { --project-gallery-gap: 6px; position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--project-gallery-gap); row-gap: var(--project-gallery-gap); align-items: start; }
.project-gallery.is-masonry-ready { display: block; }
.project-gallery.is-masonry-ready .project-gallery-frame { position: absolute; }
.project-gallery-frame { position: relative; width: 100%; aspect-ratio: 16 / 9; margin: 0; overflow: hidden; background: #111; }
.project-gallery-frame img { position: absolute; top: 0; left: 0; display: block; width: 100%; max-width: none; height: auto; min-height: 0; margin: 0; }
.project-gallery[data-layout="editorial"] .project-gallery-frame.is-wide { grid-column: 1 / -1; }

/* Contact follows the same indexed section system as the main archive pages. */
.contact-index { min-height: 0; padding-bottom: 0; }
.test-works.contact-index .test-section-heading { margin-bottom: 12px; }
.contact-index-body .contact-details {
  width: 100%;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0;
  padding: 0 0 18px;
  padding-left: 3.125%;
  color: #f5f5f2;
  font-size: clamp(15px, 1.35vw, 20px);
  font-weight: 300;
  letter-spacing: .07em;
  line-height: 1.4;
  text-transform: uppercase;
}
.contact-index .contact-details p { margin: 0 0 8px; }
.contact-index .contact-details a {
  font-weight: 300;
  text-decoration: none;
  text-transform: uppercase;
  transition: opacity .2s ease;
}
.contact-index .contact-details a:hover,
.contact-index .contact-details a:focus-visible { opacity: .5; }
.contact-index .image-gallery-wrapper { display: block; width: 100%; overflow: hidden; }
.contact-index .image-gallery-wrapper img { display: block; width: 100%; height: auto; }

@media (max-width: 700px) {
  .project-media-stage { gap: 6px; margin: 0 -10px 78px; }
  .project-info { min-height: 31svh; padding: 0 4px 78px; }
  .project-info h1 { margin-bottom: 30px; font-size: clamp(38px, 14vw, 68px); }
  .project-info .sqs-html-content { font-size: 11px; }
  .project-gallery,
  .project-gallery.is-masonry-ready { display: grid; grid-template-columns: 1fr; gap: var(--project-gallery-gap); height: auto !important; }
  .project-gallery.is-masonry-ready .project-gallery-frame { position: relative; top: auto !important; left: auto !important; width: 100% !important; }
  .project-gallery[data-layout="editorial"] .project-gallery-frame.is-wide { grid-column: auto; }
  .contact-index-body .contact-details {
    width: 100%;
    min-height: 0;
    padding: 0 0 16px;
    padding-left: 3.125%;
    font-size: 13px;
  }
  .gallery-page .test-works.contact-index .test-section-heading { margin-bottom: 10px; }
  .has-site-reel-end .portfolio-content:not(.works-index) { padding-bottom: 20px; }
  .has-site-reel-end .contact-index { padding-bottom: 20px; }
}

@media (max-width: 700px) {
  .media-player-controls,
  .fullscreen-sound { display: none !important; }
  .reel .reel-controls,
  .reel:hover .reel-controls,
  .reel:focus-within .reel-controls {
    display: block !important;
    opacity: 1 !important;
    pointer-events: none !important;
  }
  .reel .reel-track,
  .reel .reel-meta { display: none !important; }
  .media-player-controls { top: auto; right: 14px; bottom: 17px; left: 14px; transform: none; }
  .media-player-meta { margin-top: 4px; }
  .media-player-actions { gap: 14px; }
  .media-player-actions button, .media-player-time, .media-player-title { font-size: 9px; }
}
