/* Creative view surfaces: stage silk, velvet table, film, atelier gallery, satin. Decoration only; loads after home.css.
   Every rule is scoped to body[data-view=creative]; the contact block and footer are shared with other views. */
body[data-view=creative]{--cg:url(decor_creative/grain.svg);--cfl:url(decor_creative/flourish.svg)}

/* headings: one loose stroke of gold thread */
body[data-view=creative] :is(.cfan h2,.cgas h2,.services h2,.work h2,.contact h2)::after{content:"";display:block;width:min(240px,60%);aspect-ratio:10/1;margin-top:.14em;background:var(--cfl) left center/contain no-repeat;pointer-events:none}

/* 1. card fan: a stage with silk drapes, spotlight and floor curves */
body[data-view=creative] .cfan{padding-bottom:70px;background:
 url(decor_creative/drape-l.svg) left top/min(24vw,340px) 100% no-repeat,
 url(decor_creative/drape-r.svg) right top/min(24vw,340px) 100% no-repeat,
 url(decor_creative/stage.svg) center bottom -8px/max(100%,760px) auto no-repeat,
 url(decor_creative/spot.svg) center top/100% 100% no-repeat,
 var(--cg),
 radial-gradient(70% 80% at 50% 92%,#5a2560,#23102c 55%,#0e0813)}
body[data-view=creative] .cfan h2::after{margin-inline:auto;background-position:center}

/* 2. gastronomy: wine velvet, plate rings, candle light, a curved print with a second sheet behind */
body[data-view=creative] .cgas{position:relative;padding-top:128px;padding-bottom:96px;background:
 url(decor_creative/seam-a.svg) center top/100% 90px no-repeat,
 url(decor_creative/plate.svg) right -190px center/620px 620px no-repeat,
 var(--cg),
 repeating-linear-gradient(97deg,#0000 0 70px,#ffb9a808 120px,#0000 170px),
 radial-gradient(60% 90% at 16% 62%,#6a2332,#0000 70%),
 linear-gradient(160deg,#2c0d1e,#1b0912 55%,#12070f)}
body[data-view=creative] .cgas img{border:0;border-radius:min(150px,24vw) 3px 3px 3px;outline:1px solid #e8c884b3;outline-offset:-10px;box-shadow:-14px 14px 0 -1px #3b1226,-14px 14px 0 0 #c99a3e8c,0 40px 70px -24px #000}

/* 3. what we create: film, perforated edges and projector light */
body[data-view=creative] .services{padding-top:clamp(96px,10vw,140px)!important;padding-bottom:clamp(86px,9vw,124px)!important;border-top:0;background:
 url(decor_creative/film.svg) left top/40px 30px repeat-x,
 url(decor_creative/film.svg) 20px bottom/40px 30px repeat-x,
 url(decor_creative/beam.svg) center top/100% min(900px,100%) no-repeat,
 var(--cg),
 linear-gradient(180deg,#0b0710,#171021 45%,#0a060e)!important}
body[data-view=creative] .services h2{font-size:clamp(48px,8vw,116px)!important;line-height:.94}
body[data-view=creative] .services .sc{border:0!important;border-radius:min(130px,26vw) 3px 3px 3px!important;outline:1px solid #e8c88466;outline-offset:-9px;background-color:#241430;box-shadow:0 30px 50px -30px #000}
body[data-view=creative] .services .sc:hover{outline-color:#f3dc9acc}
body[data-view=creative] .services .sc:nth-child(2){border-radius:3px min(130px,26vw) 3px 3px!important}
body[data-view=creative] .services .sc:nth-child(n+3){border-radius:min(190px,40vw) min(190px,40vw) 3px 3px!important}
@media(min-width:1041px){
 body[data-view=creative] .services .sg{grid-template-columns:repeat(6,minmax(0,1fr));gap:22px}
 body[data-view=creative] .services .sc.cr{grid-column:span 2}
 body[data-view=creative] .services .sc.cr:nth-child(-n+2){grid-column:span 3;min-height:440px}
}

/* 4. gallery: atelier wall, deep silk behind the title, photos mounted with an inner gold line */
body[data-view=creative] .work{padding-top:clamp(120px,12vw,170px)!important;border-top:0;background:
 url(decor_creative/seam-b.svg) center top/100% 100px no-repeat,
 url(decor_creative/arcs.svg) right top 60px/min(70vw,720px) auto no-repeat,
 var(--cg),
 linear-gradient(180deg,#130b1c00 50%,#130b1c) center top/100% 761px no-repeat,
 url(decor_creative/silk-deep.svg) center top/max(100%,900px) 760px no-repeat,
 linear-gradient(180deg,#130b1c 760px,#0c0811 70%,#1d0c27)!important}
body[data-view=creative] .work h2{font-size:clamp(46px,7vw,108px)!important;line-height:.98;max-width:11em}
body[data-view=creative] .work:after{background:linear-gradient(180deg,#1d0c2700,#2b1236);height:180px}
body[data-view=creative] .work .av :is(img,video){outline:1px solid #f0d594a6;outline-offset:-8px;box-shadow:0 22px 34px -22px #000}
body[data-view=creative] .work .av>:nth-child(6n+2){border-radius:50% 50% 2px 2px/30% 30% 2px 2px!important}
body[data-view=creative] .work .av>:nth-child(6n+4){border-radius:min(110px,18vw) 2px 2px 2px!important}
body[data-view=creative] .work .grid figure.wk{position:relative}
body[data-view=creative] .work .grid figure.wk::before{content:"";position:absolute;inset:8px;z-index:2;border:1px solid #f0d594a6;pointer-events:none}

/* 5. contact: aubergine satin, the request as a curved sheet floating on it */
body[data-view=creative] .contact{position:relative;padding-top:clamp(120px,12vw,170px)!important;border-top:0;background:
 url(decor_creative/seam-a.svg) center top/100% 100px no-repeat,
 var(--cg),
 linear-gradient(100deg,#12081ad9 0,#12081a8c 38%,#12081a00 70%),
 url(decor_creative/silk.svg) center/cover no-repeat,
 radial-gradient(60% 70% at 85% 20%,#5c2456,#0000 70%),
 linear-gradient(135deg,#34143d,#150a1b)!important}
body[data-view=creative] .contact form{border:1px solid transparent;border-radius:3px min(110px,16vw) 3px 3px;background:linear-gradient(#130a19ed,#130a19ed) padding-box,linear-gradient(150deg,#f3dc9a,#a77a2a55 35%,#a77a2a33 65%,#e8c884aa) border-box;box-shadow:0 50px 80px -40px #000}

/* footer: ink, closed by a single curve */
body[data-view=creative] .mk-foot{border-top:0!important;padding-top:104px!important;background:
 url(decor_creative/seam-b.svg) center top/100% 76px no-repeat,
 url(decor_creative/arcs.svg) right bottom/420px auto no-repeat,
 var(--cg),
 linear-gradient(180deg,#150b1d,#0b0710)!important}

@media(max-width:760px){
 body[data-view=creative] .cfan{padding-bottom:84px;background-size:64px 100%,64px 100%,640px auto,100% 100%,auto,auto}
 body[data-view=creative] .cgas{padding-top:92px;padding-bottom:64px;background-size:100% 56px,420px 420px,auto,auto,auto,auto;background-position:center top,right -210px bottom -120px,0 0,0 0,0 0,0 0}
 body[data-view=creative] .cgas img{box-shadow:-8px 8px 0 -1px #3b1226,-8px 8px 0 0 #c99a3e8c,0 30px 50px -24px #000}
 body[data-view=creative] .services{background-size:30px 22px,30px 22px,100% 900px,auto,auto!important}
 body[data-view=creative] .work{padding-top:96px!important;background-size:100% 60px,420px auto,auto,100% 761px,900px 760px,auto!important}
 body[data-view=creative] .work .av :is(img,video){outline-offset:-5px}
 body[data-view=creative] .work .grid figure.wk::before{inset:5px}
 body[data-view=creative] .contact{padding-top:96px!important;background-size:100% 60px,auto,auto,cover,auto,auto!important}
 body[data-view=creative] .mk-foot{padding-top:84px!important;background-size:100% 52px,300px auto,auto,auto!important}
}

/* fix: returning to the Aviation tab must hide the other gallery (its display:grid overrode [hidden]) */
body[data-view=creative] #grid[hidden]{display:none}
