/* ============================================================
   JACQUES DEL CONTE — shared stylesheet
   ============================================================ */
:root{--bg:#f0f0ee;--ink:#1a1a18;--soft:#6f6c66;--line:rgba(26,26,24,0.12);--serif:'Cormorant Garamond',Georgia,serif;--sans:'Jost',-apple-system,sans-serif;--ease:cubic-bezier(0.22,1,0.36,1)}
*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}html{scroll-behavior:smooth}body{background:var(--bg);color:var(--ink);font-family:var(--sans);font-weight:300;-webkit-font-smoothing:antialiased;overflow-x:hidden}::selection{background:var(--ink);color:var(--bg)}a{color:inherit;text-decoration:none}img{display:block;width:100%;object-fit:cover}.wrap{max-width:1100px;margin:0 auto;padding:0 clamp(20px,5vw,48px)}
header{position:sticky;top:0;z-index:200;background:rgba(251,250,248,0.88);backdrop-filter:blur(14px);border-bottom:1px solid var(--line)}.bar{display:flex;align-items:center;justify-content:space-between;height:60px;max-width:1100px;margin:0 auto;padding:0 clamp(20px,5vw,48px);position:relative}.bar .back{font-size:11px;letter-spacing:.18em;text-transform:uppercase;color:var(--soft);transition:color .3s;display:flex;align-items:center;gap:8px}.bar .back:hover{color:var(--ink)}.bar .home{font-family:var(--serif);font-size:18px;letter-spacing:.02em;position:absolute;left:50%;transform:translateX(-50%);white-space:nowrap}.bar .links{display:flex;gap:24px}.bar .links a{font-size:11px;letter-spacing:.18em;text-transform:uppercase;color:var(--soft);transition:color .3s}.bar .links a:hover{color:var(--ink)}
.video-shell{position:relative;aspect-ratio:16/9;background:#111;overflow:hidden;cursor:pointer}.video-shell .poster{position:absolute;inset:0;transition:transform 1s var(--ease)}.video-shell .poster.empty{background:linear-gradient(135deg,#1c1c1e,#0c0c0d)}.video-shell:hover .poster{transform:scale(1.03)}.video-shell .play{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:60px;height:60px;border-radius:50%;background:rgba(0,0,0,0.42);backdrop-filter:blur(4px);border:1px solid rgba(255,255,255,0.6);display:flex;align-items:center;justify-content:center;transition:all .4s var(--ease);z-index:2;pointer-events:none}.video-shell:hover .play{background:rgba(0,0,0,0.68);transform:translate(-50%,-50%) scale(1.08)}.video-shell .play svg{width:18px;height:18px;fill:#fff;margin-left:3px}.video-shell .vlabel{position:absolute;left:0;bottom:0;padding:12px 16px;font-size:10px;letter-spacing:.18em;text-transform:uppercase;color:#fff;z-index:2;background:linear-gradient(to top,rgba(0,0,0,0.55),transparent);width:100%;pointer-events:none}.video-shell iframe{position:absolute;inset:0;width:100%;height:100%;border:0;opacity:0;transition:opacity .45s var(--ease)}.video-shell.is-playing iframe{opacity:1}
.credit-row{display:flex;flex-wrap:wrap;justify-content:center;gap:5px 18px}.credit{font-size:11px;letter-spacing:.04em;line-height:1.6;color:var(--soft);white-space:nowrap}.credit .role{text-transform:uppercase;letter-spacing:.14em;font-size:9px;opacity:.65;margin-right:6px}.credit .name{color:var(--ink)}.credit.lead .name{font-weight:500}
.reveal{opacity:0;transform:translateY(22px);transition:opacity .9s var(--ease),transform .9s var(--ease)}.reveal.in{opacity:1;transform:none}
.home-hero{min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;position:relative;padding:80px 20px}.home-hero h1{font-family:var(--serif);font-weight:300;font-size:clamp(2.8rem,9vw,7rem);line-height:1;letter-spacing:.01em}.home-hero .title{margin-top:26px;font-size:clamp(11px,1.4vw,14px);letter-spacing:.32em;text-transform:uppercase;color:var(--soft);font-weight:400}.home-hero .rule{width:1px;height:60px;background:var(--line);margin-top:54px}.scroll-cue{position:absolute;bottom:36px;font-size:10px;letter-spacing:.3em;text-transform:uppercase;color:var(--soft);display:flex;flex-direction:column;align-items:center;gap:12px}.scroll-cue .arrow{font-size:14px;animation:bob 2.2s var(--ease) infinite}@keyframes bob{0%,100%{transform:translateY(0);opacity:.4}50%{transform:translateY(6px);opacity:1}}.fade{opacity:0;transform:translateY(16px);animation:rise 1.1s var(--ease) forwards}.fade.d1{animation-delay:.15s}.fade.d2{animation-delay:.35s}.fade.d3{animation-delay:.6s}.fade.d4{animation-delay:.85s}@keyframes rise{to{opacity:1;transform:none}}#site-header{transition:transform .5s var(--ease),opacity .5s var(--ease);transform:translateY(-100%);opacity:0}#site-header.show{transform:none;opacity:1}
.work{padding:clamp(40px,6vh,90px) 0 clamp(80px,12vh,140px)}.work-head{display:flex;align-items:baseline;justify-content:space-between;margin-bottom:clamp(32px,5vh,60px);flex-wrap:wrap;gap:14px}.work-head h2{font-size:11px;letter-spacing:.3em;text-transform:uppercase;color:var(--soft);font-weight:400}.work-head .count{font-family:var(--serif);font-size:15px;color:var(--soft)}.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:clamp(10px,1.4vw,20px)}.tile{position:relative;overflow:hidden;background:#eceae6;aspect-ratio:4/3;display:block}.tile img{width:100%;height:100%;object-fit:cover;object-position:var(--ox,50%) var(--oy,50%);transform:scale(var(--z,1));transform-origin:var(--ox,50%) var(--oy,50%);transition:transform 1.1s var(--ease),filter 1.1s var(--ease);filter:grayscale(0.2)}.tile:hover img{transform:scale(calc(var(--z,1) * 1.05));filter:grayscale(0)}.tile .cap{position:absolute;inset:0;display:flex;align-items:flex-end;padding:18px 20px;background:linear-gradient(to top,rgba(0,0,0,0.55),transparent 55%);opacity:0;transition:opacity .5s var(--ease)}.tile:hover .cap{opacity:1}.tile .cap span{font-family:var(--serif);color:#fff;font-size:clamp(1.3rem,2vw,1.9rem);font-weight:400;letter-spacing:.01em;transform:translateY(8px);transition:transform .5s var(--ease)}.tile:hover .cap span{transform:none}
.home-foot{border-top:1px solid var(--line);padding:clamp(50px,8vh,90px) 0}.home-foot-inner{display:flex;align-items:flex-end;justify-content:space-between;flex-wrap:wrap;gap:30px}.home-foot .lead{font-family:var(--serif);font-weight:300;font-size:clamp(1.6rem,4vw,3rem);line-height:1.15}.home-foot .lead a{transition:opacity .3s}.home-foot .lead a:hover{opacity:.55}.home-foot .meta{display:flex;flex-direction:column;gap:10px;text-align:right}.home-foot .meta a{font-size:11px;letter-spacing:.2em;text-transform:uppercase;color:var(--soft);transition:color .3s}.home-foot .meta a:hover{color:var(--ink)}.home-foot .copy{margin-top:40px;font-size:10px;letter-spacing:.18em;text-transform:uppercase;color:var(--soft)}
@media(min-width:769px) and (min-height:541px){.m-story-wrap,.m-progress,.m-nav-hint{display:none}#projects-mobile{display:none}.bar .links{display:flex}.client-head{text-align:center;padding:clamp(60px,12vh,120px) 0 clamp(30px,5vh,50px)}.client-head .eyebrow{font-size:11px;letter-spacing:.3em;text-transform:uppercase;color:var(--soft);margin-bottom:22px}.client-head h1{font-family:var(--serif);font-weight:300;font-size:clamp(3rem,11vw,7rem);line-height:1;letter-spacing:.01em}.client-head .sub{font-size:13px;letter-spacing:.14em;text-transform:uppercase;color:var(--soft);margin-top:18px}.index{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:26px 0;margin-top:50px}.index .label{font-size:10px;letter-spacing:.26em;text-transform:uppercase;color:var(--soft);text-align:center;margin-bottom:18px}.index ul{list-style:none;display:flex;flex-wrap:wrap;justify-content:center;gap:10px 14px;max-width:900px;margin:0 auto}.index li a{font-size:12px;letter-spacing:.04em;color:var(--soft);padding:5px 12px;border:1px solid var(--line);border-radius:40px;transition:all .35s var(--ease);display:inline-block}.index li a:hover{color:var(--bg);background:var(--ink);border-color:var(--ink)}.project{padding:clamp(60px,11vh,120px) 0;scroll-margin-top:70px}.p-head{text-align:center;max-width:820px;margin:0 auto clamp(30px,5vh,48px)}.p-title{font-family:var(--serif);font-weight:400;font-size:clamp(1.7rem,4vw,2.9rem);line-height:1.12;letter-spacing:.01em}.credits{margin-top:20px}.films{display:grid;gap:clamp(12px,1.6vw,20px)}.films.single{grid-template-columns:1fr}.films.duo{grid-template-columns:repeat(2,1fr)}.films.triple{grid-template-columns:repeat(3,1fr)}.pager{border-top:1px solid var(--line);padding:clamp(50px,8vh,80px) 0}.pager-inner{display:flex;justify-content:space-between;align-items:center;gap:20px}.pager .lbl{font-size:10px;letter-spacing:.24em;text-transform:uppercase;color:var(--soft);margin-bottom:8px}.pager .nm{font-family:var(--serif);font-size:clamp(1.4rem,3vw,2.2rem);font-weight:300;transition:opacity .3s}.pager a:hover .nm{opacity:.55}.pager .next{text-align:right}footer{border-top:1px solid var(--line);padding:46px 0;text-align:center}footer .mail{font-family:var(--serif);font-size:clamp(1.3rem,3vw,2rem);font-weight:300;transition:opacity .3s}footer .mail:hover{opacity:.55}footer .copy{margin-top:24px;font-size:10px;letter-spacing:.18em;text-transform:uppercase;color:var(--soft)}}

  /* Space between stacked films on desktop */
  .hscroll-wrap { margin-bottom: 0; }
  .project .films.single + .films.single,
  .project > div > div > .films.single + div { margin-top: clamp(120px,18vh,220px); }

  /* Gap between hero film and sub-film scroller */
  .project .films.single + div[style] { margin-top: clamp(120px,18vh,220px) !important; }

  /* When a project has multiple film blocks stacked, space them */
  .project .reveal + .reveal { margin-top: clamp(120px,18vh,220px); }

  /* Client pages: wider videos (~25% bigger), always fit viewport */
  .project .wrap { max-width: min(1380px, 100vw - 40px); padding: 0 clamp(20px,3vw,40px); }
  .project .p-head { max-width: 860px; margin-left:auto; margin-right:auto; }
  .films.single .video-shell, .hscroll-wrap, .films-hscroll { width:100%; max-width:100%; }

@media(max-width:768px),(orientation:landscape) and (max-height:540px){.client-head,.index,.pager,footer,.bar .links,#projects-desktop{display:none}body.client-page{overflow:hidden;height:100dvh}.m-progress{position:fixed;top:60px;left:0;right:0;z-index:150;display:flex;gap:3px;padding:8px 14px}.m-seg{flex:1;height:2px;background:rgba(26,26,24,0.15);border-radius:2px;transition:background .35s}.m-seg.done{background:var(--ink)}.m-seg.active{background:var(--ink)}.m-story-wrap{position:fixed;top:60px;left:0;right:0;bottom:0;z-index:100;display:flex;overflow-x:scroll;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;scrollbar-width:none}.m-story-wrap::-webkit-scrollbar{display:none}.m-slide{flex:0 0 100vw;width:100vw;height:100%;scroll-snap-align:start;overflow:hidden;display:flex;flex-direction:column}.m-slide-info{flex-shrink:0;padding:14px 18px 12px;background:var(--bg);border-bottom:1px solid var(--line);text-align:center}.m-slide-info .m-title{font-family:var(--serif);font-weight:400;font-size:1.3rem;line-height:1.2;margin-bottom:8px}.m-slide-info .credit-row{justify-content:center;gap:3px 14px}.m-slide-info .credit{white-space:normal}.m-video-units{flex:1;overflow-y:scroll;scroll-snap-type:y mandatory;-webkit-overflow-scrolling:touch;scrollbar-width:none}.m-video-units::-webkit-scrollbar{display:none}.m-video-unit{width:100%;flex-shrink:0;scroll-snap-align:start;display:flex;flex-direction:column}.m-video-unit .video-shell{width:100%;aspect-ratio:16/9;position:relative;flex-shrink:0}.m-video-unit .video-shell .play{width:52px;height:52px}.m-video-unit .video-shell .play svg{width:16px;height:16px}.m-video-unit .video-shell .vlabel{font-size:9px}.m-nav-hint{position:fixed;bottom:20px;right:20px;z-index:160;font-size:10px;letter-spacing:.22em;text-transform:uppercase;color:var(--soft);display:flex;align-items:center;gap:8px;opacity:1;transition:opacity .6s}.m-nav-hint.hidden{opacity:0;pointer-events:none}.m-nav-hint .arr{font-size:16px}}
@media(max-width:820px){.grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:480px){.grid{grid-template-columns:1fr}.home-foot-inner{flex-direction:column;align-items:flex-start}.home-foot .meta{text-align:left}}

/* ── Custom video controls ────────────────────────────────── */

/* hide native browser controls entirely */
.video-shell iframe { pointer-events: none; }

/* play hint (shown before video loads) */
.play-hint {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(0,0,0,0.38); backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.55);
  display: flex; align-items: center; justify-content: center;
  transition: all .4s var(--ease); z-index: 2; pointer-events: none;
  color: #fff;
}
.play-hint svg { width: 18px; height: 18px; margin-left: 3px; }
.video-shell:hover .play-hint { background: rgba(0,0,0,0.65); transform: translate(-50%,-50%) scale(1.08); }
/* hide hint once iframe is loaded */
.video-shell iframe ~ .play-hint { display: none; }

/* custom controls pill */
.jdc-ctrl {
  position: absolute;
  bottom: 16px; left: 50%;
  transform: translateX(-50%) translateY(8px);
  display: flex; align-items: center; gap: 2px;
  background: rgba(10,10,11,0.72); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 40px; padding: 6px 10px;
  opacity: 0; transition: opacity .35s, transform .35s;
  z-index: 10; pointer-events: all;
  white-space: nowrap;
}
/* show on hover (desktop) */
.video-shell:hover .jdc-ctrl { opacity: 1; transform: translateX(-50%) translateY(0); }
/* always show on mobile */
@media(max-width:768px),(orientation:landscape) and (max-height:540px){
  .jdc-ctrl { opacity: 1 !important; transform: translateX(-50%) translateY(0) !important; }
}

.jdc-btn {
  background: none; border: none; color: rgba(255,255,255,0.85);
  cursor: pointer; padding: 6px 8px; border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  transition: color .2s, background .2s;
  line-height: 1;
}
.jdc-btn:hover { color: #fff; background: rgba(255,255,255,0.12); }
.jdc-btn svg { width: 17px; height: 17px; display: block; }
.jdc-btn svg text { font-size: 5.5px; font-family: var(--sans); font-weight: 700; }

/* separator between ff and fs */
.jdc-btn[data-action="fs"] { border-left: 1px solid rgba(255,255,255,0.15); margin-left: 4px; padding-left: 10px; }

/* mobile: slightly larger tap targets */
@media(max-width:768px),(orientation:landscape) and (max-height:540px){
  .jdc-ctrl { padding: 8px 12px; gap: 4px; bottom: 12px; }
  .jdc-btn { padding: 8px 10px; }
  .jdc-btn svg { width: 20px; height: 20px; }
}

/* Mobile: force iframe to fill shell, no black bars */
@media(max-width:768px),(orientation:landscape) and (max-height:540px){
  .m-video-unit .video-shell{overflow:hidden}
  .m-video-unit .video-shell iframe{
    position:absolute;
    top:50%;left:50%;
    width:177.78vh;  /* 16/9 of viewport height */
    min-width:100%;
    height:56.25vw;  /* 9/16 of viewport width */
    min-height:100%;
    transform:translate(-50%,-50%);
    border:0;
  }
}

/* ── Desktop horizontal film scroller ─────────────────────── */
@media(min-width:769px){
  .films-hscroll{
    display:flex;
    overflow-x:scroll;
    scroll-snap-type:x mandatory;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:none;
    cursor:grab;
    position:relative;
  }
  .films-hscroll:active{ cursor:grabbing; }
  .films-hscroll::-webkit-scrollbar{ display:none; }

  /* each film slot = full container width */
  .films-hscroll .hslot{
    flex:0 0 100%;
    position:relative;
    aspect-ratio:16/9;
    scroll-snap-align:start;
  }
  .films-hscroll .hslot .video-shell{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    aspect-ratio:unset;
  }

  /* dot navigation */
  .hscroll-dots{
    display:flex;
    justify-content:center;
    gap:8px;
    padding:14px 0 0;
  }
  .hscroll-dot{
    width:5px;height:5px;border-radius:50%;
    background:var(--line);
    border:none;cursor:pointer;padding:0;
    transition:background .3s,transform .3s;
  }
  .hscroll-dot.active{
    background:var(--ink);
    transform:scale(1.4);
  }
}

/* ── Horizontal scroller nav arrows ───────────────────────── */
@media(min-width:769px){
  .hscroll-wrap{
    position:relative;
  }

  /* arrow buttons — sit over left/right edges of the scroller */
  .hscroll-arrow{
    position:absolute;
    top:0;bottom:0;
    width:80px;
    z-index:20;
    display:flex;
    align-items:center;
    justify-content:center;
    opacity:0;
    transition:opacity .35s;
    pointer-events:none;
    cursor:pointer;
  }
  .hscroll-arrow.left { left:0;  background:linear-gradient(to right, rgba(10,10,11,0.45), transparent); }
  .hscroll-arrow.right{ right:0; background:linear-gradient(to left,  rgba(10,10,11,0.45), transparent); }

  /* show on scroller hover */
  .hscroll-wrap:hover .hscroll-arrow.right:not(.hidden){ opacity:1; pointer-events:all; }
  .hscroll-wrap:hover .hscroll-arrow.left:not(.hidden) { opacity:1; pointer-events:all; }

  /* also show when mouse is specifically over that half */
  .hscroll-arrow svg{
    width:28px;height:28px;
    color:#fff;
    filter:drop-shadow(0 1px 4px rgba(0,0,0,0.5));
    transform:scale(0.85);
    transition:transform .3s;
  }
  .hscroll-arrow:hover svg{ transform:scale(1); }

  /* hide left on first, right on last */
  .hscroll-arrow.hidden{ opacity:0 !important; pointer-events:none !important; }
}

@media(max-width:768px),(orientation:landscape) and (max-height:540px){
  .m-video-unit .jdc-ctrl{
    position:static !important;
    left:auto !important;
    bottom:auto !important;
    transform:none !important;
    opacity:1 !important;
    width:100%;
    box-sizing:border-box;
    border-radius:0;
    border:none;
    border-top:1px solid rgba(26,26,24,0.12);
    background:var(--bg);
    display:flex !important;
    justify-content:center !important;
    align-items:center;
    padding:9px 12px;
    gap:3px;
    backdrop-filter:none;
    white-space:nowrap;
  }
  .m-video-unit .jdc-btn{padding:8px 11px;color:var(--ink);border-radius:6px}
  .m-video-unit .jdc-btn:active{background:rgba(26,26,24,0.08)}
  .m-video-unit .jdc-btn svg{width:16px;height:16px}
  .m-video-unit .jdc-btn[data-action="fs"]{border-left:1px solid rgba(26,26,24,0.15);margin-left:3px;padding-left:12px}
}
/* ── Featuring credit ─────────────────────────────────────── */
.p-featuring {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  color: var(--soft);
  margin-top: 10px;
  letter-spacing: .01em;
}
/* Mobile slide info featuring */
.m-featuring {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 0.95rem;
  color: var(--soft);
  margin-bottom: 6px;
}

/* ── Fullscreen fallback (iOS Safari can't fullscreen iframes) ── */
/* Native element fullscreen: neutralise the shell's normal size/aspect
   constraints so it fills the screen. Without this, native-aspect videos
   (those with an inline aspect-ratio + capped height) stay locked to their
   small box inside the fullscreen void and appear frozen. */
.video-shell:fullscreen,
.video-shell:-webkit-full-screen{
  width:100vw !important;
  height:100vh !important;
  max-width:none !important;
  aspect-ratio:auto !important;
  margin:0 !important;
  background:#000 !important;
  display:flex; align-items:center; justify-content:center;
}
.video-shell:fullscreen iframe,
.video-shell:-webkit-full-screen iframe{
  position:absolute !important;
  inset:0 !important;
  width:100% !important; height:100% !important;
  transform:none !important;
  pointer-events:auto !important;
}
.video-shell.jdc-fs{
  position:fixed !important;
  inset:0 !important;
  width:100vw !important;
  height:100dvh !important;
  aspect-ratio:unset !important;
  z-index:9999 !important;
  background:#000 !important;
  margin:0 !important;
}
.video-shell.jdc-fs iframe{
  position:absolute !important;
  top:0 !important; left:0 !important;
  width:100% !important; height:100% !important;
  min-width:0 !important; min-height:0 !important;
  transform:none !important;
  pointer-events:auto !important;
}
.jdc-fs-exit{
  position:absolute; top:14px; right:14px;
  width:40px; height:40px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  background:rgba(0,0,0,0.55); color:#fff; border:1px solid rgba(255,255,255,0.3);
  z-index:10000; cursor:pointer; pointer-events:all; -webkit-backdrop-filter:blur(6px); backdrop-filter:blur(6px);
}
.jdc-fs-exit svg{width:20px;height:20px;fill:currentColor}
body.jdc-fs-lock{overflow:hidden !important;}

/* ── Mobile landscape: make video fit + keep the story navigable ── */
@media (orientation:landscape) and (max-height:540px){
  /* credits can't eat the whole screen — cap and let them scroll if long */
  .m-slide-info{
    max-height:34%;
    overflow-y:auto;
    padding:8px 16px;
    -webkit-overflow-scrolling:touch;
  }
  .m-slide-info .m-title{font-size:1.05rem;margin-bottom:4px}
  .m-slide-info .m-featuring{font-size:0.85rem;margin-bottom:4px}

  /* one video per screen: unit fills the scroll area so vertical snap works */
  .m-video-unit{height:100%;justify-content:center}
  /* shell takes the space left ABOVE the control bar (no overflow) */
  .m-video-unit .video-shell{
    aspect-ratio:unset;
    width:100%;
    height:auto;
    flex:1;
    min-height:0;
  }
  /* letterbox the player so the whole frame is visible (fits the screen) */
  .m-video-unit .video-shell iframe{
    position:absolute;
    top:0; left:0;
    width:100%; height:100%;
    min-width:0; min-height:0;
    transform:none;
  }
  /* keep the control bar compact in landscape */
  .m-video-unit .jdc-ctrl{padding:6px 10px}
}

/* ── Mobile portrait: breathing room between stacked videos ── */
@media(max-width:768px) and (orientation:portrait){
  /* gap sits below each video's control bar, a touch larger than the bar itself */
  .m-video-units .m-video-unit:not(:last-child){
    margin-bottom:clamp(56px,9vh,80px);
  }
}

/* ── Native-aspect (de-pillarboxed) videos: height-capped & centered ── */
/* Shells given an inline aspect-ratio are non-16:9 sources. On desktop, cap
   their height and derive width from the ratio so the whole frame shows with
   no bars, centered in the column instead of stretching full-width-tall. */
@media(min-width:769px) and (min-height:541px){
  .films.single .video-shell[style*="aspect-ratio"]{
    width:auto;
    max-width:100%;
    height:min(80vh,820px);
    margin-inline:auto;
  }
  /* In a carousel slot, fit within the slot and centre. */
  .films-hscroll .hslot .video-shell[style*="aspect-ratio"]{
    width:auto;
    max-width:100%;
    height:min(72vh,760px);
    margin-inline:auto;
  }
}
/* Mobile: a non-16:9 source keeps its native ratio at full width (taller box).
   The inline aspect-ratio on the shell already does this; we just ensure the
   mobile 16:9 override doesn't force it back. */
@media(max-width:768px),(orientation:landscape) and (max-height:540px){
  .m-video-unit .video-shell[style*="aspect-ratio"]{
    width:100%;
  }
}

/* ── About page ─────────────────────────────────────────────── */
/* Not a client video page: header always visible, normal scrolling. */
body.about-page header{transform:none;opacity:1}
body.about-page{overflow-x:hidden}
@media(max-width:768px),(orientation:landscape) and (max-height:540px){
  /* Ensure the About page is never locked like the client story view, and
     that its nav links + footer remain visible on mobile. */
  body.about-page{overflow:auto !important;height:auto !important}
  body.about-page .bar .links{display:flex !important}
  body.about-page footer{display:block !important}
  .about-wrap{padding:6vh 20px 10vh}
}

/* ── Project description (optional per-project blurb) ─────────── */
.p-desc{
  max-width:620px;margin:26px auto 0;
  font-family:var(--sans);font-weight:300;
  font-size:clamp(.95rem,1.4vw,1.05rem);line-height:1.7;
  color:var(--soft);text-align:center;
}
.m-desc{
  margin:12px auto 0;max-width:90%;
  font-family:var(--sans);font-weight:300;
  font-size:.9rem;line-height:1.6;color:var(--soft);text-align:center;
}
