/* ==========================================================================
   DRAFT / PREVIEW WATERMARK  (Studio Liora Creative)
   Everything in this file only applies while <html> carries the class "draft".
   To release the site: remove the word "draft" from the <html> tag in index.html.
   ========================================================================== */
html.draft{--draft-h:26px;--wm:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='320' height='220' viewBox='0 0 320 220'%3E%3Cg font-family='Karla,Helvetica,Arial,sans-serif' font-size='15' font-weight='500' letter-spacing='3.5' text-anchor='middle' fill='%23fff' stroke='%23000' stroke-opacity='.55' stroke-width='.6' paint-order='stroke'%3E%3Ctext x='-160' y='-110' transform='rotate(-30 -160 -110)'%3ESTUDIO LIORA %C2%B7 DRAFT%3C/text%3E%3Ctext x='-160' y='110' transform='rotate(-30 -160 110)'%3ESTUDIO LIORA %C2%B7 DRAFT%3C/text%3E%3Ctext x='-160' y='330' transform='rotate(-30 -160 330)'%3ESTUDIO LIORA %C2%B7 DRAFT%3C/text%3E%3Ctext x='160' y='-110' transform='rotate(-30 160 -110)'%3ESTUDIO LIORA %C2%B7 DRAFT%3C/text%3E%3Ctext x='160' y='110' transform='rotate(-30 160 110)'%3ESTUDIO LIORA %C2%B7 DRAFT%3C/text%3E%3Ctext x='160' y='330' transform='rotate(-30 160 330)'%3ESTUDIO LIORA %C2%B7 DRAFT%3C/text%3E%3Ctext x='480' y='-110' transform='rotate(-30 480 -110)'%3ESTUDIO LIORA %C2%B7 DRAFT%3C/text%3E%3Ctext x='480' y='110' transform='rotate(-30 480 110)'%3ESTUDIO LIORA %C2%B7 DRAFT%3C/text%3E%3Ctext x='480' y='330' transform='rotate(-30 480 330)'%3ESTUDIO LIORA %C2%B7 DRAFT%3C/text%3E%3C/g%3E%3C/svg%3E")}

/* 1. slim fixed ribbon */
.draft-ribbon{display:none}
html.draft .draft-ribbon{display:flex;align-items:center;justify-content:center;gap:.55em;position:fixed;left:0;right:0;top:0;z-index:95;
  height:calc(var(--draft-h) + env(safe-area-inset-top));padding:env(safe-area-inset-top) .8rem 0;margin:0;
  background:rgba(16,34,43,.92);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);border-bottom:1px solid rgba(217,130,91,.55);
  color:#efe6d6;font-family:var(--sans,'Karla',sans-serif);font-weight:400;font-size:10.5px;letter-spacing:.14em;line-height:1;white-space:nowrap;pointer-events:none;
  -webkit-user-select:none;user-select:none}
html.draft .draft-ribbon b{font-weight:500;color:#E9A27E;letter-spacing:.24em;text-transform:uppercase}
html.draft .draft-ribbon i{font-style:normal;opacity:.55}
@media(max-width:420px){html.draft .draft-ribbon{font-size:9.5px;letter-spacing:.07em;gap:.45em}html.draft .draft-ribbon b{letter-spacing:.16em}}
/* push the fixed header and the lightbox close button below the ribbon */
html.draft .topbar{top:calc(var(--draft-h) + env(safe-area-inset-top));padding-top:.9rem}
html.draft .lb-close{top:calc(var(--draft-h) + .5rem + env(safe-area-inset-top))}
html.draft [id]{scroll-margin-top:calc(var(--draft-h) + 4rem)}

/* 2. diagonal tiled watermark over every image, the hero image, the gallery and the lightbox */
html.draft .hero-media::after,
html.draft .full-bleed::after,
html.draft .g::after,
html.draft .map::after,
html.draft .win::after,
html.draft .wm::after{content:"";position:absolute;inset:0;z-index:3;pointer-events:none;background-image:var(--wm);background-size:320px 220px;background-repeat:repeat;opacity:.15}
html.draft .wm{position:relative;display:block}
html.draft .lightbox .wm{display:inline-block;max-width:100%;vertical-align:top}
html.draft .lightbox .wm::after{opacity:.16}

/* 3. deterrent against saving: no long-press callout, no selection, no dragging */
html.draft img,html.draft video{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;-webkit-user-drag:none}
/* ===================== END DRAFT / PREVIEW WATERMARK ===================== */
