@font-face{font-family:Doric;src:url('fonts/CaslonDoric-Thin.otf') format('opentype');font-weight:100;font-display:swap}
@font-face{font-family:Doric;src:url('fonts/CaslonDoric-Light.otf') format('opentype');font-weight:300;font-display:swap}@font-face{font-family:Doric;src:url('fonts/CaslonDoric-Regular.otf') format('opentype');font-weight:400;font-display:swap}@font-face{font-family:Doric;src:url('fonts/CaslonDoric-Bold.otf') format('opentype');font-weight:700;font-display:swap}@font-face{font-family:DoricExtended;src:url('fonts/CaslonDoricExtended-Thin.otf') format('opentype');font-weight:100;font-display:swap}
@font-face{font-family:DoricExtended;src:url('fonts/CaslonDoricExtended-Light.otf') format('opentype');font-weight:300;font-display:swap}
@font-face{font-family:DoricExtended;src:url('fonts/CaslonDoricExtended-Semibold.otf') format('opentype');font-weight:600;font-display:swap}
@font-face{font-family:DoricExtended;src:url('fonts/CaslonDoricExtended-Bold.otf') format('opentype');font-weight:700;font-display:swap}
:root{--paper:#fff;--ink:#292824;--gold:#a08a68;--muted:#74644d;--line:#d2c6b4;--display:DoricExtended,Doric,sans-serif;--body:Doric,sans-serif}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:300 16px/1.45 var(--body)}[hidden]{display:none!important}::selection{color:#222;background:#e2d8c9}html{scrollbar-color:var(--gold) white}a{color:inherit;text-decoration:none;text-underline-offset:5px}a:hover{text-decoration:underline}button{font:inherit;color:inherit;cursor:pointer;background:none;border:0}a:focus-visible,button:focus-visible,video:focus-visible,audio:focus-visible,[role=tabpanel]:focus-visible{outline:2px solid var(--muted);outline-offset:5px}header{display:flex;justify-content:space-between;align-items:center;padding:24px 4.5%;font-size:13px}header>a:nth-child(2){text-align:center}header span{display:block;font-size:12px;color:#666}.signature{font:100 27px var(--display);color:var(--muted)}main{max-width:1040px;margin:auto;padding:8px 44px 24px}.heading{text-align:center}h1{font:100 60px/1.05 var(--display);color:var(--gold);margin:14px 0 8px}.heading>p{font-weight:700;font-size:14px;letter-spacing:.1em;margin:0}.introduction{text-align:center;font-size:15px;margin:22px auto 29px;max-width:710px;line-height:1.55}.project-menu{display:flex;justify-content:center;gap:28px;border-bottom:1px solid var(--line);margin:0 0 24px}.project-menu button{position:relative;font-size:14px;padding:0 0 13px;white-space:nowrap}.project-menu button[aria-selected=true]{color:var(--muted);font-weight:400}.project-menu button[aria-selected=true]:after{content:'';position:absolute;bottom:-1px;left:0;right:0;height:2px;background:var(--muted)}.project-menu button:hover{color:var(--muted)}.screen{height:320px;width:100%;display:flex;align-items:center;justify-content:center;overflow:hidden}video{max-width:min(100%,540px);max-height:320px;height:100%;width:auto;object-fit:contain;background:white;display:block}#sound-scene{width:min(540px,100%);height:320px;display:flex;flex-direction:column;justify-content:center;align-items:center}.sound-word{font:100 31px var(--display);color:var(--muted);margin:0 0 8px}.sound-subtitle{font-size:13px;margin:0}.sound-scene img,#sound-scene img{width:100%;height:110px;object-fit:contain;margin:8px 0}audio{width:100%;max-width:390px;height:40px}.slide-navigation{display:grid;grid-template-columns:40px 1fr 40px;gap:15px;max-width:610px;margin:21px auto 0;align-items:center}.arrow{width:40px;height:40px;display:grid;place-items:center;border:1px solid transparent;transition:border-color .2s}.arrow:hover{border-color:var(--line)}.arrow:disabled{color:#bbb;cursor:default;border-color:transparent}.arrow svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.15}.now-playing{text-align:center}.now-playing h2{font-size:19px;font-weight:400;line-height:1.3;margin:0 0 5px}.now-playing p{font-size:12px;color:#65615a;margin:0;font-variant-numeric:tabular-nums}.divider{padding:0 12px;color:var(--gold)}.variants{display:flex;justify-content:center;gap:9px;margin:19px 0 24px;flex-wrap:wrap}.variant{display:flex;align-items:center;gap:8px;max-width:190px;border:1px solid transparent;padding:5px 9px 5px 5px;text-align:left;font-size:12px;line-height:1.2;min-height:42px}.variant img{width:39px;height:35px;object-fit:cover}.variant[aria-pressed=true]{border-color:var(--line);color:var(--muted)}.variant:hover{background:#faf8f5}.variant .sound-icon{width:39px;height:35px;display:grid;place-items:center}.sound-icon svg{width:25px;height:25px;stroke:var(--muted);stroke-width:1.1;fill:none}.project-notes{border-top:1px solid var(--line);padding-top:22px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:42px;row-gap:0}h3{font-size:12px;letter-spacing:.1em;color:var(--muted);font-weight:700;margin:0 0 10px}.project-notes p{font-size:14px;line-height:1.6;margin:0}.project-notes .context{font-size:12px;color:var(--muted);margin-top:12px}footer{display:flex;justify-content:space-between;gap:20px;border-top:1px solid var(--line);margin-top:26px;padding-top:16px;color:#655f56;font-size:12px}footer p{margin:0;max-width:610px}footer a{white-space:nowrap}#media-error{text-align:center;font-size:14px;color:#8e3026;padding:8px}#retry{text-decoration:underline}.screen{animation:reveal .7s ease-out}@keyframes reveal{from{opacity:.5}to{opacity:1}}
@media(min-height:1000px) and (min-width:800px){main{padding-top:24px}.introduction{margin-bottom:34px}.screen{height:350px}video{max-height:350px}#sound-scene{height:350px}}
@media(max-width:700px){header{padding:19px 6%;font-size:12px}.signature{font-size:25px}header span{font-size:11px}main{padding:0 6% 22px}h1{font-size:48px;margin-top:24px}.heading>p{font-size:12px}.introduction{font-size:14px;margin:20px 0 24px}.introduction br{display:none}.project-menu{flex-wrap:wrap;gap:0 19px;justify-content:center;padding-bottom:4px;margin-bottom:20px}.project-menu button{font-size:13px;padding:9px 0}.project-menu button[aria-selected=true]:after{bottom:3px;height:1px}.screen{height:280px}video{max-height:280px;max-width:100%}#sound-scene{height:280px}.sound-word{font-size:27px}.slide-navigation{gap:8px;margin-top:18px;grid-template-columns:32px 1fr 32px}.arrow{width:32px}.now-playing h2{font-size:17px}.now-playing p{font-size:12px}.divider{padding:0 6px}.variants{gap:5px;margin:15px 0 20px}.variant{max-width:46%;font-size:12px;padding-right:6px}.variant img{width:30px;height:30px}.project-notes{grid-template-columns:1fr;gap:19px;padding-top:20px}.project-notes p{font-size:15px}.project-notes .context{font-size:12px}footer{display:block;font-size:12px}footer p{margin-bottom:14px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}

/* NUXE: restrained editorial player and navigation. */
header .signature{font-size:20px}header .identity{text-align:right;display:flex;align-items:baseline;gap:12px}header .identity span{display:inline;font-size:inherit;color:inherit}.heading>p{font-weight:300}
#showcase{position:relative;--screen-height:320px}.screen{height:var(--screen-height);padding-inline:45px}.video-player{position:relative;max-width:100%;height:100%;display:flex;align-items:center;justify-content:center}.video-player video{border:0;outline:0}.play-toggle{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:46px;height:46px;background:rgba(255,255,255,.92);border-radius:50%;display:grid;place-items:center;color:var(--ink)}.play-toggle svg{width:23px;height:23px;fill:currentColor}.video-player.is-playing .play-toggle{opacity:0}.video-player:hover .play-toggle,.video-player:focus-within .play-toggle{opacity:1}.play-toggle:focus-visible{outline:2px solid var(--muted);outline-offset:4px}
.slide-navigation{display:block}.slide-navigation>.arrow{position:absolute;top:calc(var(--screen-height)/2);transform:translateY(-50%)}#previous{left:0}#next{right:0}.variant{border:0;border-bottom:2px solid transparent;padding-bottom:8px}.variant[aria-pressed=true]{border-color:var(--muted)}.variant:hover{background:transparent;color:var(--muted)}.project-notes{gap:42px;padding-top:16px}.project-notes p{font-size:13px;line-height:1.5}.project-notes h3{font-size:11px;font-weight:400;margin-bottom:7px}.project-notes .context{margin-top:8px}
@media(min-height:1000px) and (min-width:800px){#showcase{--screen-height:350px}}@media(max-width:700px){header .signature{font-size:18px}header .identity{font-size:11px;gap:7px}#showcase{--screen-height:280px}.screen{padding-inline:34px}.project-notes{gap:16px}.project-notes p{font-size:13px}.play-toggle{width:42px;height:42px}}

header .signature{font-size:16px;position:relative}header .signature:after{content:'Roman Krajewski';position:absolute;left:calc(100% + 12px);top:50%;transform:translateY(-50%);font:300 12px var(--body);white-space:nowrap;opacity:0;pointer-events:none}header .signature:hover:after,header .signature:focus-visible:after{opacity:1}header .identity{align-items:center}header .identity svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.15}
.video-player.is-playing .play-toggle,.video-player.is-playing:hover .play-toggle,.video-player.is-playing:focus-within .play-toggle{opacity:0}.video-player.is-playing .play-toggle:focus-visible{opacity:0}.video-player.is-playing{cursor:pointer}
.variant{padding:0 0 8px;max-width:none}.variants{gap:18px}.project-notes>.context{grid-column:1/-1;font-size:17px;font-weight:300;color:var(--muted);margin:0;line-height:1.4}.project-notes{row-gap:15px}.project-notes h3{font-weight:700}.project-notes{margin-bottom:24px}
@media(max-width:700px){header .signature{font-size:14px}.variant{max-width:46%}.variants{gap:12px}.project-notes>.context{font-size:16px}header .signature:after{top:calc(100% + 8px);left:0;transform:none}}

/* Header shares the content and rule alignment. */
header{max-width:1040px;margin-inline:auto;padding-inline:44px}
@media(max-width:700px){header{padding-inline:6%}}

/* Upper rule mirrors the project menu rule. */
.heading{border-top:1px solid var(--line);padding-top:14px}

header .signature:focus-visible:after{opacity:1}header .signature:focus-visible{outline:2px solid var(--muted);outline-offset:5px}

/* Requested editorial spacing and closing rule. */
header{align-items:baseline;padding-bottom:4px}header .identity{display:block;font-weight:300}main{padding-top:4px}.introduction{line-height:1.3}.project-notes p{font-size:12px;line-height:1.35}.project-notes h3{margin-bottom:3px}.project-notes{row-gap:10px}main:after{content:'';display:block;border-top:1px solid var(--line);margin-top:20px}
@media(min-height:1000px) and (min-width:800px){main{padding-top:4px}}@media(max-width:700px){header{padding-bottom:4px;gap:16px}header .identity{font-size:11px;max-width:85%;text-align:right}.project-notes p{font-size:12px;line-height:1.35}main{padding-top:4px}}

/* Three-part application header, with a stable centered role. */
header{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);column-gap:16px;align-items:baseline}
header .signature{justify-self:start;min-width:24px}
header .signature:after{left:0;font:inherit;color:var(--muted)}
header .signature:hover,header .signature:focus-visible{color:transparent}
header .identity{justify-self:center;text-align:center;max-width:none}
header .recipient{justify-self:end;text-align:right;font-weight:300;white-space:nowrap}
@media(max-width:900px){header{grid-template-columns:minmax(0,1fr) auto;row-gap:10px}header .identity{grid-column:1/-1;grid-row:2}header .recipient{grid-column:2;grid-row:1}}
@media(max-width:700px){header .signature:after{top:50%;transform:translateY(-50%)}header .recipient{font-size:11px}}

#storyboard-scene{width:min(540px,100%);height:100%;display:flex;flex-direction:column;align-items:center}
#storyboard-large{display:flex;flex-direction:column;align-items:center;min-height:0;flex:1;width:100%;font-size:12px;color:var(--muted);gap:4px}
#storyboard-image{width:100%;min-height:0;flex:1;object-fit:contain}

/* Requested title cleanup and tighter credit block. */
.heading>p{font-family:var(--body);font-weight:700;letter-spacing:.18em}
.project-notes>.context{display:none}
.project-notes{padding-top:12px;row-gap:0}
.variant:not(:has(.sound-icon)){gap:0}
.now-playing h2{font-family:var(--display);font-weight:100}
.project-notes{margin-bottom:0}
main:after{margin-top:12px}

/* Preserve breathing room when the two note columns stack on narrow screens. */
@media(max-width:700px){.project-notes{row-gap:20px}}

/* Mobile header: three centered, predictable lines. */
@media(max-width:700px){
  header{display:flex;flex-direction:column;align-items:center;gap:5px;padding-top:18px;padding-bottom:12px;text-align:center}
  header .signature{min-width:0;font-size:0;line-height:1;justify-self:auto}
  header .signature:after{content:'Roman Krajewski';position:static;display:block;opacity:1;transform:none;font:300 13px/1.2 var(--body);color:var(--muted);white-space:nowrap}
  header .signature:hover,header .signature:focus-visible{color:inherit}
  header .identity{grid-column:auto;grid-row:auto;max-width:none;width:100%;font-size:clamp(9px,2.1vw,11px);line-height:1.3;text-align:center;white-space:nowrap}
  header .recipient{grid-column:auto;grid-row:auto;justify-self:auto;font-size:11px;line-height:1.3;text-align:center}
}

.variant{text-transform:uppercase;letter-spacing:.04em}
.project-menu button,.project-menu button[aria-selected=true]{font-family:DoricExtended,Doric,sans-serif;font-weight:300}

/* Mobile signature: initials RK that unfold into the full name on tap. */
@media(max-width:700px){
  header .signature{position:relative;font-size:20px;line-height:1.2;cursor:pointer;-webkit-tap-highlight-color:transparent}
  header .signature:after{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:block;opacity:0;font:inherit;font-size:17px;line-height:1.2;color:var(--muted);white-space:nowrap;transition:opacity .25s}
  header .signature:hover,header .signature:focus{color:transparent;outline:none}
  header .signature:hover:after,header .signature:focus:after{opacity:1}
}

/* Recipient set at the same size as the RK initials. */
header .recipient{font-family:DoricExtended,Doric,sans-serif;font-size:16px;font-weight:100;color:var(--muted);text-transform:lowercase}
@media(max-width:700px){header .recipient{font-size:20px}header .signature{line-height:1}header .identity{margin-top:-3px}}

/* Caslon Doric Extended Bold for the subtitle and note headings. */
.heading>p,.project-notes h3{font-family:DoricExtended,Doric,sans-serif;font-weight:700}

/* Header without the role line: keep the recipient on the right. */
header .recipient{grid-column:3}
@media(max-width:900px){header .recipient{grid-column:2}}

/* Wrapped tab menu: tighter spacing between lines. */
@media(max-width:880px){.project-menu{flex-wrap:wrap;gap:0 19px;padding-bottom:4px;margin-bottom:20px}.project-menu button{font-size:13px;padding:3px 0 7px}.project-menu button[aria-selected=true]:after{bottom:2px;height:1px}}

/* Media details line (type · duration · source / position) removed. */
#media-details{display:none!important}

/* Sound scene without title and subtitle: waveform moves up. */
#sound-scene .sound-word,#sound-scene .sound-subtitle{display:none}

/* Previous / next arrows placed on each side of the thumbnails. */
.variant-row{display:flex;align-items:center;justify-content:center;gap:20px;margin:19px 0 24px}
.variant-row .variants{margin:0;min-width:0}
.variant-row>.arrow{position:static;transform:none;flex:none;margin-bottom:10px}
@media(max-width:700px){.variant-row{gap:8px;margin:15px 0 20px}}

/* Selected tab: Extended Semibold instead of an underline; hidden bold copy reserves the width. */
.project-menu button{display:inline-flex;flex-direction:column;align-items:center}
.project-menu button[aria-selected=true]{font-weight:600}
.project-menu button:after,.project-menu button[aria-selected=true]:after{content:attr(data-label);position:static;display:block;height:0;overflow:hidden;visibility:hidden;background:none;font-weight:600;pointer-events:none}

/* Thinner previous / next arrows. */
.variant-row>.arrow svg{stroke-width:.75}

/* Full-width rule above the main menu, with even spacing above and below the labels. */
.project-menu{border-top:1px solid var(--line);padding-top:13px}
@media(max-width:880px){.project-menu{padding-top:8px}}

/* RK link: the unfolded name stays hovered and clickable along its full width. */
header .signature{cursor:pointer}
header .signature:hover:after,header .signature:focus:after{pointer-events:auto}

/* Portrait phones: media span the full content width (rule to rule) with tight spacing. */
@media(max-width:700px){
  .project-menu{margin-bottom:14px}
  .screen{height:auto;padding-inline:0;overflow:visible}
  .video-player{width:100%;height:auto}
  .video-player video{width:100%;height:auto;max-width:100%;max-height:none}
  #storyboard-scene{width:100%;height:auto}
  #storyboard-large,#storyboard-image{flex:none;height:auto}
  #sound-scene{width:100%;height:auto;padding:10px 0}
  .slide-navigation{margin-top:12px}
}

/* Diaporama des visuels de campagne (key visuals, print & digital). */
#gallery-scene{width:100%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;cursor:pointer}
.gallery-frame{position:relative;width:100%;flex:1;min-height:0;display:flex;align-items:center;justify-content:center;aspect-ratio:var(--gallery-ratio,1);max-width:100%;margin-inline:auto}
.gallery-layer{position:absolute;inset:0;margin:auto;max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;opacity:0;transition:opacity .8s ease}
.gallery-layer.is-on{opacity:1}
.gallery-toggle{opacity:0}
#gallery-scene:hover .gallery-toggle,#gallery-scene:focus-within .gallery-toggle{opacity:1}
.gallery-counter{margin:0;font-size:12px;color:var(--muted);font-variant-numeric:tabular-nums}
@media(max-width:700px){
  #gallery-scene{height:auto;gap:6px}
  .gallery-frame{height:auto;width:100%;aspect-ratio:var(--gallery-ratio,1)}
  .gallery-toggle{opacity:1}
}

/* Mention de rôle en haut à droite, casse normale. */
header .recipient{text-transform:none}

/* Visuels de campagne haute définition : scène plus grande que pour les vidéos. */
#showcase.is-gallery{--screen-height:560px}
@media(min-height:1000px) and (min-width:800px){#showcase.is-gallery{--screen-height:640px}}
@media(max-width:700px){#showcase.is-gallery{--screen-height:auto}}

/* Huit onglets : le menu passe à la ligne à toutes les largeurs. */
.project-menu{flex-wrap:wrap;gap:0 24px;row-gap:0}
.project-menu button{padding:3px 0 7px}
.project-menu button[aria-selected=true]:after{bottom:2px;height:1px}

/* Diaporama : pas de bouton pause par-dessus les visuels. */
.gallery-toggle{display:none!important}
