/* The look of the pages couples, hosts and guests see in a studio's name: the studio page
   (/studios/<name>) and the album (/album/<event>). Black, warm ivory, one champagne accent, a
   light serif for display over the site's sans. Page-specific rules live in studios.css and album.css.
   Motion (reveals, the stacking deck, parallax, tilt, glow) is the classes at the end of this file,
   driven by js/lux-motion.js; with reduced motion asked for, everything is simply shown. */
/* Fonts served from this site (the security rules allow no others). Both are under the SIL Open Font Licence (public/fonts/*.LICENSE.txt). */
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-display: swap; font-weight: 300 700;
  src: url(/fonts/cormorant-garamond-latin-wght-normal.woff2) format('woff2-variations'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-display: swap; font-weight: 300 700;
  src: url(/fonts/cormorant-garamond-latin-wght-italic.woff2) format('woff2-variations'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Jost'; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url(/fonts/jost-latin-wght-normal.woff2) format('woff2-variations'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
:root {
  --lux-black: #0a0a0a; --lux-coal: #111110; --lux-char: #191816; --lux-raise: #1f1e1b;
  --lux-hair: rgba(237, 230, 218, 0.12); --lux-hair-2: rgba(237, 230, 218, 0.24);
  --lux-ivory: #ede6da; --lux-stone: #a39c90; --lux-dim: #7d776e;
  --lux-gold: #c9b48a; --lux-gold-hi: #e2d2ac; --lux-ok: #9fcfa6; --lux-warn: #e39a87; --lux-pin: #6f8be8; --lux-heart: #d9637a;
  --lux-serif: 'Cormorant Garamond', 'Iowan Old Style', 'Palatino Linotype', Georgia, 'Times New Roman', serif;
  --lux-sans: 'Jost', 'Avenir Next', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --lux-page: 1200px;
  /* Depth and colour beyond black and gold: a rose-to-champagne sheen for highlights, wine and midnight for atmosphere. */
  --lux-rose: #d8a48f; --lux-wine: #2a1018; --lux-night: #0d1220; --lux-ember: #e8b98a;
  --lux-sheen: linear-gradient(100deg, #e9d7ae 0%, #d8a48f 45%, #c9b48a 100%);
  --lux-glass: rgba(25, 24, 22, 0.62);
  --lux-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.85), 0 2px 0 rgba(237, 230, 218, 0.04) inset;
  --lux-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

.lux { margin: 0; background: var(--lux-black); color: var(--lux-ivory); font-family: var(--lux-sans); font-weight: 300; font-size: 16px; line-height: 1.65;
  -webkit-font-smoothing: antialiased; color-scheme: dark; }
.lux *, .lux *::before, .lux *::after { box-sizing: border-box; }
.lux a { color: inherit; }
.lux a.lux-btn:not(.line) { color: var(--lux-black); } /* a link styled as the filled button keeps the button's dark text */
.lux :focus-visible { outline: 1px solid var(--lux-gold); outline-offset: 3px; }
.lux [hidden] { display: none !important; }
.lux h1, .lux h2, .lux h3 { font-family: var(--lux-serif); font-weight: 400; margin: 0; text-wrap: balance; letter-spacing: 0; }
.lux p { margin: 0; }

.lux-in { max-width: var(--lux-page); margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.lux-label { font: 500 0.68rem/1.4 var(--lux-sans); letter-spacing: 0.28em; text-transform: uppercase; color: var(--lux-gold); margin: 0; }
.lux-muted { color: var(--lux-stone); }
.lux-dim { color: var(--lux-dim); }
.lux-serif { font-family: var(--lux-serif); }

.lux-btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.6em; font: 500 0.7rem/1 var(--lux-sans); letter-spacing: 0.22em; text-transform: uppercase;
  padding: 1.15em 1.8em; border: 1px solid var(--lux-gold); background: var(--lux-gold); color: var(--lux-black); text-decoration: none; cursor: pointer; border-radius: 0;
  transition: background 0.25s, color 0.25s, border-color 0.25s, opacity 0.25s; white-space: nowrap; }
.lux-btn:hover { background: var(--lux-gold-hi); border-color: var(--lux-gold-hi); }
.lux-btn.line { background: transparent; color: var(--lux-ivory); border-color: var(--lux-hair-2); }
.lux-btn.line:hover { border-color: var(--lux-gold); color: var(--lux-gold-hi); background: transparent; }
.lux-btn.small { padding: 0.9em 1.2em; font-size: 0.64rem; }
.lux-btn[disabled], .lux-btn[aria-disabled='true'] { opacity: 0.4; cursor: not-allowed; }
.lux-link { background: none; border: 0; border-bottom: 1px solid var(--lux-hair-2); padding: 0 0 0.4em; color: var(--lux-stone); font: 500 0.68rem/1 var(--lux-sans);
  letter-spacing: 0.22em; text-transform: uppercase; cursor: pointer; text-decoration: none; }
.lux-link:hover { color: var(--lux-ivory); border-color: var(--lux-gold); }

.lux-field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.lux-field > label, .lux-field > .lbl { font: 500 0.64rem/1 var(--lux-sans); letter-spacing: 0.22em; text-transform: uppercase; color: var(--lux-stone); }
.lux-field input, .lux-field select, .lux-field textarea { font: 300 1rem/1.4 var(--lux-sans); color: var(--lux-ivory); background: transparent; border: 0;
  border-bottom: 1px solid var(--lux-hair-2); border-radius: 0; padding: 10px 0; width: 100%; outline: none; }
.lux-field input:focus, .lux-field select:focus, .lux-field textarea:focus { border-bottom-color: var(--lux-gold); }
.lux-field input::placeholder, .lux-field textarea::placeholder { color: var(--lux-dim); }
.lux-field select option { background: #151413; color: var(--lux-ivory); }
.lux-field .err { min-height: 1.1em; font-size: 0.8rem; color: var(--lux-warn); }

.lux-pill { display: inline-block; font: 500 0.6rem/1 var(--lux-sans); letter-spacing: 0.16em; text-transform: uppercase; padding: 0.55em 0.9em; border-radius: 999px;
  border: 1px solid var(--lux-hair-2); color: var(--lux-stone); white-space: nowrap; }
.lux-pill.gold { color: var(--lux-gold-hi); border-color: rgba(201, 180, 138, 0.5); }
.lux-pill.ok { color: var(--lux-ok); border-color: rgba(159, 207, 166, 0.4); }
.lux-card { border: 1px solid var(--lux-hair); background: var(--lux-coal); padding: clamp(18px, 3vw, 28px); }
.lux-rule { border: 0; border-top: 1px solid var(--lux-hair); margin: 0; }
.lux-toast { position: fixed; left: 50%; bottom: calc(22px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); z-index: 100; background: var(--lux-ivory); color: var(--lux-black);
  padding: 12px 18px; font-size: 0.9rem; max-width: calc(100vw - 32px); box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5); }
.lux-toast.bad { background: var(--lux-warn); }

/* ---------- Atmosphere ---------- */
.lux { background:
    radial-gradient(1100px 620px at 82% -8%, rgba(216, 164, 143, 0.13), transparent 62%),
    radial-gradient(900px 560px at -6% 22%, rgba(60, 78, 140, 0.16), transparent 60%),
    radial-gradient(1000px 700px at 50% 118%, rgba(201, 180, 138, 0.09), transparent 60%),
    var(--lux-black); background-attachment: fixed; }
.lux h1 { font-weight: 300; letter-spacing: -0.01em; }
.lux h1 em, .lux h2 em { font-style: italic; font-weight: 300; }
.lux-sheen { background: var(--lux-sheen); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lux-glass { background: var(--lux-glass); -webkit-backdrop-filter: blur(18px) saturate(1.2); backdrop-filter: blur(18px) saturate(1.2); border: 1px solid var(--lux-hair); }
.lux-card { box-shadow: var(--lux-shadow); background: linear-gradient(180deg, rgba(31, 30, 27, 0.92), rgba(17, 17, 16, 0.92)); transition: border-color 0.4s, transform 0.6s var(--lux-ease); }
.lux-btn { position: relative; overflow: hidden; background: var(--lux-sheen); border-color: transparent; background-size: 180% 100%; background-position: 0 0;
  transition: background-position 0.7s var(--lux-ease), color 0.25s, border-color 0.25s, opacity 0.25s, transform 0.3s var(--lux-ease); }
.lux-btn:hover { background: var(--lux-sheen); background-size: 180% 100%; background-position: 100% 0; transform: translateY(-1px); }
.lux-btn.line, .lux-btn.line:hover { background: transparent; }
.lux-btn:active { transform: translateY(0) scale(0.985); }

/* ---------- Motion (js/lux-motion.js adds .is-in and sets --p, --i, --mx, --my) ---------- */
/* Reveal as it enters the screen: data-reveal="up|left|right|scale|clip|fade". --i staggers siblings. */
.lux-motion [data-reveal] { opacity: 0; transition: opacity 0.9s var(--lux-ease), transform 1.1s var(--lux-ease), clip-path 1.2s var(--lux-ease), filter 0.9s var(--lux-ease);
  transition-delay: calc(var(--i, 0) * 80ms); will-change: transform, opacity; }
.lux-motion [data-reveal='up'], .lux-motion [data-reveal=''] { transform: translate3d(0, 34px, 0); }
.lux-motion [data-reveal='left'] { transform: translate3d(-60px, 0, 0); }
.lux-motion [data-reveal='right'] { transform: translate3d(60px, 0, 0); }
.lux-motion [data-reveal='scale'] { transform: scale(0.9); filter: blur(6px); }
.lux-motion [data-reveal='clip'] { opacity: 1; clip-path: inset(0 0 100% 0); transform: scale(1.06); }
.lux-motion [data-reveal].is-in { opacity: 1; transform: none; clip-path: inset(0 0 0 0); filter: none; }
/* Once the reveal has played, the clip is dropped so shadows and descenders are not cut off. */
.lux-motion [data-reveal].is-done { clip-path: none; transition-delay: 0s; }

/* A headline whose lines rise one after another: <h1 class="lux-lines"><span><i>Line</i></span>…</h1> (the page builds the spans). */
.lux-lines > span { display: block; overflow: hidden; padding-bottom: 0.08em; }
.lux-lines > span > i { display: block; font-style: inherit; }
.lux-motion .lux-lines > span > i { transform: translate3d(0, 105%, 0); transition: transform 1.2s var(--lux-ease); transition-delay: calc(var(--i, 0) * 120ms + 150ms); }
.lux-motion .lux-lines.is-in > span > i { transform: none; }

/* Parallax: an element with data-scroll gets --p from 0 (entering at the bottom) to 1 (leaving at the top). */
.lux-motion .lux-drift { transform: translate3d(0, calc((var(--p, 0.5) - 0.5) * var(--drift, -70px)), 0); will-change: transform; }
.lux-motion .lux-zoom { transform: scale(calc(1.12 - var(--p, 0.5) * 0.12)); will-change: transform; }

/* The stacking deck: tiles pin under the header and each next one slides over the last, which shrinks and dims. */
.lux-deck { display: grid; gap: 0; }
.lux-deck > * { position: sticky; top: calc(84px + var(--i, 0) * 14px); margin-bottom: 26px; transform-origin: 50% 0;
  transform: scale(calc(1 - var(--cover, 0) * 0.06)); filter: brightness(calc(1 - var(--cover, 0) * 0.45)); will-change: transform, filter; }

/* Tilt toward the pointer (3D), and a soft light that follows it. */
.lux-tilt { transform-style: preserve-3d; transform: perspective(1100px) rotateX(calc(var(--ty, 0) * -6deg)) rotateY(calc(var(--tx, 0) * 8deg)); transition: transform 0.5s var(--lux-ease); }
.lux-tilt:hover { transition-duration: 0.12s; }
.lux-glow { position: relative; isolation: isolate; }
.lux-glow::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity 0.4s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(226, 210, 172, 0.16), transparent 62%); }
.lux-glow:hover::before { opacity: 1; }

/* A slow ticker: <div class="lux-marquee"><div>items… items again…</div></div> */
.lux-marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.lux-marquee > * { display: flex; gap: 3.5rem; width: max-content; animation: lux-marquee 38s linear infinite; }
.lux-marquee:hover > * { animation-play-state: paused; }
@keyframes lux-marquee { to { transform: translate3d(-50%, 0, 0); } }

/* Slow life in a still picture, a floating accent, a shimmer for things that are loading. */
.lux-kenburns { animation: lux-kenburns 22s ease-in-out infinite alternate; }
@keyframes lux-kenburns { from { transform: scale(1.04) translate3d(0, 0, 0); } to { transform: scale(1.14) translate3d(-1.5%, -2%, 0); } }
.lux-float { animation: lux-float 7s ease-in-out infinite; }
@keyframes lux-float { 50% { transform: translate3d(0, -10px, 0); } }
.lux-shimmer { background: linear-gradient(100deg, rgba(237, 230, 218, 0.04) 20%, rgba(237, 230, 218, 0.12) 40%, rgba(237, 230, 218, 0.04) 60%); background-size: 200% 100%; animation: lux-shimmer 1.6s linear infinite; }
@keyframes lux-shimmer { to { background-position: -200% 0; } }
.lux-pulse { animation: lux-pulse 2.4s ease-in-out infinite; }
@keyframes lux-pulse { 50% { box-shadow: 0 0 0 10px rgba(201, 180, 138, 0); } 0% { box-shadow: 0 0 0 0 rgba(201, 180, 138, 0.45); } }

/* The page arrives: a curtain lifts once the script is ready. */
.lux-motion.lux-enter::after { content: ''; position: fixed; inset: 0; z-index: 200; background: var(--lux-black); pointer-events: none; animation: lux-curtain 1s var(--lux-ease) 0.1s both; }
@keyframes lux-curtain { to { opacity: 0; visibility: hidden; } }
/* A thin line at the top showing how far down the page the reader is (--read, 0 to 1). */
.lux-progress { position: fixed; left: 0; top: 0; height: 2px; width: 100%; z-index: 90; background: var(--lux-sheen); transform-origin: 0 50%; transform: scaleX(var(--read, 0)); pointer-events: none; }

@media (max-width: 760px) { .lux-deck > * { position: static; transform: none; filter: none; } .lux-tilt { transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .lux *, .lux *::before, .lux *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .lux-motion [data-reveal], .lux-motion .lux-lines > span > i { opacity: 1; transform: none; clip-path: none; filter: none; }
  .lux-deck > * { position: static; transform: none; filter: none; } .lux-tilt, .lux-motion .lux-drift, .lux-motion .lux-zoom { transform: none; }
}
