/* Events (r2/events.js): the front as one row, one page per event, In the Desert run by its brochure */
.r2-ev-on .projects-head, .r2-ev-on .project-list { display: none; }
.r2-ev { position: relative; padding-top: 6px; }

/* what a file is, in word and in shape: Print file has a keyline, Render a dashed edge, Photo is black */
.r2-tag { display: inline-flex; align-items: center; gap: 5px; font: 600 12px/1 'Albert Sans', sans-serif; font-style: normal; padding: 5px 7px; color: #000; background: #fff; box-shadow: inset 0 0 0 1.5px #000; white-space: nowrap; }
.r2-tag.render { background: rgba(255, 255, 255, .78); box-shadow: none; outline: 1.5px dashed #000; outline-offset: -1.5px; }
.r2-tag.photo { background: #000; color: #fff; box-shadow: none; }
.r2-tag b { font-weight: 700; }

/* ---- the front ---- */
.r2-evh { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; margin: 0 0 30px; }
.r2-evl { font-size: 24px; line-height: 1.25; max-width: 34ch; margin: 0; letter-spacing: -.01em; }
.r2-evh small { font: 600 14px/1 'Albert Sans', sans-serif; opacity: .7; white-space: nowrap; }
.r2-cos { display: flex; gap: 48px; align-items: flex-start; }
.r2-co { flex: none; }
.r2-coh { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 46px; margin-bottom: 14px; border-bottom: 2px solid #000; }
.r2-coh img { height: 30px; width: auto; max-width: 70%; filter: brightness(0); }
.r2-coh span { font: 600 13px/1 'Albert Sans', sans-serif; opacity: .7; }
.r2-ps { display: flex; gap: 22px; align-items: flex-start; }
.r2-p { all: unset; cursor: pointer; display: block; box-sizing: border-box; width: 240px; }
.r2-pi { display: block; position: relative; aspect-ratio: var(--ar); box-shadow: 0 1px 1px rgba(0, 0, 0, .2), 0 14px 26px -14px rgba(60, 40, 0, .6); transition: transform .3s cubic-bezier(.23, 1, .32, 1), box-shadow .3s; }
.r2-pi img { display: block; width: 100%; height: 100%; object-fit: cover; }
.r2-p .r2-open { position: absolute; right: 10px; top: 10px; font: 600 13px/1 'Albert Sans', sans-serif; padding: 9px 14px; border-radius: 99px; background: #000; color: #fff; opacity: 0; transform: translateY(-4px); transition: opacity .25s, transform .25s; }
.r2-p:hover .r2-pi, .r2-p:focus-visible .r2-pi { transform: translateY(-8px); box-shadow: 0 1px 1px rgba(0, 0, 0, .2), 0 24px 32px -16px rgba(60, 40, 0, .65); }
.r2-p:hover .r2-open, .r2-p:focus-visible .r2-open { opacity: 1; transform: none; }
.r2-p:focus-visible { outline: 2px solid #000; outline-offset: 8px; }
.r2-p.seen .r2-pi::after { content: 'Seen'; position: absolute; left: 10px; top: 10px; font: 600 12px/1 'Albert Sans', sans-serif; padding: 6px 8px; background: #000; color: #F4CF3D; }
.r2-colog { display: none; }
.r2-p b { display: block; margin-top: 16px; font: 700 24px/1 'Albert Sans', sans-serif; letter-spacing: -.03em; }
.r2-p small { display: block; margin-top: 6px; font-size: 14px; line-height: 1.35; }
.r2-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
@media (max-width: 759px) {
  .r2-evh { display: block; margin-bottom: 22px; } .r2-evl { font-size: 20px; } .r2-evh small { display: block; margin-top: 8px; }
  .r2-cos { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 14px; }
  .r2-co, .r2-ps { display: contents; } .r2-coh { display: none; }
  .r2-p { width: auto; } .r2-colog { display: block; height: 16px; width: auto; max-width: 70%; margin-top: 12px; filter: brightness(0); }
  .r2-p b { font-size: 19px; margin-top: 6px; } .r2-p small { font-size: 13px; } .r2-p .r2-open { opacity: 1; transform: none; padding: 7px 11px; font-size: 12px; }
}

/* ---- the page of one event: under the header, over the fold map ---- */
html.r2-ep-open { overflow: hidden; } html.r2-ep-open .fmap { display: none; }
.r2-ep { position: fixed; left: 0; right: 0; top: 52px; bottom: 0; z-index: 45; background: #F4CF3D; color: #000; overflow-y: auto; overscroll-behavior: contain; padding: 0 40px 64px; }
:where(.r2-ep) button { all: unset; cursor: pointer; box-sizing: border-box; } /* :where keeps this reset below every component rule */
.r2-ep button:focus-visible { outline: 2px solid #000; outline-offset: 3px; }
.r2-epb { position: sticky; top: 0; z-index: 6; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 12px 0; background: #F4CF3D; }
.r2-ep .r2-bx { font: 600 15px/1 'Albert Sans', sans-serif; height: 44px; padding: 0 18px; display: inline-flex; align-items: center; border-radius: 99px; background: rgba(255, 255, 255, .78); box-shadow: 0 4px 14px -8px rgba(0, 0, 0, .45); }
.r2-key { display: flex; align-items: center; gap: 8px; } .r2-key > span { font: 500 13px/1 'Albert Sans', sans-serif; opacity: .7; margin-right: 4px; }
.r2-eph { display: grid; grid-template-columns: auto auto 1fr; align-items: end; gap: 28px; padding: 14px 0 28px; }
.r2-eph img { height: 36px; width: auto; filter: brightness(0); margin-bottom: 8px; }
.r2-eph h2 { margin: 0; font: 400 76px/.9 Anton, sans-serif; text-transform: uppercase; letter-spacing: .005em; }
.r2-eph p { margin: 0 0 6px; max-width: 52ch; font-size: 18px; line-height: 1.38; }

/* In the Desert: the stage, the caption, the rail */
.r2-dz { --ph: 480px; margin-bottom: 18px; }
.r2-stg { display: flex; justify-content: center; align-items: flex-start; gap: 44px; }
.r2-l { position: relative; flex: none; width: var(--sw); height: var(--ph); }
.r2-keyart { position: absolute; left: 0; top: 0; height: var(--ph); aspect-ratio: 744 / 1012; margin: 0; box-shadow: 0 1px 1px rgba(0, 0, 0, .2), 0 18px 30px -14px rgba(60, 40, 0, .55); display: none; }
.r2-keyart img { width: 100%; height: 100%; display: block; }
.r2-keyart .r2-tag, .r2-r .r2-tag { position: absolute; left: 10px; bottom: 10px; }
.r2-dz[data-left="key"] .r2-keyart { display: block; }
.r2-dz[data-left="key"] .r2-l { width: calc(var(--ph) * .735); }
.r2-sheetw { position: absolute; inset: 0; perspective: 2600px; display: none; }
.r2-dz[data-left="sheet"] .r2-sheetw { display: block; }
.r2-ghost { position: absolute; left: var(--w1); top: 0; width: calc(var(--w2) + var(--w3)); height: 100%; box-sizing: border-box; border: 2px dashed rgba(0, 0, 0, .3); display: flex; transition: opacity .3s; pointer-events: none; }
.r2-ghost span { flex: 1; display: grid; place-items: center; font: 400 44px/1 Anton, sans-serif; color: rgba(0, 0, 0, .22); }
.r2-ghost span + span { border-left: 2px dashed rgba(0, 0, 0, .18); }
.r2-sheet { position: absolute; left: 0; top: 0; width: var(--sw); height: var(--ph); transform-style: preserve-3d; transition: transform .95s cubic-bezier(.6, 0, .2, 1); }
.r2-dz.turned .r2-sheet { transform: rotateY(180deg); }
.r2-front { position: absolute; inset: 0; transform-style: preserve-3d; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.r2-back { position: absolute; inset: 0; transform: rotateY(180deg); backface-visibility: hidden; -webkit-backface-visibility: hidden; box-shadow: 0 1px 1px rgba(0, 0, 0, .2), 0 18px 30px -14px rgba(60, 40, 0, .55); }
.r2-back img { width: 100%; height: 100%; display: block; }
.r2-pan { position: absolute; top: 0; height: 100%; transform-style: preserve-3d; }
.r2-p1 { left: 0; width: var(--w1); box-shadow: 0 1px 1px rgba(0, 0, 0, .2), 0 18px 30px -14px rgba(60, 40, 0, .55); }
.r2-p2 { left: 100%; width: var(--w2); transform-origin: 0 50%; }
.r2-p3 { left: 100%; width: var(--w3); transform-origin: 0 50%; }
.r2-pan > img { display: block; width: 100%; height: 100%; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.r2-p2::after, .r2-p3::after { content: ''; position: absolute; inset: 0; background: rgba(20, 14, 0, var(--sh, 0)); pointer-events: none; backface-visibility: hidden; }
.r2-mark { position: absolute; left: 5%; right: 5%; z-index: 1; background: rgba(244, 207, 61, .5); mix-blend-mode: multiply; outline: 2px solid #000; transform: scaleX(0); transform-origin: 0 50%; transition: transform .45s .25s cubic-bezier(.23, 1, .32, 1); pointer-events: none; }
.r2-mark.on { transform: none; }
.r2-grip { position: absolute; left: calc(var(--w1) - 20px); top: 50%; translate: 0 -50%; z-index: 3; height: 44px; padding: 0 16px; display: inline-flex !important; align-items: center; border-radius: 99px; font: 600 14px/1 'Albert Sans', sans-serif; color: #fff; background: rgba(12, 20, 60, .55); -webkit-backdrop-filter: blur(10px) saturate(1.6); backdrop-filter: blur(10px) saturate(1.6); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), 0 8px 18px -8px rgba(0, 0, 0, .6); transition: opacity .25s; }
.r2-grip.gone { opacity: 0; pointer-events: none; }
.r2-sheetw .r2-lens, .r2-sheetw .r2-hold { position: absolute; left: 0; top: 0; width: var(--sw); height: var(--ph); }
.r2-sheetw .r2-lens { pointer-events: none; opacity: 0; z-index: 4; } .r2-sheetw .r2-lens.on { opacity: 1; }
.r2-sheetw .r2-hold { z-index: 5; cursor: zoom-in; } .r2-sheetw .r2-hold[hidden] { display: none; }
.r2-dz[data-m="closed"] .r2-sheetw { cursor: pointer; }
.r2-r { position: relative; margin: 0; height: var(--ph); display: none; flex: 0 1 auto; min-width: 0; align-items: flex-end; }
.r2-r img { max-height: 100%; max-width: 100%; width: auto; height: auto; display: block; box-shadow: 0 14px 30px -12px rgba(60, 40, 0, .5); }
.r2-dz.has-r .r2-r { display: flex; }
.r2-cap { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 22px auto 16px; max-width: 860px; font-size: 16px; line-height: 1.4; min-height: 46px; text-align: left; }
.r2-cap b { font: 400 24px/1 Anton, sans-serif; white-space: nowrap; }
.r2-rl { display: grid; grid-template-columns: repeat(8, 1fr); gap: 6px; }
.r2-mo { display: grid !important; gap: 6px; padding: 12px 14px; background: rgba(255, 255, 255, .5); transition: background .2s, color .2s; }
.r2-mo i { font: 400 20px/1 Anton, sans-serif; font-style: normal; } .r2-mo span { font: 500 14px/1.2 'Albert Sans', sans-serif; }
.r2-mo:hover { background: rgba(255, 255, 255, .85); } .r2-mo.on { background: #000; color: #F4CF3D; }

/* the whole kit, then the way on */
.r2-kit > header { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin: 48px 0 18px; }
.r2-kit h3 { margin: 0; font: 400 44px/.95 Anton, sans-serif; text-transform: uppercase; }
.r2-eph + .r2-kit > header { margin-top: 8px; }
.r2-flt { display: flex; flex-wrap: wrap; gap: 6px; }
.r2-flt button { height: 40px; padding: 0 14px; display: inline-flex; align-items: center; gap: 6px; border-radius: 99px; font: 600 14px/1 'Albert Sans', sans-serif; box-shadow: inset 0 0 0 1.5px #000; }
.r2-flt button[aria-pressed="true"] { background: #000; color: #F4CF3D; }
.r2-bdg { display: flex; flex-wrap: wrap; gap: var(--g, 10px); }
.r2-ep .r2-bdf, .r2-bdf { display: block; position: relative; overflow: hidden; background: rgba(0, 0, 0, .08); box-shadow: 0 1px 1px rgba(0, 0, 0, .12), 0 10px 22px -12px rgba(0, 0, 0, .45); transition: opacity .3s; }
.r2-bdf img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.r2-bdf .r2-tag { position: absolute; left: 8px; bottom: 8px; }
.r2-bdf:hover img { transform: scale(1.025); } .r2-bdf.dim { opacity: .16; }
.r2-end { display: grid; grid-template-columns: 1.5fr 1fr; gap: 20px; margin-top: 56px; }
.r2-tk { background: #fff; padding: 30px 32px; box-shadow: 0 14px 30px -18px rgba(60, 40, 0, .6); }
.r2-tk h3 { margin: 0 0 10px; font: 400 40px/1 Anton, sans-serif; text-transform: uppercase; }
.r2-tk p { margin: 0 0 20px; max-width: 46ch; font-size: 17px; line-height: 1.4; }
.r2-talk { display: inline-flex; align-items: center; height: 48px; padding: 0 24px; border-radius: 99px; background: #000; color: #fff; text-decoration: none; font: 600 16px/1 'Albert Sans', sans-serif; }
.r2-nx { display: flex !important; align-items: center; gap: 20px; padding: 18px; background: rgba(0, 0, 0, .07); }
.r2-nx img { height: 130px; width: auto; box-shadow: 0 10px 20px -10px rgba(0, 0, 0, .5); }
.r2-nx small { display: block; font: 600 13px/1 'Albert Sans', sans-serif; opacity: .7; margin-bottom: 8px; } .r2-nx b { font: 400 34px/1 Anton, sans-serif; text-transform: uppercase; }
.r2-nx:hover { background: rgba(0, 0, 0, .12); }

/* one piece, enlarged */
.r2-bdz { position: fixed; inset: 0; z-index: 60; background: rgba(20, 16, 4, .94); display: grid; place-items: center; cursor: zoom-out; }
.r2-bdz[hidden] { display: none; }
.r2-bdz img { max-width: calc(100vw - 160px); max-height: calc(100vh - 90px); object-fit: contain; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7); }
.r2-bdz .r2-zp, .r2-bdz .r2-zn { position: absolute; top: 50%; translate: 0 -50%; width: 56px; height: 56px; border-radius: 99px; background: #F4CF3D; display: grid !important; place-items: center; font-size: 22px; }
.r2-bdz .r2-zp { left: 24px; } .r2-bdz .r2-zn { right: 24px; }
.r2-bdz > span { position: absolute; bottom: 20px; left: 50%; translate: -50% 0; display: flex; gap: 10px; align-items: center; color: #F4CF3D; font: 600 14px/1 'Albert Sans', sans-serif; }

@media (max-width: 759px) {
  .r2-ep { padding: 0 14px 40px; }
  .r2-epb { padding: 10px 0; } .r2-ep .r2-bx { height: 40px; padding: 0 14px; font-size: 14px; }
  .r2-key > span { display: none; } .r2-key { gap: 5px; } .r2-key .r2-tag { font-size: 11px; padding: 4px 6px; }
  .r2-eph { display: block; padding: 8px 0 18px; } .r2-eph img { height: 24px; margin: 0 0 8px; display: block; } .r2-eph h2 { font-size: 46px; } .r2-eph p { margin-top: 10px; font-size: 15.5px; }
  .r2-stg { gap: 0; }
  .r2-dz.has-r:not([data-m="invite"]):not([data-m="map"]) .r2-l { display: none; } .r2-dz:is([data-m="invite"], [data-m="map"]) .r2-r { display: none; } /* a phone shows one thing: the menu itself, or the print (key art, map) */
  .r2-r { height: auto; width: 100%; } .r2-r img { width: 100%; height: auto; max-width: none; max-height: 62svh; }
  .r2-cap { justify-content: flex-start; flex-wrap: wrap; gap: 8px 10px; margin: 14px 0 12px; font-size: 14.5px; } .r2-cap > span:last-child { flex-basis: 100%; }
  .r2-rl { grid-template-columns: 1fr; gap: 4px; }
  .r2-mo { grid-template-columns: 74px 1fr; align-items: center; min-height: 52px; padding: 0 14px; } .r2-mo i { font-size: 18px; } .r2-mo span { font-size: 15px; }
  .r2-ghost span { font-size: 26px; }
  .r2-kit > header { display: block; margin-top: 36px; } .r2-kit h3 { font-size: 34px; margin-bottom: 12px; }
  .r2-end { grid-template-columns: 1fr; margin-top: 36px; } .r2-tk { padding: 22px; } .r2-tk h3 { font-size: 32px; }
  .r2-nx img { height: 96px; } .r2-nx b { font-size: 26px; }
  .r2-bdz img { max-width: 100vw; max-height: calc(100vh - 140px); } .r2-bdz .r2-zp, .r2-bdz .r2-zn { top: auto; bottom: 16px; translate: none; width: 50px; height: 50px; } .r2-bdz > span { bottom: 32px; }
}
@media (prefers-reduced-motion: reduce) { .r2-sheet, .r2-mark, .r2-pi, .r2-p .r2-open { transition: none; } }

/* Products: the same page (r2/products.js); the client set in type where an event shows a logo */
.r2-eph .r2-ppc { display: block; font-size: 15px; font-weight: 700; letter-spacing: .02em; margin-bottom: 10px; }
.pr-cap .r2-ppo { pointer-events: auto; justify-self: start; margin-top: 14px; background: #141414; color: #f3f1ec; border: 0; min-height: 44px; padding: 0 20px; font-size: 15px; cursor: pointer; }
.r2-ep.r2-pp { background: #F2B48A; } /* the Products colour */
.r2-pp .r2-epb { background: #F2B48A; } .r2-pp .r2-flt button[aria-pressed="true"] { color: #F2B48A; } .r2-pp .r2-bdz .r2-zp, .r2-pp .r2-bdz .r2-zn { background: #F2B48A; } .r2-pp .r2-bdz > span { color: #F2B48A; }
/* the owner's text for an enlarged picture (written in the editor, shown only when there is one) */
.r2-bdz > span { flex-wrap: wrap; justify-content: center; max-width: min(64vw, 720px); }
.r2-bdz .r2-zc { font-style: normal; font-weight: 500; color: #fff; font-size: 15px; line-height: 1.35; flex-basis: 100%; text-align: center; margin-top: 2px; }
@media (max-width: 760px) { .r2-bdz > span { max-width: 56vw; } }
