/* ================================================================
   TEAM REVIVAL MARTIN — editorial one-page
   Type: Fraunces (display) · Inter (text)
   ================================================================ */

:root {
  --ink: #0d0f13;
  --ink-soft: #16191f;
  --paper: #f4f2ec;
  --paper-soft: #ece9e1;
  --text: #1c1e23;
  --text-mute: #6c6f76;
  --text-inv: #f2f0ea;
  --text-inv-mute: #9a9da4;
  --blue: #2e5f96;
  --blue-deep: #24496f;
  --red: #d92632;
  --line: rgba(20, 22, 28, 0.14);
  --line-inv: rgba(244, 242, 236, 0.16);
  --serif: "Fraunces", "Times New Roman", serif;
  --sans: "Inter", -apple-system, "Segoe UI", sans-serif;
  --pad-x: clamp(1.25rem, 5vw, 6rem);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: hidden; }

[id] { scroll-margin-top: 5rem; }

body {
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

::selection { background: var(--blue); color: #fff; }

/* ---------------- typography primitives ---------------- */

.eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-mute);
}

.eyebrow sup {
  font-size: 0.66em;
  margin-right: 0.9em;
  color: var(--red);
  letter-spacing: 0.08em;
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.01em;
}

h2 {
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  margin-top: 1.2rem;
}

h2 em, h1 em {
  font-style: italic;
  font-weight: 300;
  color: var(--blue);
}

.section-dark h2 em { color: #7ea9d8; }

/* ---------------- header ---------------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background 0.4s var(--ease), transform 0.4s var(--ease), border-color 0.4s;
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  background: rgba(13, 15, 19, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line-inv);
}

.site-header.is-hidden { transform: translateY(-100%); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem var(--pad-x);
}

.brand { display: flex; align-items: center; gap: 0.8rem; }
.brand-logo { height: 3rem; width: auto; }
.brand-text {
  font-family: var(--serif);
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  color: var(--text-inv);
  white-space: nowrap;
}
.brand-text span { font-style: italic; color: var(--text-inv-mute); }

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.4vw, 2.2rem);
}

.main-nav a {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--text-inv);
  position: relative;
  padding: 0.3rem 0;
}

.main-nav a sup {
  font-size: 0.62em;
  color: var(--text-inv-mute);
  margin-right: 0.45em;
}

.main-nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: 0;
  height: 1px;
  background: var(--text-inv);
  transition: right 0.35s var(--ease);
}

.main-nav a:not(.nav-cta):hover::after { right: 0; }

.nav-cta {
  border: 1px solid var(--line-inv);
  padding: 0.55rem 1.2rem !important;
  border-radius: 100px;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}

.nav-cta:hover { background: var(--text-inv); color: var(--ink); border-color: var(--text-inv); }

.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 44px;
  height: 44px;
  background: none;
  border: 0;
  cursor: pointer;
}
.nav-toggle span {
  width: 26px; height: 1.5px;
  background: var(--text-inv);
  transition: transform 0.35s var(--ease), opacity 0.3s;
}

/* ---------------- buttons ---------------- */

.btn {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 1rem 2.2rem;
  border-radius: 100px;
  transition: background 0.3s, color 0.3s, border-color 0.3s, transform 0.3s var(--ease);
}

.btn:hover { transform: translateY(-2px); }

.btn-solid { background: var(--red); color: #fff; }
.btn-solid:hover { background: #b91e29; }

.btn-solid.btn-light { background: var(--text-inv); color: var(--ink); }
.btn-solid.btn-light:hover { background: #fff; }

.btn-line { border: 1px solid var(--line-inv); color: var(--text-inv); }
.btn-line:hover { background: var(--text-inv); color: var(--ink); }

.btn-ink { background: var(--ink); color: var(--text-inv); }
.btn-ink:hover { background: var(--blue-deep); color: #fff; }

/* ---------------- hero ---------------- */

.hero {
  position: relative;
  background: #000;
  color: var(--text-inv);
  padding: clamp(6.5rem, 13vh, 9rem) var(--pad-x) 0;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 34fr) minmax(0, 61fr);
  gap: clamp(1.8rem, 2.5vw, 3rem);
  align-items: center;
  padding-bottom: clamp(3rem, 7vh, 5rem);
}

.hero-inner { position: relative; z-index: 3; }

.hero .eyebrow { color: var(--text-inv-mute); }

.hero-title {
  font-size: clamp(2rem, 3.2vw, 3.2rem);
  margin-top: 1.4rem;
}

.hero-lead {
  max-width: 36rem;
  margin-top: 1.8rem;
  font-size: clamp(0.95rem, 1.2vw, 1.05rem);
  color: var(--text-inv-mute);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.4rem;
}

/* --- hero photo composition --- */

.hero-visual {
  position: relative;
  z-index: 1;
  padding-bottom: clamp(4rem, 8vw, 6.5rem);
}

.hv-main {
  position: relative;
  transform: rotate(1.5deg);
  animation: hvMain 1.2s var(--ease) 0.3s backwards;
}

.hv-main img:not(.hv-badge) {
  width: 100%;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
}

.hv-badge-wrap {
  position: absolute;
  top: -2.6rem;
  right: -1.6rem;
  width: clamp(125px, 13.5vw, 205px);
  aspect-ratio: 1 / 1;
  z-index: 3;
  animation: badgePop 1s cubic-bezier(0.34, 1.56, 0.64, 1) 1.15s backwards;
}

.badge-ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: badgeSpin 26s linear infinite;
}

.badge-ring text {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.4px;
  fill: rgba(244, 242, 236, 0.85);
}

.badge-ring .ring-num { fill: var(--red); }

.hv-main .hv-badge {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 62%;
  filter: drop-shadow(0 10px 28px rgba(0, 0, 0, 0.65));
  animation: badgeFloat 4.5s ease-in-out 2.2s infinite alternate;
}

@keyframes badgePop {
  0%   { opacity: 0; transform: scale(0.4) rotate(-18deg); }
  65%  { opacity: 1; transform: scale(1.08) rotate(3deg); }
  100% { opacity: 1; transform: scale(1) rotate(0deg); }
}

@keyframes badgeSpin {
  to { transform: rotate(360deg); }
}

@keyframes badgeFloat {
  from { transform: translateY(0); }
  to   { transform: translateY(-7px); }
}

.hv-small {
  position: absolute;
  width: 34%;
  border: 5px solid var(--paper);
  background: var(--paper);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  transition: transform 0.5s var(--ease), box-shadow 0.5s;
  will-change: transform;
}

.hv-small img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.hv-small-1 {
  left: 15%;
  bottom: calc(-1 * clamp(0.8rem, 1.6vw, 1.3rem));
  transform: rotate(-7deg);
  z-index: 2;
  animation: hvSmallLeft 0.9s var(--ease) 0.8s backwards;
}

.hv-small-2 {
  right: 17%;
  bottom: clamp(0.9rem, 1.8vw, 1.5rem);
  transform: rotate(4deg);
  z-index: 2;
  animation: hvSmallRight 0.9s var(--ease) 1s backwards;
}

.hv-small:hover {
  transform: rotate(0deg) scale(1.07);
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.65);
  z-index: 4;
}

@keyframes hvMain {
  from { opacity: 0; clip-path: inset(0 100% 0 0); transform: rotate(3deg) scale(1.04); }
}

@keyframes hvSmallLeft {
  from { opacity: 0; transform: rotate(-15deg) translateY(70px); }
}

@keyframes hvSmallRight {
  from { opacity: 0; transform: rotate(13deg) translateY(70px); }
}

@media (min-width: 961px) {
  /* headline reaches into the photo collage */
  .hero-title { width: calc(100% + 7rem); }
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-inv);
  margin-top: 0;
}

.hero-stats .stat {
  padding: 2.2rem 1rem 2.6rem;
  border-left: 1px solid var(--line-inv);
}

.hero-stats .stat:first-child { border-left: 0; }

.stat strong {
  display: block;
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 300;
  line-height: 1;
}

.stat span {
  display: block;
  margin-top: 0.6rem;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-inv-mute);
}

/* ---------------- marquees ---------------- */

.marquee { overflow: hidden; position: relative; }

.marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: marquee 46s linear infinite;
}

.marquee:hover .marquee-track { animation-play-state: paused; }

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.marquee-text {
  background: var(--ink);
  border-top: 1px solid var(--line-inv);
  border-bottom: 1px solid var(--line-inv);
  padding: 1.1rem 0;
}

.marquee-text span {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--text-inv-mute);
  white-space: nowrap;
}

.marquee-text span::after {
  content: "·";
  margin: 0 1.6rem;
  color: var(--red);
  font-style: normal;
}

.marquee-photos { background: var(--ink); padding: 0; }

.marquee-photos .marquee-track { animation-duration: 70s; }

/* long strip (all 28 tamburina photos) — slower so the pace stays the same */
.marquee-slow .marquee-track { animation-duration: 170s; }

/* hviezdy strip (14 photos) */
.marquee-hviezdy .marquee-track { animation-duration: 85s; }

/* CTA band under a marquee */
.marquee-cta {
  background: var(--ink);
  text-align: center;
  padding: clamp(2.2rem, 4vh, 3rem) var(--pad-x) clamp(1rem, 2vh, 1.5rem);
}

.marquee-photos img {
  width: clamp(220px, 24vw, 320px);
  height: clamp(220px, 24vw, 320px);
  object-fit: cover;
  flex-shrink: 0;
  filter: grayscale(35%);
  transition: filter 0.5s;
}

.marquee-photos img:hover { filter: grayscale(0%); }

/* ---------------- sections ---------------- */

.section { padding: clamp(5rem, 11vh, 9rem) var(--pad-x); }

.section-light { background: var(--paper); color: var(--text); }
.section-dark  { background: var(--ink);  color: var(--text-inv); }

.section-dark .eyebrow { color: var(--text-inv-mute); }

.section-head { max-width: 60rem; margin-bottom: clamp(3rem, 6vh, 5rem); }

.section-note {
  margin-top: 1.4rem;
  font-size: 0.88rem;
  color: var(--text-mute);
  max-width: 38rem;
}

.section-dark .section-note { color: var(--text-inv-mute); }

/* ---------------- about ---------------- */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: start;
}

.about-head { margin-bottom: clamp(1.8rem, 3vh, 2.6rem); }

.about-photos-col { display: flex; flex-direction: column; }

.about-cta {
  margin-top: 3.6rem;
  text-align: center;
}

.lede {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
  line-height: 1.5;
  margin-bottom: 1.6rem;
}

.about-copy p + p { margin-top: 1.2rem; color: var(--text-mute); }

.about-points {
  list-style: none;
  margin-top: 2.4rem;
  border-top: 1px solid var(--line);
}

.about-points li {
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
  color: var(--text-mute);
}

.about-points strong { color: var(--text); font-weight: 600; }

.about-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.about-photos figure:nth-child(even) { transform: translateY(2rem); }

.about-photos img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.about-photos figcaption {
  margin-top: 0.6rem;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-mute);
}

/* ---------------- concerts ---------------- */

.concert-list { border-top: 1px solid var(--line); }

.concert-row {
  display: grid;
  grid-template-columns: minmax(9rem, 2fr) minmax(0, 3fr) minmax(0, 4fr) auto;
  align-items: baseline;
  gap: 1.5rem;
  padding: 1.5rem 0.5rem;
  border-bottom: 1px solid var(--line);
  transition: background 0.3s, padding 0.3s var(--ease);
}

.concert-row:hover { background: var(--paper-soft); padding-left: 1.2rem; }

.c-date {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--text-mute);
  font-variant-numeric: tabular-nums;
}

.c-city {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.4vw, 1.9rem);
  line-height: 1.15;
}

.c-city sup {
  font-family: var(--sans);
  font-size: 0.55em;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--blue);
  margin-left: 0.4em;
}

.c-event { font-size: 0.9rem; color: var(--text-mute); }

.c-arrow {
  font-size: 1.2rem;
  color: var(--text-mute);
  transform: translateX(-6px);
  opacity: 0;
  transition: transform 0.3s var(--ease), opacity 0.3s;
}

.concert-row:hover .c-arrow { transform: translateX(0); opacity: 1; color: var(--red); }

.concert-row.is-special .c-city::after {
  content: "15 rokov";
  font-family: var(--sans);
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  background: var(--red);
  border-radius: 100px;
  padding: 0.25em 0.9em;
  margin-left: 0.9em;
  vertical-align: middle;
  white-space: nowrap;
}

.concert-archive { margin-top: 2.4rem; }

.archive-title {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-mute);
}

.archive-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr));
  gap: 0.5rem 2.5rem;
  margin-top: 1.6rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
}

.archive-grid p { font-size: 0.9rem; color: var(--text-mute); }
.archive-grid p span {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  margin-right: 0.8rem;
  color: var(--text);
}
.archive-grid sup { font-size: 0.6em; color: var(--blue); font-weight: 600; }

.concert-more {
  margin-top: 3rem;
  text-align: center;
}

.concert-note {
  max-width: 46rem;
  margin: 3.5rem auto 0;
  padding-top: 2.4rem;
  border-top: 1px solid var(--line);
  text-align: center;
}

.concert-note p {
  font-size: 0.95rem;
  color: var(--text-mute);
}

.concert-note p:first-child {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  color: var(--text);
  margin-bottom: 1rem;
}

.concert-note-link {
  display: inline-block;
  margin-top: 1.6rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  color: var(--blue);
  border-bottom: 1px solid currentColor;
  transition: color 0.3s;
}

.concert-note-link:hover { color: var(--red); }

/* ---------------- organizers ---------------- */

.organizers { position: relative; overflow: hidden; }

.organizers-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 20%;
  opacity: 0.16;
  pointer-events: none;
}

.organizers > *:not(.organizers-bg) { position: relative; }

.org-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  border-top: 1px solid var(--line-inv);
  border-left: 1px solid var(--line-inv);
}

.org-card {
  padding: 2.2rem 1.8rem 2.6rem;
  border-right: 1px solid var(--line-inv);
  border-bottom: 1px solid var(--line-inv);
  background: rgba(13, 15, 19, 0.55);
  transition: background 0.35s;
}

.org-card:hover { background: rgba(24, 28, 36, 0.75); }

.org-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1rem;
  color: var(--red);
}

.org-card h3 {
  font-size: 1.35rem;
  margin: 0.9rem 0 0.8rem;
}

.org-card p { font-size: 0.9rem; color: var(--text-inv-mute); }

.org-downloads { margin-top: clamp(2.5rem, 5vh, 4rem); }

.downloads-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-inv-mute);
  margin-bottom: 1.2rem;
}

.downloads-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.2rem;
}

.dl {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  border: 1px solid var(--line-inv);
  padding: 0.9rem 1.4rem;
  transition: border-color 0.3s, background 0.3s;
}

.dl:hover { border-color: var(--text-inv); background: rgba(244, 242, 236, 0.06); }

.dl-kind {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--ink);
  background: var(--text-inv);
  padding: 0.2em 0.7em;
  border-radius: 3px;
}

.dl-name { font-size: 0.88rem; font-weight: 500; }

.dl-arrow { color: var(--red); }

/* ---------------- members ---------------- */

.members-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 3rem) clamp(1.2rem, 2.5vw, 2.5rem);
}

.member-photo { overflow: hidden; }

.member-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform 0.7s var(--ease), filter 0.5s;
}

.member:hover .member-photo img { transform: scale(1.06); }

.member figcaption {
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
  margin-top: 1.1rem;
}

.member h3 { font-size: clamp(1.15rem, 1.8vw, 1.5rem); }

.member figcaption p {
  margin-top: 0.35rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-mute);
}

/* ---------------- contact ---------------- */

.contact {
  background:
    linear-gradient(rgba(13, 15, 19, 0.88), rgba(13, 15, 19, 0.96)),
    url("../img/crowd-2.jpg") center / cover no-repeat;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 1.4fr) minmax(0, 1.4fr);
  gap: clamp(2rem, 4vw, 4rem);
  border-top: 1px solid var(--line-inv);
  padding-top: clamp(2.5rem, 5vh, 4rem);
}

.contact-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-inv-mute);
  margin-bottom: 1.2rem;
}

.contact-big {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.6vw, 2.2rem);
  line-height: 1.2;
  border-bottom: 1px solid var(--line-inv);
  transition: color 0.3s, border-color 0.3s;
  overflow-wrap: anywhere;
}

.contact-big:hover { color: #7ea9d8; border-color: #7ea9d8; }

.contact-phones {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 2rem;
  margin-top: 1.6rem;
}

.contact-phones a {
  font-size: 1rem;
  font-variant-numeric: tabular-nums;
  color: var(--text-inv-mute);
  transition: color 0.3s;
}

.contact-phones a:hover { color: var(--text-inv); }

.contact-text { font-size: 0.95rem; color: var(--text-inv-mute); }

.contact-socials { display: flex; flex-direction: column; gap: 0.6rem; }

.contact-socials a {
  font-size: 0.95rem;
  color: var(--text-inv-mute);
  transition: color 0.3s, transform 0.3s var(--ease);
  width: fit-content;
}

.contact-socials a:hover { color: var(--text-inv); transform: translateX(4px); }

/* ---------------- footer ---------------- */

.site-footer {
  background: var(--ink);
  color: var(--text-inv-mute);
  padding: clamp(3rem, 6vh, 4.5rem) var(--pad-x) 2.5rem;
  border-top: 1px solid var(--line-inv);
}

.footer-top {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  padding-bottom: 2.2rem;
  border-bottom: 1px solid var(--line-inv);
}

.footer-logo { height: 4rem; width: auto; }

.footer-tagline {
  font-family: var(--serif);
  font-size: clamp(0.8rem, 1vw, 0.92rem);
  color: var(--text-inv);
  line-height: 1.6;
}

.footer-tagline span { color: var(--red); margin: 0 0.5em; }

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 2rem 3rem;
  padding: 2.4rem 0;
  border-bottom: 1px solid var(--line-inv);
}

.footer-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-inv-mute);
  margin-bottom: 1rem;
}

.footer-row { font-size: 0.92rem; line-height: 2; }

.footer-row a { color: var(--text-inv); transition: color 0.3s; }
.footer-row a:hover { color: #7ea9d8; }

.footer-socials { display: flex; gap: 0.9rem; }

.footer-socials a,
.nav-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line-inv);
  border-radius: 50%;
  color: var(--text-inv);
  transition: background 0.3s, color 0.3s, border-color 0.3s, transform 0.3s var(--ease);
}

.footer-socials a svg,
.nav-socials a svg { width: 18px; height: 18px; }

.footer-socials a:hover,
.nav-socials a:hover {
  background: var(--text-inv);
  color: var(--ink);
  border-color: var(--text-inv);
  transform: translateY(-2px);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-top: 1.8rem;
}

.footer-line { font-size: 0.78rem; letter-spacing: 0.06em; }

.to-top {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: color 0.3s;
}

.to-top:hover { color: var(--text-inv); }

/* ---------------- header socials ---------------- */

.nav-socials {
  display: flex;
  gap: 0.5rem;
  margin-left: 0.4rem;
}

.nav-socials a { width: 34px; height: 34px; }
.nav-socials a svg { width: 15px; height: 15px; }

/* ---------------- subpage head ---------------- */

.page-head {
  background: var(--ink);
  color: var(--text-inv);
  padding: clamp(7rem, 14vh, 10rem) var(--pad-x) clamp(3rem, 6vh, 4.5rem);
}

.page-head .eyebrow { color: var(--text-inv-mute); }

.page-head h1 {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  margin-top: 1.2rem;
}

.page-head h1 em { font-style: italic; font-weight: 300; color: #7ea9d8; }

.page-head .page-note {
  max-width: 44rem;
  margin-top: 1.6rem;
  font-size: 0.95rem;
  color: var(--text-inv-mute);
}

.page-back {
  display: inline-block;
  margin-top: 2rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-inv-mute);
  transition: color 0.3s;
}

.page-back:hover { color: var(--text-inv); }

/* ---------------- gallery (TEAM a my) ---------------- */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2vw, 1.8rem);
}

.gallery-item {
  position: relative;
  overflow: hidden;
  cursor: zoom-in;
  border: 0;
  padding: 0;
  background: var(--ink);
  display: block;
  width: 100%;
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.7s var(--ease), opacity 0.5s;
}

.gallery-item:hover img { transform: scale(1.06); opacity: 0.85; }

.gallery-item::after {
  content: "+";
  position: absolute;
  right: 0.9rem;
  bottom: 0.7rem;
  font-family: var(--serif);
  font-size: 1.6rem;
  line-height: 1;
  color: #fff;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.35s, transform 0.35s var(--ease);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.7);
}

.gallery-item:hover::after { opacity: 1; transform: none; }

/* ---------------- lightbox ---------------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(5, 6, 8, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s;
}

.lightbox.is-open { opacity: 1; pointer-events: auto; }

.lightbox img {
  max-width: min(92vw, 1200px);
  max-height: 82vh;
  object-fit: contain;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.8);
  transform: scale(0.96);
  transition: transform 0.35s var(--ease), opacity 0.3s;
}

.lightbox.is-open img { transform: scale(1); }

.lb-counter {
  position: absolute;
  top: 1.4rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--text-inv-mute);
  font-variant-numeric: tabular-nums;
}

.lb-btn {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border: 1px solid var(--line-inv);
  border-radius: 50%;
  background: rgba(13, 15, 19, 0.6);
  color: var(--text-inv);
  font-size: 1.3rem;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
}

.lb-btn:hover { background: var(--text-inv); color: var(--ink); }

.lb-prev { left: clamp(0.6rem, 3vw, 2.5rem); top: 50%; transform: translateY(-50%); }
.lb-next { right: clamp(0.6rem, 3vw, 2.5rem); top: 50%; transform: translateY(-50%); }
.lb-close { top: 1.2rem; right: clamp(0.6rem, 3vw, 2.5rem); font-size: 1.1rem; }

/* ---------------- concerts archive page ---------------- */

.years { max-width: 62rem; }

.year {
  border-bottom: 1px solid var(--line);
}

.year summary {
  display: flex;
  align-items: baseline;
  gap: 1.4rem;
  padding: 1.6rem 0.25rem;
  cursor: pointer;
  list-style: none;
  transition: background 0.3s;
}

.year summary::-webkit-details-marker { display: none; }

.year summary:hover { background: var(--paper-soft); }

.year-num {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1;
}

.year-tour {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(0.95rem, 1.6vw, 1.15rem);
  color: var(--blue);
  flex: 1;
}

.year-toggle {
  font-family: var(--serif);
  font-size: 1.5rem;
  line-height: 1;
  color: var(--text-mute);
  transition: transform 0.3s var(--ease);
}

.year[open] .year-toggle { transform: rotate(45deg); }

.year-list { padding: 0.4rem 0.25rem 1.8rem; }

.year-list p {
  padding: 0.55rem 0;
  border-bottom: 1px dashed var(--line);
  font-size: 0.92rem;
  color: var(--text-mute);
}

.year-list p:last-child { border-bottom: 0; }

.year-list p span {
  display: inline-block;
  min-width: 7.2rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
  color: var(--text);
}

/* ---------------- cookie banner ---------------- */

.cookie-banner {
  position: fixed;
  left: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  z-index: 250;
  max-width: 380px;
  padding: 1.6rem 1.7rem 1.7rem;
  background: var(--ink);
  color: var(--text-inv);
  border: 1px solid var(--line-inv);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transform: translateY(24px);
  pointer-events: none;
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

.cookie-banner.is-visible {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.cb-title {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
}

.cb-text {
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--text-inv-mute);
}

.cb-text a {
  color: var(--text-inv);
  border-bottom: 1px solid var(--line-inv);
  transition: color 0.3s;
}

.cb-text a:hover { color: #7ea9d8; }

.cb-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.2rem;
}

.cb-btn {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.7rem 1.3rem;
  border-radius: 100px;
  cursor: pointer;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}

.cb-btn-solid {
  background: var(--red);
  color: #fff;
  border: 1px solid var(--red);
}

.cb-btn-solid:hover { background: #b91e29; border-color: #b91e29; }

.cb-btn-line {
  background: none;
  color: var(--text-inv);
  border: 1px solid var(--line-inv);
}

.cb-btn-line:hover { background: var(--text-inv); color: var(--ink); }

@media (max-width: 480px) {
  .cookie-banner { left: 0.8rem; right: 0.8rem; bottom: 0.8rem; max-width: none; }
}

/* ---------------- cookies policy page ---------------- */

.policy { max-width: 46rem; }

.policy h2 {
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  margin: 2.6rem 0 1rem;
}

.policy h2:first-child { margin-top: 0; }

.policy p { font-size: 0.95rem; color: var(--text-mute); margin-bottom: 1rem; }

.policy strong { color: var(--text); }

.policy-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr);
  gap: 1.5rem;
  padding: 1.1rem 0;
  border-top: 1px solid var(--line);
}

.policy-row:last-of-type { border-bottom: 1px solid var(--line); }

.policy-row h3 { font-size: 1.05rem; }

.policy-row p { font-size: 0.88rem; margin: 0; }

.policy .btn { margin-top: 0.6rem; }

@media (max-width: 600px) {
  .policy-row { grid-template-columns: 1fr; gap: 0.4rem; }
}

/* footer utility links */

.footer-links {
  display: flex;
  gap: 1.6rem;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--text-inv-mute);
  transition: color 0.3s;
}

.footer-links a:hover { color: var(--text-inv); }

/* ---------------- reveal animations ---------------- */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.reveal[data-delay="1"] { transition-delay: 0.12s; }
.reveal[data-delay="2"] { transition-delay: 0.24s; }
.reveal[data-delay="3"] { transition-delay: 0.36s; }

.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track { animation: none; }
  .hv-main, .hv-badge, .hv-badge-wrap, .badge-ring, .hv-small { animation: none; }
}

html.no-anim .reveal { opacity: 1; transform: none; transition: none; }
html.no-anim .marquee-track { animation: none; }
html.no-anim .hv-main,
html.no-anim .hv-badge,
html.no-anim .hv-badge-wrap,
html.no-anim .badge-ring,
html.no-anim .hv-small { animation: none; }

/* ---------------- responsive ---------------- */

@media (max-width: 960px) {
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  .hero-visual {
    max-width: 34rem;
    width: 100%;
    margin: 0 auto;
  }

  /* stacked layout — ring must stay inside the viewport */
  .hv-badge-wrap { right: 0.4rem; top: -2.2rem; }

  .about-grid { grid-template-columns: 1fr; }
  .members-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .contact-block:first-child { grid-column: 1 / -1; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }

  /* hamburger menu already on tablets — desktop nav gets cramped */
  .nav-toggle { display: flex; position: relative; z-index: 110; }

  .main-nav {
    position: fixed;
    inset: 0;
    background: var(--ink);
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s;
  }

  .main-nav.is-open { opacity: 1; pointer-events: auto; }

  .main-nav a { font-size: 1.3rem; }

  .main-nav .nav-socials { margin-left: 0; }
  .main-nav .nav-socials a { font-size: 0; }

  .nav-toggle.is-open span:first-child { transform: translateY(4.25px) rotate(45deg); }
  .nav-toggle.is-open span:last-child { transform: translateY(-4.25px) rotate(-45deg); }
}

@media (max-width: 760px) {
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .hero-stats .stat:nth-child(3) { border-left: 0; }
  .hero-stats .stat { border-top: 1px solid var(--line-inv); }
  .hero-stats .stat:nth-child(-n+2) { border-top: 0; }

  .hv-small { width: 52%; border-width: 4px; }
  .hv-small-1 { left: -3%; }
  .hv-small-2 { right: -3%; }
  .hv-badge-wrap { top: -1.8rem; right: 0.2rem; }

  .concert-row {
    grid-template-columns: 1fr auto;
    gap: 0.25rem 1rem;
    padding: 1.3rem 0.25rem;
  }

  .c-date { grid-column: 1; order: 1; }
  .c-city { grid-column: 1; order: 2; }
  .c-event { grid-column: 1; order: 3; }
  .c-arrow { grid-column: 2; grid-row: 2; order: 4; align-self: center; }

  .members-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }

  .about-photos figure:nth-child(even) { transform: none; }

  .footer-top { flex-direction: column; align-items: flex-start; gap: 1.4rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 1rem; }

  .year summary { flex-wrap: wrap; gap: 0.4rem 1.2rem; }
  .year-list p span { display: block; min-width: 0; }
}

@media (max-width: 600px) {
  .gallery-grid { grid-template-columns: 1fr; }
}
