/* =====================================================================
   SLIDESHOW: on a desktop-sized window every part of the home page is one full-screen "page". Scrolling or swiping moves
   a page at a time, and each page is laid out to fit the window, with
   its content centred below the menu, so nothing is ever cut off at the top or left half-hidden between two pages.
   Phones and tablets (under 1001px wide) and very short windows keep the normal stacked, free scrolling.
   Loaded after styles.css, so it only has to say what changes.
   ===================================================================== */
:root{--slide-top:clamp(84px,11vh,120px);--slide-pad:clamp(20px,4vh,44px)}

/* ---- the background lines: one quiet texture, the same on every dark surface (home, legal pages, 404), kept faint so
        they never compete with text ---- */
:root{--bg-lines:url("contours-dark.svg") center/cover}

/* ---- the "scroll down" cue on the cover: a button, so it is reachable by keyboard and screen readers ---- */
.hint{display:none}
.cue{position:absolute;z-index:4;left:50%;bottom:clamp(22px,4.5vh,44px);translate:-50% 0;width:52px;height:52px;border-radius:50%;display:grid;place-items:center;
  color:#fff;border:1.5px solid rgba(255,255,255,.55);background:rgba(5,6,13,.38);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);
  transition:background-color .3s,border-color .3s,color .3s,box-shadow .3s,opacity 1.4s var(--ease) 2s}
.cue svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;animation:cue-bob 2.2s ease-in-out infinite}
.cue:hover,.cue:focus-visible{background:#fff;color:#05060d;border-color:#fff;box-shadow:0 0 0 6px rgba(255,255,255,.14)}
.cue:focus-visible{outline:3px solid #fff;outline-offset:5px}
.js .cue{opacity:0}.js .hero.go .cue{opacity:1}
@keyframes cue-bob{0%,100%{transform:translateY(-2px)}50%{transform:translateY(4px)}}
@media (prefers-reduced-motion:reduce){.cue svg{animation:none}}
html.motion-off .cue svg{animation:none}

/* ---- dark surfaces: faint lines + the soft brand glows, one recipe for every section ---- */
.lead{background:
  radial-gradient(46% 42% at 100% 4%,rgba(189,34,105,.28),transparent 70%),
  radial-gradient(42% 38% at 0% 62%,rgba(39,144,205,.22),transparent 70%),
  radial-gradient(38% 34% at 100% 96%,rgba(243,114,68,.16),transparent 70%),var(--bg-lines),var(--surface)}
.corp{background:
  radial-gradient(44% 44% at 0% 100%,rgba(243,114,68,.22),transparent 70%),
  radial-gradient(46% 40% at 100% 10%,rgba(189,34,105,.26),transparent 70%),var(--bg-lines),var(--surface)}
.faq{background:
  radial-gradient(44% 54% at 0% 0%,rgba(39,144,205,.26),transparent 70%),
  radial-gradient(40% 48% at 100% 100%,rgba(189,34,105,.22),transparent 70%),var(--bg-lines),var(--surface)}

/* ---- FAQ: the heading on the left, level with the first question; answers on the right, only one open at a time,
        so the page never grows into a tall empty column ---- */
.faq-in{align-items:start}

@media (min-width:1001px) and (min-height:620px){
  section[id]{scroll-margin-top:0}
  #brands{scroll-margin-top:clamp(74px,12vh,120px)}   /* the logo bar rests just under the menu, not behind it */   /* styles.css keeps 90px clear of the menu for in-page links; a page now starts at the very top */
  /* pages sit edge to edge: the stacked, overlapping rounded sections of the scrolling layout would hide the bottom of each page */
  .light:not(.lead),.dark{margin-top:0;border-radius:0}
  .end{margin-top:0}
  /* every page (no forced snapping: you stop where you stop; slides.js only tidies a stop that is within a few pixels of a page edge) */
  .hero,.brands,.lead-grid,.process,.lit-row,.reel,.corp,.faq,.end-close,.foot{box-sizing:border-box}
  .lead-grid,.process,.lit-row,.reel,.corp,.faq{min-height:100svh}

  /* lead: copy + photo grid */
  .lead{padding-top:0}
  .lead-grid{padding-top:calc(var(--r) + var(--slide-top));padding-bottom:var(--slide-pad)}
  .lead-media{--lead-max:clamp(420px,calc(100svh - var(--slide-top) - 3 * var(--slide-pad)),760px);height:auto}

  /* how a show comes together: heading and the four steps centred in the page */
  .process{padding:var(--slide-top) var(--gutter) var(--slide-pad);display:flex;flex-direction:column;justify-content:center}
  .process-h{font-size:clamp(40px,min(5.6vw,10vh),100px)}
  .steps{margin-top:clamp(36px,7vh,90px)}

  /* about */
  .lit-row{margin:0 var(--gutter);padding:var(--slide-top) 0 var(--slide-pad);align-items:center}
  /* the steps and Our Story read as one run: each is as tall as its content, with normal section spacing between them */
  .process{min-height:0;padding-bottom:clamp(48px,9vh,96px)}
  .lit-row.story{min-height:0;align-items:start;align-content:start;padding-top:clamp(36px,6vh,64px);padding-bottom:clamp(60px,11vh,120px)}

  /* past events wall: starts well below the menu's blur, cards close under the heading, the "drag to explore" line always in view */
  .reel{padding:calc(var(--slide-top) + 18px) 0 clamp(14px,3vh,28px);display:flex;flex-direction:column;justify-content:center}
  .reel h2{font-size:clamp(44px,min(7vw,11.5vh),124px)}
  .arc{height:calc(var(--ch) * 1.3);margin-top:clamp(4px,1.4vh,18px)}
  .arc-hint{margin-top:clamp(2px,1vh,12px)}

  /* corporate: copy on the left, three photos collaged on the right, all in one screen */
  .corp{padding-top:var(--slide-top);padding-bottom:var(--slide-pad);display:flex;align-items:center}
  .corp-copy{max-width:min(700px,54%)}
  .corp h2{font-size:clamp(40px,min(5.4vw,10vh),92px)}
  .corp .lede{margin-top:clamp(12px,2vh,22px);font-size:clamp(16px,1.35vw,20px)}
  .offer{display:grid;grid-template-columns:1fr 1fr;gap:0 clamp(32px,3.6vw,64px);margin:clamp(26px,4.5vh,48px) 0 clamp(26px,4.5vh,44px)}
  .offer li{padding:clamp(16px,2.8vh,28px) 0}
  .offer li:hover{padding-left:0}
  .offer h3{font-size:clamp(18px,1.6vw,24px)}
  .f1{top:max(104px,13vh);right:var(--gutter);width:min(27vw,430px)}
  .f2{top:38vh;right:calc(var(--gutter) + min(14vw,220px));width:min(24vw,380px)}
  .f3{top:max(61vh,380px);bottom:auto;right:var(--gutter);width:min(23vw,360px)}

  /* faq (a little tighter on short windows so all six questions always fit) */
  @media (max-height:760px){.faq-item summary{min-height:52px;padding:11px 0}.faq-item p{margin-bottom:14px;line-height:1.55}}
  .faq{padding:var(--slide-top) var(--gutter) var(--slide-pad);display:flex;align-items:center}
  .faq-in{width:100%}

  /* closing page: the line, the button, the logo, centred; the footer is the last page */
  /* overflow:hidden would make the footer its own scroller and hide its pages from the snapping; clip does the same cut without that */
  .end-inner{overflow:clip;min-height:0;justify-content:flex-start}
  .end-close{min-height:calc(100svh - 12px);padding-top:var(--slide-top)}
  .foot{min-height:calc(100svh - 12px);display:flex;flex-direction:column;padding-top:var(--slide-top)}
  .foot-row{margin-block:auto;width:100%}
  .foot-base{width:100%}
}
