:root { --accent: #049ad1; --bg: #000; --fg: #fff; --muted: rgba(255,255,255,.65); --top-h: 69px; }
@media (min-width: 1000px) { :root { --top-h: 109px; } }
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--fg); font-family: "Nunito Sans", system-ui, sans-serif; -webkit-tap-highlight-color: transparent; }
body.lock { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

/* Header (matches alwaysdale.com: nav left, logo centred, socials right; logo + menu button on phones) */
/* Like Squarespace: a transparent header laid over the top of the page (it scrolls away with it) */
.top { position: absolute; top: 0; left: 0; right: 0; z-index: 20; height: calc(var(--top-h) + env(safe-area-inset-top)); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: env(safe-area-inset-top) 24px 0; background: transparent; }
main { padding-top: calc(var(--top-h) + env(safe-area-inset-top)); }
body.home main { padding-top: 0; }
body.menu-open .top { position: fixed; }
.logo { grid-column: 2; }
.logo img { height: 34px; width: auto; display: block; }
.nav { display: none; flex-wrap: nowrap; gap: 4px 20px; white-space: nowrap; }
.nav a, .menu a { text-transform: uppercase; font-size: 16px; }
.nav a:hover, .foot-links a:hover { opacity: .75; }
.social { display: none; justify-self: end; align-items: center; gap: 22px; }
.social svg { width: 20px; height: 20px; display: block; }
.menu-btn { grid-column: 3; justify-self: end; width: 40px; height: 40px; display: flex; flex-direction: column; justify-content: center; gap: 8px; }
.menu-btn span { display: block; height: 1.5px; width: 34px; background: #fff; transition: transform .25s; }
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(4.75px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-4.75px) rotate(-45deg); }
.menu { position: fixed; inset: 0; z-index: 15; padding: calc(var(--top-h) + env(safe-area-inset-top) + 30px) 24px 24px; display: flex; flex-direction: column; gap: 22px;
  background: rgba(0,0,0,.9); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.menu[hidden] { display: none; }
.menu a { font-size: 26px; }
@media (min-width: 1000px) {
  .top { padding-left: 4vw; padding-right: 4vw; }
  .logo { grid-column: 2; }
  .logo img { height: 40px; }
  .nav { display: flex; grid-column: 1; grid-row: 1; gap: 4px clamp(12px, 1.4vw, 20px); }
  .nav a { font-size: clamp(13px, 1.25vw, 16px); }
  .social { display: flex; grid-column: 3; grid-row: 1; }
  .menu-btn, .menu { display: none !important; }
}
@media (max-width: 999px) { .logo { grid-column: 1; justify-self: start; } }



/* Hero */
/* NYE hero: sized like the live Squarespace section (measured at 390, 768, 1366 and 1920 wide), photo cover-fit, centred, no darkening */
.hero { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; overflow: hidden;
  height: 173.6vw; max-height: 760px; min-height: 560px; gap: 43px; padding: 0; background: #000 url(/themes/nye/bg.webp) 50% 50% / cover no-repeat; }
.hero img { width: 100vw; max-width: 430px; height: auto; display: block; }
@media (min-width: 768px) {
  .hero { height: calc(0.1306 * min(1500px, 92vw) + 36.15vw); max-height: none; min-height: 440px; gap: 4px; padding-top: 0; }
  .hero img { width: 46vw; max-width: none; }
}

/* Frosted-glass button, copied from the live site's NYE button */
.glass, .tix, .save { font-family: Montserrat, "Nunito Sans", sans-serif; font-weight: 600; font-size: 13.5px; letter-spacing: 1.7px; text-transform: uppercase; color: #fff; border-radius: 10px;
  padding: 16px 20.8px; border: 1px solid rgba(255,255,255,.45);
  background: radial-gradient(at 15% 0%, rgba(255,255,255,.28), rgba(0,0,0,0) 65%), linear-gradient(135deg, rgba(235,225,255,.22), rgba(165,150,195,.12) 60%, rgba(255,255,255,.16));
  box-shadow: inset 0 1px 1px rgba(255,255,255,.4), inset 0 -1px 1px rgba(255,255,255,.12), 0 8px 24px rgba(10,8,25,.25);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.glass { display: inline-block; }
/* Glass shine on hover, same as the live site's custom CSS (glassShine): a skewed light streak sweeps across once */
.glass, .tix { position: relative; overflow: hidden; transition: filter .3s ease; }
.glass::after, .tix::after { content: ""; position: absolute; top: -50%; left: -60%; width: 45%; height: 200%; pointer-events: none; opacity: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.3), transparent); transform: skewX(-20deg); }
.glass:hover, .tix:not(:disabled):hover, .glass:active, .tix:not(:disabled):active { filter: brightness(1.08); }
.glass:hover::after, .tix:not(:disabled):hover::after, .glass:active::after, .tix:not(:disabled):active::after { animation: glassShine 1s ease-out forwards; }
@keyframes glassShine { 0% { transform: translateX(0) skewX(-20deg); opacity: 0; } 20% { opacity: 1; } 80% { opacity: 1; } 100% { transform: translateX(500%) skewX(-20deg); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .glass, .tix { transition: none; } .glass:hover::after, .tix:hover::after, .glass:active::after, .tix:active::after { animation: none; } }

/* Footer */
.foot { background: #000; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 24px; padding: 60px 4vw calc(60px + env(safe-area-inset-bottom)); font-family: Orbitron, sans-serif; font-size: 14px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 18px 0; flex: 1 1 600px; }
.foot-links a { color: var(--accent); text-decoration: underline; text-transform: uppercase; flex: 0 0 25%; }
.operated { margin: 0; text-align: right; flex: 0 1 320px; margin-left: auto; }
@media (max-width: 699px) { .foot { padding-left: 24px; padding-right: 24px; } .foot-links { flex-direction: column; } .foot-links a { flex: none; } .operated { flex-basis: 100%; } }

/* Album list */
.page-title { font-family: Orbitron, sans-serif; font-weight: 700; font-size: 30px; letter-spacing: -.01em; text-transform: uppercase; margin: 18px 16px 4px; }
.page-sub { margin: 0 16px 18px; color: var(--muted); font-size: 15px; }
@media (min-width: 1100px) { .page-title, .page-sub { max-width: 1400px; margin-left: auto; margin-right: auto; padding: 0 16px; } }
.albums { display: grid; gap: 14px; padding: 0 16px 40px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .albums { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .albums { grid-template-columns: repeat(3, 1fr); max-width: 1400px; margin: 0 auto; } }
.album-card { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #111; border-radius: 10px; border: 1px solid rgba(255,255,255,.18); box-shadow: 0 8px 24px rgba(10,8,25,.35); }
.album-card img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.album-card:active img { transform: scale(1.02); }
.album-card .meta { position: absolute; inset: auto 0 0 0; padding: 60px 16px 16px; background: linear-gradient(transparent, rgba(0,0,0,.9)); }
.album-card h2 { font-family: Orbitron, sans-serif; font-weight: 700; font-size: 24px; text-transform: uppercase; margin: 0 0 4px; line-height: 1.1; }
.album-card .info { color: var(--muted); font-size: 14px; }
.album-card .pill { position: absolute; top: 12px; left: 12px; z-index: 1; font-family: Montserrat, sans-serif; font-weight: 600; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; padding: 6px 10px; border-radius: 8px;
  border: 1px solid rgba(255,255,255,.45); background: rgba(255,255,255,.16); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }

/* Album grid */
.album-head { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: rgba(0,0,0,.85);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.back { font-size: 26px; line-height: 1; padding: 4px 8px; }
.album-head h1 { font-family: Orbitron, sans-serif; font-size: 18px; font-weight: 700; text-transform: uppercase; margin: 0; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.album-head .count { color: var(--muted); font-size: 13px; white-space: nowrap; }
.tip { margin: 6px 12px 10px; font-size: 14px; color: var(--muted); }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; padding-bottom: 40px; background: #000; }
@media (min-width: 700px) { .grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1100px) { .grid { grid-template-columns: repeat(6, 1fr); } }
.grid a { aspect-ratio: 1; background: #151515; overflow: hidden; display: block; }
.grid img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: 0; transition: opacity .25s; }
.grid img.in { opacity: 1; }

/* Viewer */
.viewer { position: fixed; inset: 0; z-index: 50; background: #000; touch-action: none; user-select: none; -webkit-user-select: none; }
.v-track { position: absolute; inset: 0; display: flex; width: 300%; transform: translateX(-33.3333%); will-change: transform; }
.v-slide { width: 33.3333%; height: 100%; display: flex; align-items: center; justify-content: center; }
.v-slide img { max-width: 100%; max-height: 100%; object-fit: contain; -webkit-touch-callout: default; }
.v-bar { position: absolute; left: 0; right: 0; z-index: 2; display: flex; align-items: center; padding: 10px 12px; transition: opacity .2s; }
.v-top { top: 0; padding-top: calc(10px + env(safe-area-inset-top)); background: linear-gradient(rgba(0,0,0,.7), transparent); gap: 10px; }
.v-top #v-count { flex: 1; text-align: center; font-size: 15px; font-weight: 600; }
.v-btn, .v-spacer { width: 44px; height: 44px; font-size: 22px; display: inline-flex; align-items: center; justify-content: center; }
.v-bottom { bottom: 0; flex-direction: column; gap: 8px; padding-bottom: calc(16px + env(safe-area-inset-bottom)); background: linear-gradient(transparent, rgba(0,0,0,.8)); }
.save { display: inline-flex; align-items: center; gap: 10px; min-width: 230px; justify-content: center; }
.save:disabled { opacity: .6; }
.save[hidden] { display: none; }
.save-alt { background: transparent; box-shadow: none; }
.v-hint { margin: 0; font-size: 13px; color: var(--muted); text-align: center; }
.viewer.ui-off .v-bar, .viewer.ui-off .v-nav { opacity: 0; pointer-events: none; }
.v-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; font-size: 54px; width: 56px; height: 90px; display: none; color: rgba(255,255,255,.8); }
.v-prev { left: 8px; } .v-next { right: 8px; }
@media (hover: hover) and (pointer: fine) { .v-nav { display: block; } }

.toast { position: fixed; left: 50%; bottom: calc(110px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 60; background: #fff; color: #000;
  padding: 10px 16px; font-size: 14px; font-weight: 600; max-width: 90vw; text-align: center; }

/* Upcoming events (Showpass) */
.events { display: grid; gap: 14px; padding: 0 16px 28px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .events { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .events { grid-template-columns: repeat(3, 1fr); max-width: 1400px; margin: 0 auto; } }
.event-card { background: rgba(10,10,18,.6); border: 1px solid rgba(255,255,255,.18); border-radius: 10px; overflow: hidden; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.event-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; background: #1a1a1a; }
.event-body { padding: 14px 16px 16px; }
.event-body h2 { font-family: Orbitron, sans-serif; font-weight: 700; font-size: 22px; text-transform: uppercase; margin: 0 0 4px; }
.event-sub { margin: 0 0 6px; color: var(--muted); font-size: 15px; }
.event-when { margin: 0 0 14px; font-size: 15px; font-weight: 600; }
.tix { width: 100%; }
.tix:disabled { opacity: .55; cursor: default; }
.tix { display: block; text-align: center; text-decoration: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
