/* OurPianoHighlife — black, champagne gold, ivory. Mobile-first. */
:root {
  --bg: #0b0a08;
  --bg-2: #13110d;
  --bg-3: #1b1812;
  --ink: #f4efe6;
  --ink-dim: #b8ae9c;
  --gold: #c9a45c;
  --gold-hi: #e9cf8f;
  --gold-lo: #8f7034;
  --line: rgba(201, 164, 92, 0.22);
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, sans-serif;
  --radius: 4px;
  --gutter: 20px;
  --max: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
  padding-bottom: 76px; /* room for sticky bar on mobile */
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.05; margin: 0; letter-spacing: -0.01em; }
em { font-style: italic; color: var(--gold-hi); }

.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; z-index: 100; background: var(--gold); color: #000; padding: 8px 12px; }

.eyebrow {
  font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--gold); margin: 0 0 14px; font-weight: 500;
}
.monogram { font-family: var(--serif); letter-spacing: 0.3em; font-size: 18px; color: var(--gold-hi); }
.center { text-align: center; margin-top: 28px; }
.link-gold { color: var(--gold-hi); border-bottom: 1px solid var(--line); padding-bottom: 2px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 26px; border-radius: var(--radius);
  font: 500 12px/1 var(--sans); letter-spacing: 0.22em; text-transform: uppercase;
  border: 1px solid transparent; cursor: pointer; transition: transform .2s, background .3s, color .3s, border-color .3s;
  white-space: nowrap;
}
.btn:active { transform: scale(.98); }
.btn--gold { background: linear-gradient(135deg, var(--gold-hi), var(--gold) 45%, var(--gold-lo)); color: #120f09; }
.btn--gold:hover { filter: brightness(1.08); }
.btn--ghost { border-color: var(--gold); color: var(--gold-hi); background: transparent; }
.btn--ghost:hover { background: rgba(201,164,92,.1); }
.btn--sm { min-height: 38px; padding: 0 16px; font-size: 11px; }

/* Nav */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px var(--gutter); padding-top: max(14px, env(safe-area-inset-top));
  transition: background .3s, border-color .3s; border-bottom: 1px solid transparent;
}
.nav.is-solid { background: rgba(11,10,8,.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line); }
.nav__links { display: none; gap: 34px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-dim); }
.nav__links a:hover { color: var(--gold-hi); }

/* Hero */
.hero { position: relative; min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 110px var(--gutter) 90px; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.keys {
  position: absolute; inset: auto -10% -8% -10%; height: 42%;
  background:
    repeating-linear-gradient(90deg, transparent 0 calc(100%/14 - 1px), rgba(201,164,92,.18) calc(100%/14 - 1px) calc(100%/14)),
    linear-gradient(to top, rgba(244,239,230,.07), transparent);
  transform: perspective(600px) rotateX(58deg); transform-origin: bottom;
  mask-image: linear-gradient(to top, #000 10%, transparent 95%);
  -webkit-mask-image: linear-gradient(to top, #000 10%, transparent 95%);
}
.keys::after { /* black keys */
  content: ""; position: absolute; inset: 0 0 45% 0;
  background: repeating-linear-gradient(90deg,
    transparent 0 calc(100%/14*0.68), rgba(0,0,0,.85) calc(100%/14*0.68) calc(100%/14*1.32),
    transparent calc(100%/14*1.32) calc(100%/14*1.68), rgba(0,0,0,.85) calc(100%/14*1.68) calc(100%/14*2.32),
    transparent calc(100%/14*2.32) calc(100%/14*3.0));
}
.glow {
  position: absolute; left: 50%; top: 38%; width: 140vmax; height: 140vmax; transform: translate(-50%,-50%);
  background: radial-gradient(circle, rgba(201,164,92,.20) 0%, rgba(201,164,92,.05) 25%, transparent 55%);
  animation: breathe 9s ease-in-out infinite;
}
@keyframes breathe { 50% { opacity: .65; transform: translate(-50%,-50%) scale(1.06); } }
.hero__inner { position: relative; z-index: 1; max-width: 900px; }
.hero__title { font-size: clamp(54px, 15vw, 150px); }
.hero__title .line { display: block; opacity: 0; transform: translateY(24px); animation: rise 1.1s cubic-bezier(.2,.7,.2,1) forwards; }
.hero__title .line--gold { animation-delay: .18s; }
.hero__title .line--gold em {
  background: linear-gradient(100deg, var(--gold-lo), var(--gold-hi) 40%, #fff6dc 50%, var(--gold-hi) 60%, var(--gold-lo));
  background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 6s linear infinite;
}
@keyframes shimmer { to { background-position: -250% 0; } }
@keyframes rise { to { opacity: 1; transform: none; } }
.hero__tag { color: var(--ink-dim); font-size: 15px; letter-spacing: .08em; margin: 22px auto 34px; max-width: 36ch; }
.hero__ctas { display: flex; flex-direction: column; gap: 12px; align-items: stretch; max-width: 320px; margin: 0 auto; }
.hero__scroll { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); width: 22px; height: 36px; border: 1px solid var(--line); border-radius: 12px; z-index: 1; }
.hero__scroll span { position: absolute; left: 50%; top: 7px; width: 2px; height: 7px; margin-left: -1px; background: var(--gold); border-radius: 2px; animation: drip 1.8s infinite; }
@keyframes drip { 70% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }

/* Link hub */
.hub { padding: 0 var(--gutter); margin-top: -30px; position: relative; z-index: 2; }
.hub__grid { max-width: 720px; margin: 0 auto; display: grid; gap: 10px; }
.hub__item {
  display: grid; grid-template-columns: 1fr auto; grid-template-areas: "label arrow" "name arrow";
  padding: 16px 20px; border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(27,24,18,.9), rgba(19,17,13,.9)); backdrop-filter: blur(6px);
  transition: border-color .3s, transform .3s;
}
.hub__item:hover { border-color: var(--gold); transform: translateY(-2px); }
.hub__label { grid-area: label; font-size: 10px; letter-spacing: .28em; text-transform: uppercase; color: var(--gold); }
.hub__name { grid-area: name; font-family: var(--serif); font-size: 24px; }
.hub__arrow { grid-area: arrow; align-self: center; color: var(--gold-hi); font-size: 20px; }

/* Sections */
.section { padding: 90px var(--gutter); }
.section--dark { background: var(--bg-2); border-block: 1px solid rgba(201,164,92,.08); }
.section__head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.section__head h2 { font-size: clamp(40px, 10vw, 72px); }
.section__sub { color: var(--ink-dim); margin: 14px 0 0; }

/* Upcoming feed */
.upcoming { max-width: var(--max); margin: 0 auto; display: grid; gap: 18px; grid-template-columns: 1fr; }
.event {
  position: relative; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--bg-3);
  display: flex; flex-direction: column;
}
.event__media { aspect-ratio: 4/5; overflow: hidden; background: var(--bg-3); }
.event__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s; }
.event:hover .event__media img { transform: scale(1.04); }
.event__body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.event__date { font-size: 10px; letter-spacing: .28em; text-transform: uppercase; color: var(--gold); }
.event__cap { margin: 0; color: var(--ink-dim); font-size: 14px; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.event__actions { display: flex; gap: 10px; margin-top: auto; flex-wrap: wrap; }
.event__actions .btn { flex: 1; min-width: 130px; min-height: 44px; padding: 0 14px; font-size: 11px; }
.skeleton { aspect-ratio: 4/5; border-radius: var(--radius); background: linear-gradient(100deg, var(--bg-3) 30%, #26221a 50%, var(--bg-3) 70%); background-size: 300% 100%; animation: shimmer 2.2s linear infinite; }
.empty { grid-column: 1/-1; text-align: center; padding: 40px 20px; border: 1px dashed var(--line); border-radius: var(--radius); color: var(--ink-dim); }
.empty .btn { margin-top: 18px; }
.ig-widget { grid-column: 1/-1; width: 100%; min-height: 520px; border: 0; }

/* Tickets */
.tickets { max-width: 900px; margin: 0 auto; display: grid; gap: 18px; }
.ticket {
  position: relative; display: flex; flex-direction: column; gap: 10px; padding: 34px 26px;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); overflow: hidden;
  transition: border-color .3s, transform .3s;
}
.ticket::before, .ticket::after { /* ticket notches */
  content: ""; position: absolute; top: 50%; width: 26px; height: 26px; border-radius: 50%; background: var(--bg-2); border: 1px solid var(--line); transform: translateY(-50%);
}
.ticket::before { left: -14px; } .ticket::after { right: -14px; }
.ticket:hover { border-color: var(--gold); transform: translateY(-3px); }
.ticket--feature { background: radial-gradient(120% 120% at 100% 0%, rgba(201,164,92,.16), transparent 50%), var(--bg); }
.ticket__kicker { font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); }
.ticket__brand { font-family: var(--serif); font-size: 44px; line-height: 1; }
.ticket__copy { color: var(--ink-dim); margin-bottom: 10px; }
.ticket .btn { align-self: flex-start; }

/* Gallery */
.gallery { max-width: var(--max); margin: 0 auto; display: grid; gap: 10px; grid-template-columns: repeat(2, 1fr); }
.shot { position: relative; aspect-ratio: 3/4; overflow: hidden; border-radius: var(--radius); background: var(--bg-3); cursor: zoom-in; border: 0; padding: 0; color: inherit; text-align: left; }
.shot:nth-child(5n+1) { grid-row: span 2; aspect-ratio: auto; }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s, filter .6s; filter: saturate(.9); }
.shot:hover img { transform: scale(1.05); filter: none; }
.shot__ph { position: absolute; inset: 0; background:
  radial-gradient(circle at 30% 20%, rgba(201,164,92,.28), transparent 45%),
  radial-gradient(circle at 80% 90%, rgba(201,164,92,.15), transparent 40%), var(--bg-3); }
.shot__meta { position: absolute; inset: auto 0 0 0; padding: 40px 14px 14px; background: linear-gradient(to top, rgba(0,0,0,.85), transparent); }
.shot__title { font-family: var(--serif); font-size: 19px; line-height: 1.1; display: block; }
.shot__date { font-size: 10px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }


/* About */
.about { text-align: center; }
.about__inner { max-width: 760px; margin: 0 auto; }
.about h2 { font-size: clamp(36px, 8.5vw, 64px); margin-bottom: 24px; }
.about p:last-child { color: var(--ink-dim); font-size: 17px; }

/* Form */
.form { max-width: 720px; margin: 0 auto; display: grid; gap: 16px; }
.form__row { display: grid; gap: 16px; }
.form label { display: grid; gap: 8px; font-size: 10px; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); }
.form input, .form select, .form textarea {
  width: 100%; background: var(--bg); color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px; font: 400 16px var(--sans); letter-spacing: 0; text-transform: none; color-scheme: dark;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--gold); }
.form .btn { justify-self: start; margin-top: 6px; }
.form__status { min-height: 1.4em; margin: 0; color: var(--gold-hi); font-size: 14px; }
.contact__alt { text-align: center; color: var(--ink-dim); margin-top: 30px; }

/* Footer */
.footer { padding: 54px var(--gutter) 30px; text-align: center; border-top: 1px solid var(--line); }
.footer__social { display: flex; flex-wrap: wrap; gap: 14px 26px; justify-content: center; margin: 22px 0; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--ink-dim); }
.footer__social a:hover { color: var(--gold-hi); }
.footer__fine { color: #6e6658; font-size: 12px; margin: 0; }

/* Sticky mobile bar */
.stickybar {
  position: fixed; inset: auto 0 0 0; z-index: 40; display: grid; grid-template-columns: 1.3fr 1fr; gap: 10px;
  padding: 12px var(--gutter); padding-bottom: max(12px, env(safe-area-inset-bottom));
  background: rgba(11,10,8,.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--line);
  transform: translateY(110%); transition: transform .4s;
}
.stickybar.is-on { transform: none; }
.stickybar .btn { padding: 0 10px; }

/* Lightbox */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 94vw; max-height: 92vh; }
.lightbox::backdrop { background: rgba(0,0,0,.9); }
.lightbox img { max-height: 80vh; margin: 0 auto; border-radius: var(--radius); }
.lightbox__cap { text-align: center; color: var(--ink); font-family: var(--serif); font-size: 20px; }
.lightbox__close { position: fixed; top: 16px; right: 16px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--bg); color: var(--gold-hi); font-size: 26px; cursor: pointer; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s, transform 1s cubic-bezier(.2,.7,.2,1); }
.reveal.is-in { opacity: 1; transform: none; }

/* Tablet + */
@media (min-width: 640px) {
  .hero__ctas { flex-direction: row; justify-content: center; max-width: none; }
  .hub__grid { grid-template-columns: repeat(2, 1fr); }
  .upcoming { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .form__row { grid-template-columns: 1fr 1fr; }
  .tickets { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 960px) {
  :root { --gutter: 40px; }
  body { padding-bottom: 0; }
  .stickybar { display: none; }
  .nav__links { display: flex; }
  .section { padding: 130px var(--gutter); }
  .hub__grid { grid-template-columns: repeat(3, 1fr); max-width: var(--max); }
  .upcoming { grid-template-columns: repeat(3, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); max-width: 980px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero__title .line, .reveal { opacity: 1; transform: none; }
}

/* Brand logo + hero photo */
.nav__logomark { height: 30px; width: auto; }
.hero__logo { width: min(86vw, 640px); height: auto; margin: 0 auto; opacity: 0; transform: translateY(24px); animation: rise 1.2s cubic-bezier(.2,.7,.2,1) forwards; filter: drop-shadow(0 6px 30px rgba(0,0,0,.6)); }
.hero .photo { position: absolute; inset: 0; background: url("../images/hero.jpg") center 30% / cover no-repeat; opacity: .38; filter: saturate(.7) contrast(1.05); }
.hero .photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,10,8,.75) 0%, rgba(11,10,8,.35) 40%, rgba(11,10,8,.85) 80%, var(--bg) 100%); }
.footer__logo { height: 44px; width: auto; margin: 0 auto; opacity: .9; }
.shot__meta:empty { display: none; }
@media (min-width: 960px) { .nav__logomark { height: 36px; } }
@media (min-width: 960px) {
  .hub__grid:not(:has(> :nth-child(5))) { grid-template-columns: repeat(2, 1fr); max-width: 760px; }
}
.event__title { font-size: 26px; }
.upcoming:has(> .event:only-child) { max-width: 420px; grid-template-columns: 1fr; }
.upcoming:has(> .skeleton:only-child) .skeleton { max-width: 420px; margin: 0 auto; width: 100%; grid-column: 1/-1; }

/* Ticket platform logos */
.brand { display: block; width: auto; }
.hub__name .brand { height: 24px; margin-top: 8px; }
.hub__name .brand--posh { height: 26px; }
.ticket__brand .brand { height: 34px; margin: 6px 0 4px; }
.ticket__brand .brand--posh { height: 38px; }
.btn--logo { gap: 8px; background: rgba(244,239,230,.03); }
.btn--logo .brand { height: 18px; }
.btn--logo .brand--posh { height: 20px; }
.event__label { font-size: 10px; letter-spacing: .28em; text-transform: uppercase; color: var(--ink-dim); margin-bottom: -4px; }

/* Social glyphs (Instagram, TikTok) */
.sicon { width: 1em; height: 1em; fill: currentColor; flex: none; vertical-align: -0.125em; }
.hub__name--icon { display: inline-flex; align-items: center; gap: 10px; }
.hub__name--icon .sicon { width: 22px; height: 22px; color: var(--ink); }
.link-gold .sicon { margin-right: 4px; }
.btn--logo .sicon { width: 16px; height: 16px; }
.footer__social { align-items: center; }
.social { display: inline-grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; color: var(--ink); transition: color .3s, border-color .3s; }
.social .sicon { width: 18px; height: 18px; }
.social:hover { color: var(--gold-hi); border-color: var(--gold); }
.footer__brand .brand { height: 16px; opacity: .85; transition: opacity .3s; }
.footer__brand .brand--posh { height: 18px; }
.footer__brand:hover .brand { opacity: 1; }
/* Footer: keep social + platform marks small and in one tidy row */
.footer__social { gap: 14px 22px; }
.social { width: 36px; height: 36px; }
.social .sicon { width: 16px; height: 16px; }
.footer__brand .brand { height: 14px; width: auto; }
.footer__brand .brand--posh { height: 16px; }

/* Next-event banner (hero) */
.nextup { display: inline-flex; align-items: center; gap: 10px; max-width: 100%; margin: 0 auto 22px; padding: 9px 16px; border: 1px solid var(--gold); border-radius: 999px; background: rgba(11,10,8,.55); color: var(--ink); font-size: 13px; line-height: 1.35; text-align: left; backdrop-filter: blur(6px); transition: background .3s; }
.nextup[hidden] { display: none; }
.nextup:hover { background: rgba(201,164,92,.14); }
.nextup__label { flex: none; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: #120f09; background: var(--gold); border-radius: 999px; padding: 4px 8px; }
.nextup__text { min-width: 0; }
.hero__inner { min-width: 0; width: 100%; }
.nextup__arrow { flex: none; color: var(--gold-hi); }
