/* IKR — frontend koncept redizajna */
@font-face {
  font-family: "Archivo Black";
  src: url("../fonts/ArchivoBlack-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-Variable.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
:root {
  --ink: #0b0c0a;
  --paper: #f1eadf;
  --paper-2: #fffaf1;
  --acid: #b8f238;
  --orange: #ff5a36;
  --sky: #9bdcff;
  --muted: #8d8b82;
  --line: rgba(11, 12, 10, 0.16);
  --display: "Archivo Black", "Arial Black", sans-serif;
  --body: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --pad: clamp(1rem, 3vw, 3rem);
  --radius: 1.35rem;
  --shadow: 0 1.2rem 3rem rgba(0, 0, 0, 0.18);
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--body);
  line-height: 1.5;
  overflow-x: hidden;
}
body.menu-open {
  overflow: hidden;
}
img {
  display: block;
  width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
textarea,
select {
  font: inherit;
}
button {
  color: inherit;
}
::selection {
  color: var(--ink);
  background: var(--acid);
}

.noise {
  position: fixed;
  inset: 0;
  z-index: 999;
  opacity: 0.055;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
}
.cursor-dot {
  position: fixed;
  z-index: 1000;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--acid);
  mix-blend-mode: difference;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -50%);
  transition:
    width 0.2s,
    height 0.2s,
    opacity 0.2s;
}
.cursor-dot.is-active {
  width: 46px;
  height: 46px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Header */
.site-header {
  position: fixed;
  top: 0.8rem;
  left: var(--pad);
  right: var(--pad);
  z-index: 100;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 64px;
  padding: 0.55rem 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 100px;
  background: rgba(12, 13, 11, 0.83);
  color: #fff;
  box-shadow: 0 0.7rem 2rem rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(18px);
  transition:
    transform 0.35s ease,
    background 0.35s ease;
}
.site-header.is-hidden {
  transform: translateY(-130%);
}
.brand {
  display: inline-flex;
  width: max-content;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--display);
  letter-spacing: -0.04em;
}
.brand img {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 50%;
}
.brand span {
  font-size: 1.2rem;
}
.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.2vw, 2rem);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.desktop-nav a,
.footer a,
.text-link {
  position: relative;
}
.desktop-nav a::after,
.footer-links a::after,
.text-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.2rem;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}
.desktop-nav a:hover::after,
.footer-links a:hover::after,
.text-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}
.nav-cta {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.8rem 1.1rem;
  border-radius: 100px;
  background: var(--acid);
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 800;
}
.menu-toggle {
  display: none;
  justify-self: end;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--acid);
}
.menu-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
  transition: transform 0.25s;
}
.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  transform: translateY(-3.5px) rotate(-45deg);
}
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  align-content: center;
  gap: 0.25rem;
  padding: 7rem var(--pad) 3rem;
  background: var(--acid);
  transform: translateY(-105%);
  transition: transform 0.5s cubic-bezier(0.77, 0, 0.18, 1);
}
.mobile-menu.is-open {
  transform: translateY(0);
}
.mobile-menu a {
  font: clamp(2.6rem, 12vw, 5rem) / 1 var(--display);
  text-transform: uppercase;
  letter-spacing: -0.06em;
}

/* Global type */
.eyebrow {
  margin: 0 0 1.1rem;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: -0.055em;
}
h2 {
  font-size: clamp(3.2rem, 7.4vw, 7.7rem);
  line-height: 0.88;
  text-transform: uppercase;
}
h2 em,
h1 em {
  color: var(--orange);
  font-style: normal;
  -webkit-text-stroke: 1.5px var(--ink);
  paint-order: stroke fill;
}
.section {
  padding: clamp(5.5rem, 11vw, 10rem) var(--pad);
}
.section-heading {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: end;
  gap: 3rem;
  margin-bottom: clamp(3rem, 7vw, 6rem);
}
.section-heading h2 {
  margin: 0;
}
.section-intro {
  max-width: 34rem;
  margin: 0 0 0.75rem auto;
  font-size: clamp(1rem, 1.5vw, 1.3rem);
}
.button {
  display: inline-flex;
  width: max-content;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  min-height: 54px;
  padding: 0.9rem 1.3rem;
  border: 1px solid var(--ink);
  border-radius: 100px;
  font-weight: 800;
  cursor: pointer;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
}
.button span {
  font-size: 1.15em;
}
.button:hover {
  transform: translateY(-3px);
  box-shadow: 0 0.65rem 1.3rem rgba(0, 0, 0, 0.16);
}
.button-dark {
  background: var(--ink);
  color: #fff;
}
.button-acid {
  background: var(--acid);
  color: var(--ink);
}
.text-link {
  display: inline-flex;
  gap: 0.65rem;
  align-items: center;
  font-weight: 800;
}
.text-link.light {
  color: #fff;
}
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition:
    opacity 0.8s ease,
    transform 0.8s cubic-bezier(0.2, 0.65, 0.2, 1);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
.has-gsap .reveal {
  transition: none;
}
.delay-1 {
  transition-delay: 0.08s;
}
.delay-2 {
  transition-delay: 0.16s;
}
.delay-3 {
  transition-delay: 0.24s;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  padding: clamp(8rem, 12vw, 10rem) var(--pad) 3rem;
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  background:
    radial-gradient(circle at 82% 18%, rgba(184, 242, 56, 0.08), transparent 34%),
    var(--ink);
}
.hero::before {
  content: "";
  position: absolute;
  inset: -20%;
  z-index: -2;
  opacity: 0.16;
  background: repeating-linear-gradient(115deg, transparent 0 38px, rgba(255, 255, 255, 0.04) 39px 40px);
  transform: rotate(-4deg);
}
.hero-glow {
  position: absolute;
  z-index: -1;
  width: 38rem;
  height: 38rem;
  top: 10%;
  left: 42%;
  border-radius: 50%;
  background: rgba(184, 242, 56, 0.06);
  filter: blur(90px);
}
.hero-copy {
  position: relative;
  z-index: 3;
  padding-right: 1rem;
}
.hero h1 {
  margin: 0 0 1.5rem;
  padding-top: 0.09em;
  font-size: clamp(4.2rem, 9.5vw, 10.8rem);
  line-height: 0.9;
  text-transform: uppercase;
}
.hero-line {
  display: block;
}
.hero .eyebrow {
  color: var(--acid);
}
.hero h1 em {
  display: inline-block;
  padding: 0.04em 0.12em 0.08em;
  color: var(--ink);
  background: var(--acid);
  border: 2px solid var(--ink);
  border-radius: 100px;
  transform: rotate(-2deg);
  -webkit-text-stroke: 0;
  box-shadow: 0.07em 0.07em 0 var(--orange);
}
.hero-lead {
  max-width: 36rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1.05rem, 1.7vw, 1.35rem);
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.3rem;
  margin-top: 2rem;
}
.hero .button-dark {
  border-color: var(--acid);
  background: var(--acid);
  color: var(--ink);
}
.hero .text-link {
  color: #fff;
}
.hero-collage {
  position: relative;
  min-height: min(74vh, 780px);
  perspective: 1200px;
}
.photo-card {
  position: absolute;
  margin: 0;
  overflow: hidden;
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: 0.55rem 0.55rem 0 rgba(184, 242, 56, 0.18);
  transition: transform 0.2s ease-out;
  will-change: transform;
}
.photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  transform: scale(1);
  transition:
    opacity 0.5s ease,
    transform 0.75s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.photo-card img.is-swapping {
  opacity: 0;
  transform: scale(1.035);
}
.photo-main {
  width: 62%;
  height: 69%;
  top: 16%;
  left: 13%;
  z-index: 3;
  transform: rotate(-3deg);
}
.photo-side {
  width: 37%;
  height: 56%;
  right: 0;
  bottom: 0;
  z-index: 2;
  transform: rotate(5deg);
}
.photo-top {
  width: 36%;
  height: 35%;
  top: 0;
  right: 6%;
  z-index: 1;
  transform: rotate(8deg);
}
.sticker {
  position: absolute;
  z-index: 6;
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0.25rem 0.25rem 0 rgba(255, 255, 255, 0.18);
  transition: transform 0.2s ease-out;
}
.sticker-years {
  left: 0;
  bottom: 2%;
  display: grid;
  width: 145px;
  height: 145px;
  place-content: center;
  border-radius: 50%;
  background: var(--acid);
  color: var(--ink);
  text-align: center;
  transform: rotate(8deg);
}
.sticker-years strong {
  font: 2.8rem/0.85 var(--display);
}
.sticker-years span {
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
}
.sticker-round {
  top: 5%;
  left: 4%;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border-color: rgba(255, 255, 255, 0.7);
  background: var(--paper-2);
  color: var(--ink);
  animation: spin 16s linear infinite;
}
.sticker-round::after {
  content: "IKR";
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  font: 1.55rem var(--display);
}
.sticker-round span {
  position: absolute;
  inset: 10px;
  border: 1px dashed currentColor;
  border-radius: 50%;
  font-size: 0.47rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  padding-top: 3px;
  text-align: center;
}
.scroll-note {
  position: absolute;
  bottom: 1.4rem;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  transform: translateX(-50%);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.scroll-note i {
  width: 55px;
  height: 1px;
  background: var(--ink);
  animation: pulse-line 1.7s infinite;
}
@keyframes spin {
  to {
    rotate: 360deg;
  }
}
@keyframes pulse-line {
  50% {
    transform: scaleX(0.35);
    opacity: 0.4;
  }
}

/* Ticker */
.ticker {
  overflow: hidden;
  border-block: 2px solid var(--ink);
  background: var(--orange);
}
.ticker-track {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 1.5rem;
  padding: 0.9rem 0;
  animation: marquee 23s linear infinite;
  font: clamp(1.25rem, 2.5vw, 2.5rem) / 1 var(--display);
}
.ticker-track i {
  font-style: normal;
  color: var(--acid);
  -webkit-text-stroke: 1px var(--ink);
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* Calendar */
.events-section {
  background: var(--paper);
}
.calendar-shell {
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: 1.7rem;
  background: var(--paper-2);
  box-shadow: 0.9rem 0.9rem 0 var(--ink);
}
.calendar-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.2rem;
  border-bottom: 2px solid var(--ink);
  background: var(--sky);
}
.calendar-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.calendar-nav h3 {
  min-width: 13rem;
  margin: 0;
  font-size: clamp(1.3rem, 2.5vw, 2.2rem);
  text-transform: uppercase;
}
.calendar-nav button,
.today-button {
  border: 1.5px solid var(--ink);
  background: var(--paper-2);
  cursor: pointer;
}
.calendar-nav button {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 1.2rem;
}
.today-button {
  padding: 0.65rem 1rem;
  border-radius: 100px;
  font-weight: 800;
}
.calendar-weekdays,
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}
.calendar-weekdays {
  border-bottom: 1px solid var(--ink);
  background: var(--ink);
  color: #fff;
}
.calendar-weekdays span {
  padding: 0.7rem;
  font-size: 0.7rem;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
}
.calendar-day {
  position: relative;
  min-height: 130px;
  padding: 0.65rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.35);
}
.calendar-day:nth-child(7n) {
  border-right: 0;
}
.calendar-day.is-other {
  color: rgba(11, 12, 10, 0.32);
  background: rgba(0, 0, 0, 0.035);
}
.calendar-day.is-today::after {
  content: "";
  position: absolute;
  top: 0.45rem;
  left: 0.43rem;
  width: 28px;
  height: 28px;
  z-index: 0;
  border-radius: 50%;
  background: var(--acid);
}
.day-number {
  position: relative;
  z-index: 1;
  font-size: 0.8rem;
  font-weight: 800;
}
.calendar-event {
  display: block;
  width: 100%;
  margin-top: 0.45rem;
  padding: 0.48rem 0.5rem;
  overflow: hidden;
  border: 1px solid var(--ink);
  border-radius: 0.5rem;
  background: var(--orange);
  color: var(--ink);
  cursor: pointer;
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1.25;
  text-align: left;
  text-overflow: ellipsis;
}
.calendar-event[data-kind="kultura"] {
  background: var(--sky);
}
.calendar-event[data-kind="klub"] {
  background: var(--acid);
}
.calendar-event:hover {
  transform: translateY(-2px);
  box-shadow: 3px 3px 0 var(--ink);
}
.calendar-help {
  margin: 0;
  padding: 0.8rem 1rem;
  color: #5d5b55;
  font-size: 0.78rem;
}

/* Featured */
.featured-event {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  min-height: 760px;
  padding: 0;
  background: var(--ink);
  color: #fff;
}
.featured-image {
  position: relative;
  min-height: 720px;
  overflow: hidden;
}
.featured-image img {
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.05);
  transition: transform 1s ease;
}
.featured-image:hover img {
  transform: scale(1.035);
}
.image-label {
  position: absolute;
  left: 1.5rem;
  bottom: 1.5rem;
  padding: 0.7rem 1rem;
  border: 1.5px solid var(--ink);
  border-radius: 100px;
  background: var(--acid);
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}
.featured-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(3rem, 7vw, 7rem);
}
.featured-copy h2 {
  font-size: clamp(3.2rem, 6.1vw, 6.7rem);
}
.featured-copy h2 em {
  -webkit-text-stroke-color: #fff;
}
.featured-copy p:not(.eyebrow) {
  max-width: 35rem;
  margin-bottom: 2rem;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.76);
}

/* News */
.news-section {
  background: var(--ink);
  color: #fff;
}
.section-heading-light h2 em {
  -webkit-text-stroke-color: #fff;
}
.news-grid {
  display: grid;
  grid-template-columns: 1.45fr 0.775fr 0.775fr;
  gap: 1rem;
}
.news-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  background: #171815;
}
.news-card a {
  display: block;
  height: 100%;
}
.news-image {
  position: relative;
  height: 285px;
  overflow: hidden;
}
.news-card-featured .news-image {
  height: 420px;
}
.news-image img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.news-card:hover .news-image img {
  transform: scale(1.06);
}
.tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.48rem 0.72rem;
  border-radius: 100px;
  background: var(--acid);
  color: var(--ink);
  font-size: 0.66rem;
  font-weight: 800;
  text-transform: uppercase;
}
.news-body {
  position: relative;
  min-height: 180px;
  padding: 1.25rem 3.4rem 1.5rem 1.25rem;
}
.news-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.7rem;
  text-transform: uppercase;
}
.news-body h3 {
  margin: 0 0 0.7rem;
  font-size: clamp(1.35rem, 2.1vw, 2.25rem);
  line-height: 0.98;
  text-transform: uppercase;
}
.news-body p {
  color: rgba(255, 255, 255, 0.66);
}
.card-arrow {
  position: absolute;
  right: 1.1rem;
  bottom: 1.2rem;
  display: grid;
  width: 38px;
  height: 38px;
  place-content: center;
  border-radius: 50%;
  background: var(--acid);
  color: var(--ink);
  transition: transform 0.3s;
}
.news-card:hover .card-arrow {
  transform: rotate(45deg);
}

/* Manifesto */
.manifesto {
  position: relative;
  display: grid;
  min-height: 100svh;
  place-items: center;
  padding: 7rem var(--pad);
  overflow: hidden;
  background: var(--orange);
}
.manifesto::before {
  content: "ZA VAJK";
  position: absolute;
  inset: 50% auto auto 50%;
  color: rgba(0, 0, 0, 0.065);
  font: clamp(8rem, 28vw, 31rem) / 1 var(--display);
  white-space: nowrap;
  transform: translate(-50%, -50%) rotate(-7deg);
}
.manifesto-inner {
  position: relative;
  max-width: 1200px;
  text-align: center;
}
.manifesto-text {
  margin: 0;
  font: clamp(2.6rem, 6.5vw, 7rem) / 1.04 var(--display);
  letter-spacing: -0.055em;
  text-transform: uppercase;
}
.manifesto-text span {
  opacity: 0.16;
  transition: opacity 0.25s;
}
.manifesto-text span.is-lit {
  opacity: 1;
}
.toast-mark {
  display: inline-grid;
  width: 105px;
  height: 105px;
  margin-top: 3rem;
  place-content: center;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--acid);
  font: 1.5rem var(--display);
  transform: rotate(-8deg);
}

/* History */
.history-section {
  background: var(--paper-2);
}
.history-top {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 3rem;
  align-items: end;
  margin-bottom: 6rem;
}
.history-top h2 {
  margin-bottom: 0;
}
.history-top p {
  max-width: 32rem;
  margin: 0 0 0.7rem auto;
  font-size: 1.1rem;
}
.timeline {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
}
.timeline-progress {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 23%;
  width: 3px;
  overflow: hidden;
  background: rgba(11, 12, 10, 0.12);
}
.timeline-progress span {
  display: block;
  width: 100%;
  height: 0;
  background: var(--orange);
}
.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 23% 1fr auto;
  min-height: 320px;
  border-top: 1px solid var(--line);
  padding: 2rem 0 4rem;
}
.timeline-year {
  font: clamp(2rem, 5vw, 5.2rem) / 0.9 var(--display);
  color: var(--orange);
}
.timeline-content {
  max-width: 660px;
  padding: 0 3rem;
}
.timeline-content > span {
  display: block;
  margin-bottom: 1rem;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.timeline-content h3 {
  margin-bottom: 1rem;
  font-size: clamp(1.9rem, 4vw, 4.4rem);
  line-height: 0.98;
  text-transform: uppercase;
}
.timeline-content p {
  max-width: 48rem;
  font-size: 1.05rem;
}
.timeline-index {
  align-self: start;
  display: grid;
  min-width: 54px;
  min-height: 42px;
  padding: 0.45rem 0.7rem;
  place-content: center;
  border: 2px solid var(--ink);
  border-radius: 0.28rem;
  background: var(--acid);
  box-shadow: 0.2rem 0.2rem 0 var(--ink);
  font: 0.9rem var(--display);
  transform: rotate(-2deg);
}

/* Gallery */
.gallery-section {
  background: var(--acid);
}
.gallery-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  grid-auto-rows: 330px;
  gap: 0.85rem;
}
.gallery-item {
  position: relative;
  padding: 0;
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: 1rem;
  background: var(--ink);
  cursor: zoom-in;
}
.gallery-item img {
  height: 100%;
  object-fit: cover;
  transition:
    transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1),
    filter 0.5s;
}
.gallery-item:hover img {
  transform: scale(1.06);
  filter: saturate(1.2);
}
.gallery-item span {
  position: absolute;
  left: 0.8rem;
  bottom: 0.8rem;
  padding: 0.45rem 0.65rem;
  border: 1px solid var(--ink);
  border-radius: 100px;
  background: var(--paper-2);
  font-size: 0.7rem;
  font-weight: 800;
}
.gallery-large {
  grid-row: span 2;
}
.gallery-wide {
  grid-column: span 2;
}

/* Join */
.join-section {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  min-height: 720px;
  background: var(--sky);
}
.join-media {
  overflow: hidden;
}
.join-media img {
  height: 100%;
  object-fit: cover;
}
.join-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(3rem, 7vw, 7rem);
}
.join-copy h2 {
  font-size: clamp(3.3rem, 6vw, 6.5rem);
}
.join-copy p:not(.eyebrow) {
  max-width: 36rem;
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

/* Contact */
.contact-section {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(3rem, 8vw, 9rem);
  padding: clamp(6rem, 11vw, 10rem) var(--pad);
  background: var(--paper);
}
.contact-heading h2 {
  font-size: clamp(3.5rem, 7vw, 7.5rem);
}
.contact-form {
  display: grid;
  gap: 1.2rem;
}
.turnstile-wrap {
  min-height: 65px;
  overflow: hidden;
}
.turnstile-wrap iframe {
  max-width: 100%;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.contact-form label {
  display: grid;
  gap: 0.45rem;
}
.contact-form label > span {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  border: 0;
  border-bottom: 2px solid var(--ink);
  border-radius: 0;
  background: transparent;
  outline: none;
  padding: 0.9rem 0.15rem;
  transition:
    border-color 0.2s,
    background 0.2s;
}
.contact-form textarea {
  resize: vertical;
}
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border-color: var(--orange);
  background: rgba(255, 255, 255, 0.26);
}
.contact-privacy-note {
  max-width: 58ch;
  margin: 0.15rem 0 0;
  color: rgba(11, 12, 10, 0.7);
  font-size: 0.78rem;
  line-height: 1.55;
}
.contact-privacy-note a {
  color: var(--ink);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}
.contact-privacy-note a:hover {
  color: var(--orange);
}
.form-status {
  min-height: 1.5em;
  margin: 0;
  font-weight: 700;
}

.privacy-hero {
  padding: clamp(8rem, 15vw, 13rem) 4vw clamp(4rem, 8vw, 7rem);
  background: var(--orange);
  border-bottom: 2px solid var(--ink);
}
.privacy-hero h1 {
  max-width: 11ch;
  margin: 0;
  font-size: clamp(4rem, 11vw, 10rem);
  line-height: 0.82;
  text-transform: uppercase;
}
.privacy-hero h1 em {
  color: var(--acid);
  font-style: normal;
}
.privacy-intro {
  max-width: 48ch;
  margin: clamp(2rem, 4vw, 3.5rem) 0 0 auto;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  line-height: 1.5;
}
.privacy-content {
  display: grid;
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 8rem) 4vw;
}
.privacy-content article {
  display: grid;
  grid-template-columns: minmax(12rem, 0.65fr) minmax(0, 1.35fr);
  gap: clamp(1.5rem, 5vw, 5rem);
  padding: clamp(2rem, 4vw, 3.5rem) 0;
  border-top: 1px solid var(--ink);
}
.privacy-content h2 {
  margin: 0;
  font-size: clamp(1.55rem, 3vw, 2.6rem);
  line-height: 0.95;
}
.privacy-content article p {
  margin: 0;
  line-height: 1.75;
}
.privacy-content article p + p { margin-top: 1rem; }
.privacy-content article h3 {
  margin: 0 0 .65rem;
  font-size: 1rem;
  line-height: 1.25;
  text-transform: uppercase;
}
.privacy-content article p + h3 { margin-top: 2rem; }
.privacy-content a {
  color: inherit;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 0.2em;
  overflow-wrap: anywhere;
}
.privacy-updated {
  margin: 1.5rem 0 0;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
@media (max-width: 700px) {
  .privacy-hero {
    padding-inline: var(--pad);
  }
  .privacy-hero h1 {
    max-width: 100%;
    font-size: clamp(2.65rem, 13.5vw, 4rem);
    line-height: 0.88;
  }
  .privacy-content article {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .privacy-content article > * {
    min-width: 0;
  }
  .privacy-content h2 {
    overflow-wrap: anywhere;
  }
}

/* Footer */
.footer {
  position: relative;
  overflow: hidden;
  padding: 4rem var(--pad) 1.5rem;
  background: var(--ink);
  color: #fff;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.footer-logo img {
  width: 76px;
  height: 76px;
  border-radius: 50%;
}
.footer-logo p {
  margin: 0;
  font: 1.5rem/0.9 var(--display);
}
.footer-links {
  display: grid;
  grid-template-columns: repeat(2, max-content);
  gap: clamp(4rem, 12vw, 11rem);
  justify-content: end;
  margin-top: -4rem;
}
.footer-links div {
  display: grid;
  gap: 0.65rem;
}
.footer-links span {
  margin-bottom: 0.4rem;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.footer-bottom {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 10rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.62);
}
.footer-word {
  margin: 1.5rem 0 -3.8vw;
  color: var(--acid);
  font: clamp(6rem, 20vw, 20rem) / 0.82 var(--display);
  letter-spacing: -0.08em;
  text-align: center;
  white-space: nowrap;
  word-break: keep-all;
  overflow-wrap: normal;
}

/* Dialogs */
dialog {
  max-width: min(680px, calc(100vw - 2rem));
  border: 2px solid var(--ink);
  border-radius: 1.5rem;
  padding: clamp(1.5rem, 4vw, 3.5rem);
  background: var(--paper-2);
  color: var(--ink);
  box-shadow: 1rem 1rem 0 var(--ink);
}
dialog::backdrop {
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(7px);
}
.dialog-close {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  width: 42px;
  height: 42px;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  background: var(--acid);
  cursor: pointer;
  font-size: 1.5rem;
  line-height: 1;
}
.event-dialog h2 {
  max-width: 92%;
  font-size: clamp(2.6rem, 6vw, 5rem);
}
.event-dialog-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
  margin: 1.6rem 0;
}
.event-dialog-meta div {
  padding: 0.85rem;
  border: 1px solid var(--ink);
  border-radius: 0.7rem;
  background: var(--sky);
}
.event-dialog-meta span {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.64rem;
  font-weight: 800;
  text-transform: uppercase;
}
.lightbox {
  width: min(1200px, calc(100vw - 2rem));
  max-width: 1200px;
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.lightbox img {
  max-height: 86vh;
  object-fit: contain;
}
.lightbox-close {
  top: -1.2rem;
  right: -1.2rem;
}

/* Responsive */
@media (max-width: 1100px) {
  .desktop-nav {
    display: none;
  }
  .site-header {
    grid-template-columns: 1fr auto auto;
  }
  .nav-cta {
    margin-right: 0.5rem;
  }
  .menu-toggle {
    display: block;
  }
  .hero {
    grid-template-columns: 1fr;
    padding-top: 8.5rem;
  }
  .hero-copy {
    max-width: 830px;
  }
  .hero-collage {
    min-height: 620px;
    margin-top: 2rem;
  }
  .photo-main {
    width: 56%;
    left: 20%;
  }
  .featured-event,
  .join-section {
    grid-template-columns: 1fr;
  }
  .featured-image,
  .join-media {
    min-height: 620px;
  }
  .news-grid {
    grid-template-columns: 1fr 1fr;
  }
  .news-card-featured {
    grid-column: span 2;
  }
  .contact-section {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 760px) {
  :root {
    --pad: 1rem;
    --radius: 1rem;
  }
  .cursor-dot {
    display: none;
  }
  .site-header {
    top: 0.55rem;
  }
  .brand span,
  .nav-cta {
    display: none;
  }
  .hero {
    min-height: auto;
    padding-bottom: 5rem;
  }
  .hero h1 {
    font-size: clamp(2.25rem, 12.5vw, 4.2rem);
    letter-spacing: -0.08em;
  }
  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    width: max-content;
    max-width: 100%;
  }
  .hero-actions .button,
  .hero-actions .text-link {
    width: 100%;
    justify-content: center;
  }
  .hero-collage {
    min-height: 470px;
  }
  .photo-main {
    width: 70%;
    height: 65%;
    left: 5%;
    top: 15%;
  }
  .photo-side {
    width: 43%;
    height: 50%;
  }
  .photo-top {
    width: 40%;
    height: 30%;
    right: 2%;
  }
  .sticker-years {
    width: 105px;
    height: 105px;
  }
  .sticker-years strong {
    font-size: 2rem;
  }
  .sticker-round {
    width: 85px;
    height: 85px;
  }
  .scroll-note {
    display: none;
  }
  .section {
    padding-block: 5rem;
  }
  .section-heading,
  .history-top {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .section-intro,
  .history-top p {
    margin-left: 0;
  }
  .calendar-shell {
    box-shadow: 0.45rem 0.45rem 0 var(--ink);
  }
  .calendar-toolbar {
    align-items: flex-start;
    gap: 1rem;
  }
  .calendar-nav {
    gap: 0.4rem;
  }
  .calendar-nav h3 {
    min-width: auto;
    font-size: 1.2rem;
  }
  .calendar-nav button {
    width: 36px;
    height: 36px;
  }
  .today-button {
    font-size: 0.75rem;
  }
  .calendar-weekdays span {
    padding: 0.55rem 0.15rem;
  }
  .calendar-day {
    min-height: 74px;
    padding: 0.32rem;
  }
  .calendar-event {
    min-height: 9px;
    padding: 0;
    border-radius: 4px;
    color: transparent;
    font-size: 0;
  }
  .day-number {
    font-size: 0.7rem;
  }
  .featured-image,
  .join-media {
    min-height: 430px;
  }
  .featured-copy,
  .join-copy {
    padding: 4rem 1rem;
  }
  .news-grid {
    grid-template-columns: 1fr;
  }
  .news-card-featured {
    grid-column: auto;
  }
  .news-card-featured .news-image,
  .news-image {
    height: 280px;
  }
  .manifesto {
    min-height: 85svh;
  }
  .timeline-progress {
    left: 0;
  }
  .timeline-item {
    grid-template-columns: 1fr auto;
    padding-left: 1.25rem;
  }
  .timeline-year {
    grid-column: 1;
    font-size: 2.3rem;
    margin-bottom: 1.3rem;
  }
  .timeline-content {
    grid-column: 1;
    padding: 0;
  }
  .timeline-index {
    grid-column: 2;
    grid-row: 1;
  }
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 230px;
  }
  .gallery-large {
    grid-column: span 2;
    grid-row: span 1;
  }
  .gallery-wide {
    grid-column: span 2;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .footer-links {
    justify-content: start;
    margin-top: 4rem;
  }
  .footer-bottom {
    flex-direction: column;
    margin-top: 5rem;
  }
  .event-dialog-meta {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 460px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .gallery-large,
  .gallery-wide {
    grid-column: auto;
  }
  .footer-links {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
  .calendar-help {
    display: none;
  }
}

/* Accessibility / reduced motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
  .manifesto-text span {
    opacity: 1;
  }
}

/* V2: shared inner pages */
.desktop-nav a.is-current {
  color: var(--acid);
}
.section-side-copy {
  display: grid;
  justify-items: start;
  gap: 1.2rem;
}
.section-side-copy .section-intro {
  margin-left: 0;
}
.inner-page {
  background: var(--paper-2);
}
.inner-hero {
  position: relative;
  min-height: 82svh;
  padding: clamp(9rem, 14vw, 12rem) var(--pad) clamp(5rem, 9vw, 8rem);
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  align-items: end;
  gap: 3rem;
  overflow: hidden;
  border-bottom: 2px solid var(--ink);
  isolation: isolate;
}
.inner-hero::before {
  content: "";
  position: absolute;
  inset: -25%;
  z-index: -2;
  opacity: 0.18;
  background: repeating-linear-gradient(118deg, transparent 0 42px, rgba(0, 0, 0, 0.12) 43px 44px);
  transform: rotate(-4deg);
}
.inner-hero-copy {
  position: relative;
  z-index: 2;
}
.inner-hero h1 {
  margin: 0 0 1.8rem;
  max-width: 1050px;
  padding-top: 0.09em;
  font-size: clamp(4rem, 9.3vw, 10rem);
  line-height: 0.9;
  text-transform: uppercase;
}
.inner-hero h1 em {
  display: inline-block;
  color: #fff;
  font-style: normal;
  -webkit-text-stroke: 2px var(--ink);
  paint-order: stroke fill;
}
.inner-lead {
  max-width: 650px;
  margin: 0;
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
}
.inner-hero-presidents {
  background: radial-gradient(circle at 83% 24%, rgba(184, 242, 56, 0.86), transparent 23%), var(--orange);
}
.inner-hero-gallery {
  background: radial-gradient(circle at 83% 22%, rgba(255, 90, 54, 0.58), transparent 23%), var(--sky);
}
.president-hero-mark,
.gallery-count-card {
  justify-self: end;
  display: grid;
  width: clamp(210px, 25vw, 350px);
  aspect-ratio: 1;
  place-content: center;
  border: 3px solid var(--ink);
  border-radius: 50%;
  background: var(--paper-2);
  text-align: center;
  box-shadow: 1rem 1rem 0 var(--ink);
  transform: rotate(6deg);
}
.president-hero-mark span,
.gallery-count-card strong {
  font: clamp(4.5rem, 10vw, 8rem) / 0.8 var(--display);
  letter-spacing: -0.08em;
}
.president-hero-mark small,
.gallery-count-card span {
  margin-top: 0.8rem;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1.2;
  text-transform: uppercase;
}
.gallery-count-card {
  background: var(--acid);
  transform: rotate(-5deg);
}
.archive-note {
  display: grid;
  grid-template-columns: 0.3fr 0.7fr;
  gap: 3rem;
  padding: 2rem var(--pad);
  border-bottom: 1px solid var(--line);
  background: var(--ink);
  color: #fff;
}
.archive-note strong {
  font: 1.1rem var(--display);
  text-transform: uppercase;
}
.archive-note p {
  max-width: 850px;
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
}

.presidents-list {
  padding: clamp(4rem, 9vw, 8rem) var(--pad);
  background: var(--paper-2);
}
.president-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(120px, 0.3fr) minmax(120px, 0.22fr) 1fr auto;
  align-items: center;
  gap: clamp(1rem, 4vw, 4rem);
  min-height: 260px;
  padding: 2.2rem 0;
  border-top: 1px solid var(--line);
}
.president-card:last-child {
  border-bottom: 1px solid var(--line);
}
.president-card.archive {
  color: #77766e;
}
.president-period {
  font: clamp(1.7rem, 3.5vw, 3.7rem) / 1 var(--display);
  letter-spacing: -0.06em;
}
.president-avatar {
  display: grid;
  width: clamp(95px, 12vw, 155px);
  aspect-ratio: 4 / 5;
  place-content: center;
  border: 2px solid var(--ink);
  border-radius: 0.55rem;
  background: var(--sky);
  box-shadow: 0.45rem 0.45rem 0 var(--ink);
  font: clamp(1.6rem, 3vw, 3.3rem) / 1 var(--display);
  transform: rotate(-3deg);
}
.president-card:nth-child(even) .president-avatar {
  background: var(--acid);
  transform: rotate(3deg);
}
.president-card.archive .president-avatar {
  border-style: dashed;
  background: transparent;
  box-shadow: none;
}
.president-info > span {
  display: block;
  margin-bottom: 0.65rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.president-info h2 {
  margin: 0 0 0.65rem;
  font-size: clamp(2rem, 4.3vw, 4.8rem);
  line-height: 0.92;
  text-transform: uppercase;
}
.president-info p {
  max-width: 660px;
  margin: 0;
}
.president-stamp {
  display: grid;
  width: 52px;
  height: 52px;
  place-content: center;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  font: 0.8rem var(--display);
  transform: rotate(12deg);
}
.president-card.current::after {
  content: "AKTUALNO";
  position: absolute;
  top: 1rem;
  right: 4.5rem;
  padding: 0.4rem 0.65rem;
  border: 1px solid var(--ink);
  border-radius: 100px;
  background: var(--acid);
  color: var(--ink);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}
.president-outro {
  padding: clamp(6rem, 12vw, 12rem) var(--pad);
  background: var(--orange);
}
.president-outro h2 {
  max-width: 1300px;
  margin-bottom: 2rem;
}
.president-outro p:last-child {
  max-width: 720px;
  font-size: 1.15rem;
}

/* Full archive gallery */
.gallery-archive-section {
  padding: clamp(4rem, 8vw, 7rem) var(--pad) clamp(7rem, 12vw, 11rem);
  background: var(--paper);
}
.gallery-archive-toolbar {
  position: sticky;
  top: 5.6rem;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding: 0.75rem;
  border: 1.5px solid var(--ink);
  border-radius: 100px;
  background: rgba(255, 250, 241, 0.88);
  box-shadow: 0 0.7rem 1.8rem rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(16px);
}
.album-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.album-filter {
  padding: 0.65rem 0.95rem;
  border: 1px solid transparent;
  border-radius: 100px;
  background: transparent;
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: 800;
}
.album-filter:hover {
  border-color: var(--ink);
}
.album-filter.is-active {
  border-color: var(--ink);
  background: var(--acid);
}
.gallery-result-count {
  flex: 0 0 auto;
  padding-right: 0.8rem;
  color: #66645d;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
}
.archive-masonry {
  columns: 4 260px;
  column-gap: 0.9rem;
}
.archive-photo {
  position: relative;
  width: 100%;
  margin: 0 0 0.9rem;
  padding: 0;
  overflow: hidden;
  break-inside: avoid;
  border: 2px solid var(--ink);
  border-radius: 0.9rem;
  background: var(--ink);
  cursor: zoom-in;
  text-align: left;
}
.archive-photo[hidden] {
  display: none;
}
.archive-photo img {
  width: 100%;
  height: auto;
  transition:
    transform 0.75s cubic-bezier(0.2, 0.7, 0.2, 1),
    filter 0.45s;
}
.archive-photo:hover img {
  transform: scale(1.045);
  filter: saturate(1.14);
}
.archive-photo > span {
  position: absolute;
  left: 0.65rem;
  right: 0.65rem;
  bottom: 0.65rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.65rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 0.65rem;
  background: rgba(11, 12, 10, 0.72);
  color: #fff;
  backdrop-filter: blur(8px);
  transform: translateY(calc(100% + 0.8rem));
  transition: transform 0.35s ease;
}
.archive-photo:hover > span,
.archive-photo:focus-visible > span {
  transform: translateY(0);
}
.archive-photo b {
  font-size: 0.78rem;
}
.archive-photo small {
  color: var(--acid);
  font-weight: 800;
  white-space: nowrap;
}
.archive-end {
  margin: 4rem 0 0;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.archive-end span {
  color: var(--orange);
}

.archive-lightbox {
  width: min(1500px, calc(100vw - 1.5rem));
  max-width: 1500px;
  padding: 0;
  overflow: visible;
  border: 0;
  background: transparent;
  box-shadow: none;
}
.archive-lightbox figure {
  margin: 0;
}
.archive-lightbox img {
  width: 100%;
  max-height: 84vh;
  object-fit: contain;
  border-radius: 0.5rem;
}
.archive-lightbox figcaption {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.65rem;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
}
.archive-lightbox figcaption small {
  color: rgba(255, 255, 255, 0.65);
}
.archive-close {
  top: -1.25rem;
  right: -1.25rem;
}
.archive-nav {
  position: fixed;
  top: 50%;
  z-index: 2;
  display: grid;
  width: 54px;
  height: 54px;
  place-content: center;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  background: var(--acid);
  cursor: pointer;
  font-size: 1.4rem;
  transform: translateY(-50%);
}
.archive-prev {
  left: 1rem;
}
.archive-next {
  right: 1rem;
}

@media (max-width: 1000px) {
  .inner-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .president-hero-mark,
  .gallery-count-card {
    justify-self: start;
    width: 220px;
  }
  .president-card {
    grid-template-columns: 0.35fr 0.25fr 1fr;
  }
  .president-stamp {
    display: none;
  }
}
@media (max-width: 760px) {
  .inner-hero {
    padding-top: 8.5rem;
  }
  .inner-hero h1 {
    font-size: clamp(3.6rem, 17vw, 6rem);
  }
  .archive-note {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .president-card {
    grid-template-columns: 100px 1fr;
    align-items: start;
    min-height: 0;
    gap: 1rem;
  }
  .president-period {
    grid-column: span 2;
  }
  .president-avatar {
    width: 88px;
  }
  .president-info h2 {
    font-size: 2.1rem;
  }
  .president-card.current::after {
    top: 2.4rem;
    right: 0;
  }
  .gallery-archive-toolbar {
    position: relative;
    top: 0;
    align-items: flex-start;
    flex-direction: column;
    border-radius: 1rem;
  }
  .gallery-result-count {
    padding-left: 0.5rem;
  }
  .archive-masonry {
    columns: 2 150px;
  }
  .archive-photo > span {
    transform: none;
  }
  .archive-nav {
    width: 46px;
    height: 46px;
  }
  .archive-prev {
    left: 0.35rem;
  }
  .archive-next {
    right: 0.35rem;
  }
}
@media (max-width: 430px) {
  .archive-masonry {
    columns: 1;
  }
}

/* ===== Full application additions ===== */
.flash {
  position: fixed;
  top: 5.7rem;
  left: 50%;
  z-index: 180;
  width: min(620px, calc(100vw - 2rem));
  padding: 0.9rem 1.1rem;
  border: 2px solid var(--ink);
  border-radius: 100px;
  transform: translateX(-50%);
  box-shadow: 0.35rem 0.35rem 0 var(--ink);
  font-weight: 800;
  text-align: center;
}
.flash-success {
  background: var(--acid);
}
.flash-error {
  background: var(--orange);
  color: #fff;
}
.demo-badge {
  position: fixed;
  right: 0.8rem;
  bottom: 0.8rem;
  z-index: 90;
  padding: 0.45rem 0.7rem;
  border: 1px solid var(--ink);
  border-radius: 100px;
  background: var(--paper-2);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}
.section-end {
  display: flex;
  justify-content: center;
  margin-top: 3rem;
}
.page-section {
  min-height: 60vh;
}
.inner-hero {
  min-height: 76svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 10rem var(--pad) 5rem;
  background: var(--acid);
}
.inner-hero h1 {
  margin: 0;
  padding-top: 0.09em;
  font-size: clamp(4rem, 11vw, 11rem);
  line-height: 0.9;
  text-transform: uppercase;
}
.inner-hero h1 em {
  color: #fff;
  background: var(--orange);
  padding: 0.02em 0.12em 0.08em;
  border: 3px solid var(--ink);
  border-radius: 100px;
  -webkit-text-stroke: 0;
  box-shadow: 0.07em 0.07em 0 var(--ink);
}
.inner-lead {
  max-width: 760px;
  margin: 2rem 0 0;
  font-size: clamp(1.05rem, 1.8vw, 1.45rem);
}
.inner-hero-orange {
  background: var(--orange);
}
.inner-hero-orange h1 em {
  background: var(--acid);
  color: var(--ink);
}
.inner-hero-gallery {
  background: var(--sky);
}
.inner-hero-team {
  background: var(--acid);
}
.small-heading {
  margin: 6rem 0 2rem;
  font-size: clamp(2.5rem, 5vw, 5rem);
  text-transform: uppercase;
}
.event-list {
  margin-top: 3rem;
}
.event-empty {
  margin: 0;
  padding: 2rem 0;
  border-top: 1px solid var(--line);
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  font-weight: 700;
}
.event-row {
  display: grid;
  grid-template-columns: 110px 1fr 230px;
  gap: 2rem;
  padding: 2rem 0;
  border-top: 1px solid var(--line);
}
.event-date-block {
  display: grid;
  align-content: start;
}
.event-date-block strong {
  font: 3.2rem/0.9 var(--display);
  color: var(--orange);
}
.event-date-block span {
  font-size: 0.76rem;
  font-weight: 800;
}
.event-row h3 {
  margin: 0.7rem 0;
  font-size: clamp(1.8rem, 3vw, 3.3rem);
  text-transform: uppercase;
}
.event-row p {
  max-width: 720px;
}
.event-row-meta {
  display: grid;
  align-content: start;
  gap: 0.5rem;
  font-size: 0.88rem;
  font-weight: 700;
}
.event-row-meta a {
  margin-top: 0.6rem;
  color: var(--orange);
}
.tag-static {
  display: inline-flex;
  width: max-content;
  padding: 0.35rem 0.55rem;
  border: 1px solid var(--ink);
  border-radius: 100px;
  background: var(--acid);
  font-size: 0.62rem;
  font-weight: 900;
  text-transform: uppercase;
}
.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 3rem;
}
.filter-pills a {
  padding: 0.65rem 0.95rem;
  border: 1.5px solid var(--ink);
  border-radius: 100px;
  background: var(--paper-2);
  font-size: 0.76rem;
  font-weight: 800;
}
.filter-pills a.active,
.filter-pills a:hover {
  background: var(--acid);
  box-shadow: 3px 3px 0 var(--ink);
}
.archive-cards {
  display: grid;
  gap: 1rem;
}
.archive-card {
  border-top: 1.5px solid var(--ink);
}
.archive-card a {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) 1.25fr;
  gap: clamp(1.5rem, 5vw, 5rem);
  padding: 2rem 0;
}
.archive-card-image {
  height: 340px;
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
}
.archive-card-image img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s;
}
.archive-card:hover img {
  transform: scale(1.05);
}
.archive-card-copy {
  align-self: center;
}
.archive-card-copy > span,
.album-card p {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.archive-card-copy h2,
.album-card h2 {
  margin: 0.7rem 0 1rem;
  font-size: clamp(2rem, 4.5vw, 5rem);
  line-height: 0.92;
  text-transform: uppercase;
}
.archive-card-copy b,
.album-card b {
  color: var(--orange);
}
.empty-state {
  padding: 4rem 0;
  font-size: 1.2rem;
}
.post-hero {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 3rem;
  align-items: end;
  min-height: 92svh;
  padding: 10rem var(--pad) 4rem;
  background: var(--acid);
}
.post-hero h1 {
  margin: 0;
  padding-top: 0.09em;
  font-size: clamp(3.5rem, 8vw, 8rem);
  line-height: 0.9;
  text-transform: uppercase;
}
.post-hero img {
  height: min(70vh, 760px);
  object-fit: cover;
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: 0.7rem 0.7rem 0 var(--ink);
}
.post-content {
  width: min(840px, 100%);
  min-width: 0;
  margin: 0 auto;
  padding: 6rem 1rem 3rem;
  font-size: 1.15rem;
  line-height: 1.75;
  overflow-wrap: anywhere;
}
.post-content p,
.post-content li,
.post-content a,
.post-content span,
.post-content h2,
.post-content h3,
.post-content h4 {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: normal;
}
.post-content h2,
.post-content h3,
.post-content h4 {
  margin-top: 2.4em;
  line-height: 1.1;
}
.post-content h2 {
  font-size: 2.6rem;
}
.post-content a {
  color: var(--orange);
  text-decoration: underline;
}
.post-content img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 2.5rem 0;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: 0.55rem 0.55rem 0 var(--ink);
}
.post-content img[width="360"] {
  width: min(100%, 360px);
  margin-inline: auto;
}
.post-content img[width="640"] {
  width: min(100%, 640px);
  margin-inline: auto;
}
.post-content blockquote {
  margin: 2.5rem 0;
  padding: 1.2rem 1.5rem;
  border-left: 0.55rem solid var(--orange);
  background: var(--paper-2);
  font-size: 1.25rem;
  font-weight: 700;
}
.post-content pre {
  max-width: 100%;
  overflow: auto;
  padding: 1.25rem;
  border-radius: 0.7rem;
  background: var(--ink);
  color: #fff;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.post-content .ql-align-center {
  text-align: center;
}
.post-content .ql-align-right {
  text-align: right;
}
.post-content .ql-align-justify {
  text-align: justify;
}
.post-content .ql-indent-1 {
  margin-left: 2rem;
}
.post-content .ql-indent-2 {
  margin-left: 4rem;
}
.post-back {
  display: flex;
  justify-content: center;
  padding: 0 1rem 7rem;
}
.president-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}
.album-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}
.album-card {
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper-2);
  box-shadow: 0.45rem 0.45rem 0 var(--ink);
}
.album-card > a > div:last-child {
  padding: 1.25rem;
}
.album-image {
  position: relative;
  height: 420px;
  overflow: hidden;
  border-bottom: 2px solid var(--ink);
}
.album-image img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s;
}
.album-card:hover img {
  transform: scale(1.05);
}
.album-image span {
  position: absolute;
  right: 0.8rem;
  bottom: 0.8rem;
  padding: 0.45rem 0.65rem;
  border: 1px solid var(--ink);
  border-radius: 100px;
  background: var(--acid);
  font-size: 0.68rem;
  font-weight: 800;
}
.gallery-cover {
  position: relative;
  min-height: 88svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
  background: var(--ink);
}
.gallery-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 35%, rgba(0, 0, 0, 0.83));
}
.gallery-cover > img {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
}
.gallery-cover > div {
  position: relative;
  z-index: 2;
  padding: 10rem var(--pad) 4rem;
  max-width: 1100px;
}
.gallery-cover h1 {
  margin: 0 0 1rem;
  padding-top: 0.09em;
  font-size: clamp(4rem, 10vw, 10rem);
  line-height: 0.9;
  text-transform: uppercase;
}
.gallery-cover > div > span {
  font-weight: 800;
  color: var(--acid);
}
.gallery-archive-grid {
  display: columns;
  columns: 3 320px;
  column-gap: 0.8rem;
  background: var(--ink);
}
.archive-photo {
  position: relative;
  width: 100%;
  margin: 0 0 0.8rem;
  padding: 0;
  break-inside: avoid;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  overflow: hidden;
}
.archive-photo img {
  width: 100%;
  transition:
    transform 0.6s,
    filter 0.4s;
}
.archive-photo:hover img {
  transform: scale(1.03);
  filter: saturate(1.15);
}
.archive-photo span {
  position: absolute;
  left: 0.65rem;
  bottom: 0.65rem;
  padding: 0.3rem 0.45rem;
  background: var(--acid);
  border: 1px solid var(--ink);
  font-size: 0.65rem;
  font-weight: 900;
}
.lightbox-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 52px;
  height: 52px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: var(--acid);
  cursor: pointer;
  font-size: 1.3rem;
  transform: translateY(-50%);
}
.lightbox-nav.prev {
  left: 1rem;
}
.lightbox-nav.next {
  right: 1rem;
}
.lightbox > p {
  color: #fff;
  text-align: center;
  font-weight: 800;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  background: var(--paper-2);
}
.team-card {
  padding: 1rem;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0.4rem 0.4rem 0 var(--ink);
}
.team-card > div {
  display: grid;
  aspect-ratio: 4 / 5;
  place-items: center;
  overflow: hidden;
  border-radius: 0.9rem;
  background: var(--sky);
}
.team-card > div img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s;
}
.team-card:hover > div img {
  transform: scale(1.05);
}
.team-card > div span {
  font: 5rem var(--display);
}
.team-card p {
  margin: 1rem 0 0.2rem;
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--orange);
}
.team-card h2 {
  margin: 0 0 0.6rem;
  font-size: 2rem;
  text-transform: uppercase;
}
.join-cta {
  padding: 8rem var(--pad);
  text-align: center;
  background: var(--orange);
}
.join-cta h2 {
  margin-inline: auto;
}
.contact-page-section {
  min-height: 100svh;
  padding-top: 11rem;
}
.contact-heading h1 {
  padding-top: 0.09em;
  font: clamp(3.5rem, 7vw, 7.5rem) / 0.9 var(--display);
  letter-spacing: -0.055em;
  text-transform: uppercase;
}
.contact-heading h1 em {
  color: var(--orange);
  font-style: normal;
}
.field-error {
  color: #b52222 !important;
  font-weight: 800;
}
.error-page {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: clamp(7.5rem, 11vw, 10rem) var(--pad) clamp(4rem, 8vw, 7rem);
  background:
    radial-gradient(circle at 14% 18%, rgba(184, 242, 56, 0.75), transparent 30%),
    radial-gradient(circle at 88% 72%, rgba(155, 220, 255, 0.75), transparent 28%),
    var(--paper);
}

.error-card {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(22rem, 0.85fr) minmax(28rem, 1.15fr);
  width: min(100%, 92rem);
  min-height: clamp(32rem, 62vh, 43rem);
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: clamp(1.5rem, 3vw, 2.75rem);
  background: var(--paper-2);
  box-shadow: 0.85rem 0.85rem 0 var(--ink);
}

.error-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: linear-gradient(rgba(11, 12, 10, 0.045) 1px, transparent 1px);
  background-size: 100% 2.4rem;
}

.error-code {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.01em;
  min-width: 0;
  padding: 2rem 1rem;
  overflow: hidden;
  color: var(--acid);
  background: var(--ink);
  font-family: var(--display);
  font-size: clamp(8rem, 13vw, 15rem);
  line-height: 0.72;
  letter-spacing: -0.12em;
  white-space: nowrap;
}

.error-code span {
  display: inline-block;
}

.error-code-mark {
  color: var(--orange);
  transform: translateY(0.06em) rotate(-9deg);
}

.error-code-single {
  color: var(--sky);
  letter-spacing: -0.08em;
}

.error-copy {
  align-self: center;
  padding: clamp(2.5rem, 5vw, 5rem);
}

.error-copy .eyebrow {
  margin-bottom: 1.15rem;
  color: var(--orange);
}

.error-copy h1 {
  max-width: 11ch;
  margin: 0;
  padding-top: 0.09em;
  font: clamp(3rem, 5.5vw, 6.2rem) / 0.9 var(--display);
  letter-spacing: -0.06em;
  text-transform: uppercase;
}

.error-copy > p:not(.eyebrow) {
  max-width: 42rem;
  margin: 1.5rem 0 0;
  font-size: clamp(1rem, 1.5vw, 1.25rem);
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  margin-top: 2rem;
}

.error-actions .text-link {
  font-weight: 850;
}

.error-sticker {
  position: absolute;
  left: clamp(1.5rem, 29%, 25rem);
  bottom: 1.5rem;
  display: grid;
  place-items: center;
  width: clamp(6.5rem, 9vw, 8.5rem);
  aspect-ratio: 1;
  padding: 1rem;
  border: 2px solid var(--ink);
  border-radius: 50%;
  color: var(--ink);
  background: var(--orange);
  box-shadow: 0.35rem 0.35rem 0 var(--ink);
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1.05;
  text-align: center;
  text-transform: uppercase;
  transform: rotate(-9deg);
}

@media (max-width: 800px) {
  .error-card {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .error-code {
    min-height: 14rem;
    font-size: clamp(7rem, 31vw, 12rem);
  }

  .error-copy {
    padding: 4.5rem clamp(1.5rem, 6vw, 3rem) 3rem;
  }

  .error-copy h1 {
    font-size: clamp(2.9rem, 12vw, 5.5rem);
  }

  .error-sticker {
    top: 10.5rem;
    right: 1.25rem;
    bottom: auto;
    left: auto;
    width: 6.5rem;
  }
}

@media (max-width: 500px) {
  .error-page {
    padding-top: 6.5rem;
    padding-bottom: 3.5rem;
  }

  .error-card {
    border-radius: 1.3rem;
    box-shadow: 0.4rem 0.4rem 0 var(--ink);
  }

  .error-code {
    min-height: 11rem;
    padding: 1.5rem 0.5rem;
  }

  .error-copy {
    padding: 3.5rem 1.25rem 1.75rem;
  }

  .error-copy h1 {
    font-size: clamp(2.45rem, 12.5vw, 3.8rem);
  }

  .error-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .error-sticker {
    top: 8.25rem;
    right: 0.8rem;
    width: 5.5rem;
    font-size: 0.61rem;
  }
}
@media (max-width: 900px) {
  .event-row {
    grid-template-columns: 80px 1fr;
  }
  .event-row-meta {
    grid-column: 2;
  }
  .archive-card a,
  .post-hero {
    grid-template-columns: 1fr;
  }
  .post-hero {
    padding-top: 9rem;
  }
  .album-grid {
    grid-template-columns: 1fr;
  }
  .team-grid {
    grid-template-columns: 1fr 1fr;
  }
  .gallery-archive-grid {
    columns: 2 220px;
  }
}
@media (max-width: 600px) {
  .event-row {
    grid-template-columns: 1fr;
  }
  .event-date-block,
  .event-row-meta {
    grid-column: 1;
  }
  .archive-card a {
    grid-template-columns: 1fr;
  }
  .archive-card-image,
  .album-image {
    height: 270px;
  }
  .team-grid {
    grid-template-columns: 1fr;
  }
  .gallery-archive-grid {
    columns: 1;
  }
  .inner-hero {
    min-height: 70svh;
  }
  .flash {
    top: 5rem;
    border-radius: 1rem;
  }
  .demo-badge {
    display: none;
  }
}

/* ===== V4: cijela klupska pjesma i Klupski puls ===== */
.manifesto {
  min-height: auto;
  padding-block: clamp(6rem, 12vw, 11rem);
}
.manifesto-inner {
  width: min(1180px, 100%);
  text-align: left;
}
.pjesma-title {
  margin: 0 0 clamp(2rem, 5vw, 4.5rem);
  font-size: clamp(4.5rem, 12vw, 11rem);
  line-height: 0.76;
  text-transform: uppercase;
}
.pjesma-title span {
  display: inline-block;
  padding: 0.04em 0.14em 0.1em;
  border: 3px solid var(--ink);
  border-radius: 100px;
  background: var(--acid);
  box-shadow: 0.08em 0.08em 0 var(--ink);
  transform: rotate(-2deg);
}
.pjesmica {
  display: grid;
  gap: 0.32em;
  max-width: 1100px;
  margin: 0;
  padding: 0;
  border: 0;
  font: clamp(1.45rem, 3.45vw, 3.7rem) / 1.12 var(--display);
  letter-spacing: -0.045em;
}
.song-line {
  display: block;
  width: fit-content;
  color: var(--ink);
  opacity: 0.16;
  transform: translateX(-0.35em);
  transition:
    opacity 0.38s ease,
    transform 0.55s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.song-line.is-lit {
  opacity: 1;
  transform: none;
}
.song-line:nth-child(2n) {
  margin-left: clamp(0.4rem, 4vw, 4rem);
}
.song-author {
  position: relative;
  display: grid;
  width: max-content;
  justify-items: end;
  margin: clamp(2.5rem, 6vw, 5rem) 3vw 0 auto;
  padding: 0.8rem 1rem 0.35rem;
  color: var(--ink);
  font-style: normal;
  transform: rotate(-4deg);
}
.song-author span {
  margin: 0.55rem 0.35rem 0 0;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.song-author strong {
  position: relative;
  display: block;
  width: clamp(9rem, 18vw, 16rem);
  padding: 0 0.35rem 0.18rem;
}
.song-signature {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}
.song-signature-letter {
  fill: transparent;
  stroke: currentColor;
  stroke-width: 1.35;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 420;
  stroke-dashoffset: 420;
  font:
    88px / 1 "Segoe Script",
    "Bradley Hand",
    "Brush Script MT",
    cursive;
  letter-spacing: -0.08em;
  paint-order: stroke fill;
}
.song-author strong::after {
  content: "";
  position: absolute;
  right: -0.12em;
  bottom: -0.08em;
  left: -0.08em;
  height: 0.12em;
  border-top: 3px solid var(--ink);
  border-radius: 50%;
  opacity: 0;
  transform: rotate(-2deg) skewX(-8deg) scaleX(0);
  transform-origin: left center;
}
.song-author.is-visible strong {
  animation: none;
}
.song-author.is-visible .song-signature-c {
  animation: song-signature-stroke 0.9s cubic-bezier(0.45, 0, 0.35, 1) 0.2s forwards;
}
.song-author.is-visible .song-signature-i {
  animation: song-signature-stroke 0.45s cubic-bezier(0.45, 0, 0.35, 1) 1.03s forwards;
}
.song-author.is-visible .song-signature-n {
  animation: song-signature-stroke 0.9s cubic-bezier(0.45, 0, 0.35, 1) 1.4s forwards;
}
.song-author.is-visible strong::after {
  animation: song-signature-underline 0.58s cubic-bezier(0.2, 0.75, 0.25, 1) 2.4s both;
}

@keyframes song-signature-stroke {
  78% {
    fill: transparent;
  }
  to {
    stroke-dashoffset: 0;
    fill: currentColor;
  }
}

@keyframes song-signature-underline {
  from {
    opacity: 0;
    transform: rotate(-2deg) skewX(-8deg) scaleX(0);
  }
  to {
    opacity: 1;
    transform: rotate(-2deg) skewX(-8deg) scaleX(1);
  }
}

.pulse-section {
  position: relative;
  overflow: hidden;
  background: var(--paper-2);
}
.pulse-section::before {
  content: "SADA";
  position: absolute;
  top: -2vw;
  right: -1vw;
  color: rgba(11, 12, 10, 0.045);
  font: clamp(8rem, 25vw, 26rem) / 0.8 var(--display);
  letter-spacing: -0.09em;
  pointer-events: none;
}
.pulse-heading {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: end;
  gap: 3rem;
  margin-bottom: clamp(3rem, 7vw, 6rem);
}
.pulse-heading h2 {
  margin: 0;
}
.pulse-heading > p {
  max-width: 36rem;
  margin: 0 0 0.8rem auto;
  font-size: 1.1rem;
}

/* Naslovi naslovnice: ostavi siguran prostor za hrvatske dijakritike. */
.home-page .section-heading h2,
.home-page .featured-copy h2,
.home-page .pjesma-title,
.home-page .pulse-heading h2,
.home-page .join-copy h2 {
  padding-top: 0.09em;
  line-height: 0.94;
}
.pulse-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 0.85fr;
  grid-template-rows: minmax(330px, auto) minmax(300px, auto);
  gap: 1rem;
}
.pulse-card {
  position: relative;
  display: flex;
  min-height: 300px;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: clamp(1.25rem, 2.4vw, 2.25rem);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: 0.55rem 0.55rem 0 var(--ink);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}
a.pulse-card:hover {
  transform: translate(-4px, -4px);
  box-shadow: 0.85rem 0.85rem 0 var(--ink);
}
.pulse-label {
  position: relative;
  z-index: 2;
  width: max-content;
  padding: 0.45rem 0.7rem;
  border: 1px solid var(--ink);
  border-radius: 100px;
  background: var(--paper-2);
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.pulse-card-copy {
  position: relative;
  z-index: 2;
  min-width: 0;
  max-width: 100%;
  margin-top: auto;
}
.pulse-card-copy h3 {
  max-width: 15ch;
  margin: 1.4rem 0 0.55rem;
  font-size: clamp(2rem, 3.7vw, 4.5rem);
  line-height: 0.9;
  text-transform: uppercase;
}
.pulse-card-copy p {
  max-width: 40rem;
  margin: 0;
  font-size: 0.92rem;
}
.pulse-arrow {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  z-index: 3;
  display: grid;
  width: 44px;
  height: 44px;
  place-content: center;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  background: var(--acid);
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}
a.pulse-card:hover .pulse-arrow {
  transform: rotate(45deg);
}
.pulse-event {
  grid-row: span 2;
  background: var(--orange);
}
.pulse-event .pulse-card-copy {
  overflow: hidden;
}
.pulse-event .pulse-card-copy h3 {
  width: 100%;
  max-width: 100%;
  margin-right: 0;
  font-size: clamp(2.65rem, 4.75vw, 5.7rem);
  line-height: 0.84;
  letter-spacing: -0.065em;
  overflow-wrap: anywhere;
  text-wrap: balance;
}
.pulse-date {
  display: flex;
  align-items: flex-end;
  gap: 0.75rem;
  margin-top: 3rem;
}
.pulse-date strong {
  font: clamp(6rem, 12vw, 13rem) / 0.72 var(--display);
  letter-spacing: -0.08em;
}
.pulse-date span {
  margin-bottom: 0.4rem;
  font-weight: 900;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}
.pulse-gallery {
  min-height: 330px;
  color: #fff;
  background: var(--ink);
}
.pulse-gallery .pulse-label {
  color: var(--ink);
}
.pulse-gallery::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 20%, rgba(0, 0, 0, 0.86));
}
.pulse-gallery > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}
.pulse-gallery:hover > img {
  transform: scale(1.06);
}
.pulse-story {
  background: var(--sky);
}
.pulse-story .pulse-card-copy h3 {
  font-size: clamp(2rem, 3.3vw, 3.9rem);
}
.pulse-numbers {
  grid-column: span 2;
  display: grid;
  grid-template-areas:
    "label label label"
    "years photos team"
    "link link link";
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: end;
  column-gap: clamp(1rem, 2.2vw, 2.5rem);
  row-gap: 1.25rem;
  background: var(--acid);
}
.pulse-numbers .pulse-label {
  grid-area: label;
  align-self: start;
}
.pulse-stat {
  display: grid;
  align-content: end;
  justify-items: center;
  min-width: 0;
  text-align: center;
}
.pulse-stat-years {
  grid-area: years;
}
.pulse-stat-photos {
  grid-area: photos;
}
.pulse-stat-team {
  grid-area: team;
}
.pulse-stat strong {
  max-width: 100%;
  font: clamp(3rem, 4.8vw, 6rem) / 0.8 var(--display);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.08em;
  white-space: nowrap;
}
.pulse-stat-photos strong {
  font-size: clamp(2.8rem, 4.15vw, 5.25rem);
}
.pulse-stat span {
  margin-top: 0.55rem;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}
.pulse-numbers .text-link {
  grid-area: link;
  align-self: end;
  justify-self: start;
}

@media (max-width: 1050px) {
  .pulse-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .pulse-event {
    grid-row: span 2;
  }
  .pulse-numbers {
    grid-column: span 2;
  }
}
@media (max-width: 760px) {
  .manifesto-inner {
    text-align: left;
  }
  .pjesma-title {
    font-size: clamp(3.6rem, 18vw, 6rem);
  }
  .pjesmica {
    font-size: clamp(1.25rem, 6vw, 2rem);
    gap: 0.5em;
  }
  .song-line:nth-child(2n) {
    margin-left: 0;
  }
  .song-author {
    margin-right: 0;
  }
  .song-author strong {
    width: clamp(9rem, 48vw, 14rem);
  }
  .pulse-heading {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .pulse-heading > p {
    margin-left: 0;
  }
  .pulse-grid {
    grid-template-columns: 1fr;
  }
  .pulse-event {
    grid-row: auto;
    min-height: 520px;
  }
  .pulse-numbers {
    grid-column: auto;
    grid-template-areas:
      "label label"
      "years photos"
      "team team"
      "link link";
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .pulse-numbers .pulse-label,
  .pulse-numbers .text-link {
    justify-self: start;
  }
  .pulse-stat-team {
    margin-top: 0.5rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .song-line {
    opacity: 1;
    transform: none;
  }
  .song-author strong {
    animation: none;
  }
  .song-signature-letter {
    stroke-dashoffset: 0;
    fill: currentColor;
    animation: none;
  }
  .song-author strong::after {
    opacity: 1;
    transform: rotate(-2deg) skewX(-8deg) scaleX(1);
    animation: none;
  }
}

/* ===== Editorial hero sustav unutarnjih stranica ===== */
.editorial-hero {
  position: relative;
  isolation: isolate;
  min-height: 82svh;
  overflow: hidden;
}
.editorial-hero h1,
.editorial-detail-hero h1 {
  margin: 0;
  padding-top: 0.09em;
  font: clamp(3.7rem, 8.5vw, 9.5rem) / 0.9 var(--display);
  letter-spacing: -0.075em;
  text-transform: uppercase;
  text-wrap: balance;
}
.editorial-hero h1 em {
  color: var(--orange);
  font-style: normal;
}
.editorial-hero-lead {
  max-width: 38rem;
  margin: 1.4rem 0 2rem;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
}
.editorial-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}
.dyp-hero-button {
  background: var(--ink);
  color: #fff;
}

/* Riječka DYP liga */
.dyp-hero {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  min-height: 100svh;
  background: var(--sky);
}
.dyp-hero-copy {
  align-self: center;
  padding: clamp(9rem, 13vw, 12rem) var(--pad) 5rem;
}
.dyp-hero-copy h1 { font-size: clamp(4rem, 8vw, 9rem); }
.dyp-hero-table {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background: var(--ink);
}
.dyp-hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}
.dyp-hero-table::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11,12,10,.18), transparent 35%), linear-gradient(0deg, rgba(11,12,10,.28), transparent 35%);
  pointer-events: none;
}
.dyp-score { position: absolute; right: 4%; top: 8%; z-index: 2; padding: .6rem 1rem; background: var(--ink); color: #fff; font: 2rem var(--display); transform: rotate(6deg); }
.dyp-benefits { background: var(--paper-2); }
.dyp-benefit-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 2px solid var(--ink); }
.dyp-benefit { min-height: 270px; padding: 1.5rem; border-right: 2px solid var(--ink); }
.dyp-benefit:last-child { border-right: 0; }
.dyp-benefit > span { font: 2.2rem var(--display); color: var(--orange); }
.dyp-benefit h3 { margin: 3rem 0 .8rem; font-size: clamp(1.45rem, 2.2vw, 2.2rem); line-height: 1; text-transform: uppercase; }
.dyp-benefit p { margin: 0; }
.dyp-next-tournament { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(2rem, 7vw, 7rem); align-items: center; background: var(--orange); }
.dyp-next-heading h2 { margin: 0; }
.dyp-next-card { display: grid; grid-template-columns: minmax(180px, .75fr) minmax(0, 1.25fr); overflow: hidden; border: 3px solid var(--ink); border-radius: var(--radius); background: var(--paper); box-shadow: .8rem .8rem 0 var(--ink); transform: rotate(1deg); }
.dyp-next-date { display: grid; align-content: center; min-height: 330px; padding: 2rem; border-right: 3px solid var(--ink); background: var(--acid); color: var(--ink); text-align: center; text-decoration: none; }
.dyp-next-date strong { font: clamp(5rem, 11vw, 9rem)/.75 var(--display); letter-spacing: -.08em; }
.dyp-next-date span { margin-top: 1.2rem; font-weight: 900; text-transform: uppercase; }
.dyp-next-date small { margin-top: .35rem; font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.dyp-next-details { display: grid; align-content: center; padding: clamp(1.5rem, 4vw, 3.5rem); }
.dyp-next-details > div { display: grid; gap: .35rem; padding: 1.4rem 0; border-bottom: 1px solid var(--line); }
.dyp-next-details > div:last-child { border-bottom: 0; }
.dyp-next-details span { color: var(--orange); font-size: .72rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.dyp-next-details strong { font: clamp(1.5rem, 3vw, 3rem)/1 var(--display); text-transform: uppercase; overflow-wrap: anywhere; }
.dyp-next-details small { color: var(--muted); font-weight: 700; }
.dyp-explainer { display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(3rem, 8vw, 9rem); background: var(--ink); color: #fff; }
.dyp-explainer-heading { position: sticky; top: 8rem; align-self: start; }
.dyp-explainer-heading h2 { margin: 0; }
.dyp-explainer-heading .eyebrow { display: inline-flex; margin: 0 0 1.6rem clamp(.6rem, 3vw, 3.5rem); padding: .55rem .85rem; border: 1px solid rgba(255,255,255,.55); border-radius: 100px; color: var(--acid); transform: rotate(-2deg); }
.dyp-qa { border-top: 1px solid rgba(255,255,255,.35); transition: border-color .3s ease; }
.dyp-qa:last-child { border-bottom: 1px solid rgba(255,255,255,.35); }
.dyp-qa summary { display: grid; grid-template-columns: 3rem 1fr; gap: 1rem; align-items: center; margin-inline: -.85rem; padding: 1.6rem .85rem; background: linear-gradient(90deg, var(--acid), var(--acid)) no-repeat left center / 0 100%; font: clamp(1.25rem, 2.3vw, 2.2rem)/1 var(--display); text-transform: uppercase; cursor: pointer; list-style: none; transition: background-size .38s cubic-bezier(.22,.75,.18,1), color .25s ease, transform .3s ease; }
.dyp-qa summary::-webkit-details-marker { display: none; }
.dyp-qa summary:hover { color: var(--ink); background-size: 100% 100%; transform: translateX(.45rem); }
.dyp-qa:has(summary:hover) { border-color: var(--acid); }
.dyp-qa-index { display: inline-grid; width: 2.1rem; aspect-ratio: 1; place-content: center; border: 1px solid transparent; border-radius: 50%; color: var(--acid); font-size: .8rem; transition: color .25s ease, background .25s ease, border-color .25s ease, transform .35s cubic-bezier(.2,.8,.2,1); }
.dyp-qa summary:hover .dyp-qa-index { border-color: var(--ink); background: var(--paper-2); color: var(--ink); transform: rotate(-8deg) scale(1.08); }
.dyp-qa-toggle { position: relative; grid-column: 3; width: 1.45rem; height: 1.45rem; transition: transform .42s cubic-bezier(.22,.75,.18,1); }
.dyp-qa-toggle::before,
.dyp-qa-toggle::after { content: ""; position: absolute; left: 50%; top: 50%; width: 100%; height: 2px; border-radius: 2px; background: currentColor; transform: translate(-50%, -50%); transition: transform .42s cubic-bezier(.22,.75,.18,1), opacity .24s ease; }
.dyp-qa-toggle::after { transform: translate(-50%, -50%) rotate(90deg); }
.dyp-qa[open] .dyp-qa-toggle { transform: rotate(180deg); }
.dyp-qa[open] .dyp-qa-toggle::after { opacity: 0; transform: translate(-50%, -50%) rotate(0deg) scaleX(.35); }
.dyp-qa.is-closing .dyp-qa-toggle { transform: rotate(0deg); }
.dyp-qa.is-closing .dyp-qa-toggle::after { opacity: 1; transform: translate(-50%, -50%) rotate(90deg) scaleX(1); }
.dyp-qa summary:hover .dyp-qa-toggle { transform: rotate(90deg) scale(1.08); }
.dyp-qa[open] summary:hover .dyp-qa-toggle { transform: rotate(225deg) scale(1.08); }
.dyp-qa-answer { overflow: hidden; }
.dyp-qa:not([open]) .dyp-qa-answer { height: 0; }
.dyp-qa-answer-inner { padding: 0 0 1.6rem 4rem; max-width: 52rem; color: rgba(255,255,255,.78); font-size: 1.05rem; }
.dyp-qa.is-animating .dyp-qa-answer { will-change: height, opacity; }
.dyp-qa li + li { margin-top: .65rem; }
.dyp-standings { background: var(--paper-2); }
.dyp-table-wrap { overflow-x: auto; border: 2px solid var(--ink); box-shadow: .75rem .75rem 0 var(--ink); }
.dyp-standings-table { width: 100%; min-width: 760px; border-collapse: collapse; background: var(--paper); font-variant-numeric: tabular-nums; }
.dyp-standings-table th,
.dyp-standings-table td { padding: 1rem 1.15rem; border-bottom: 1px solid var(--line); text-align: center; }
.dyp-standings-table thead th { background: var(--ink); color: #fff; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; }
.dyp-standings-table thead button { display: inline-flex; align-items: center; gap: .45rem; padding: .25rem; border: 0; background: transparent; color: inherit; font: inherit; letter-spacing: inherit; text-transform: inherit; cursor: pointer; white-space: nowrap; }
.dyp-standings-table thead button::after { content: "↕"; color: var(--acid); font-size: 1rem; line-height: 1; opacity: .65; }
.dyp-standings-table thead button[data-sort-direction="asc"]::after { content: "↑"; opacity: 1; }
.dyp-standings-table thead button[data-sort-direction="desc"]::after { content: "↓"; opacity: 1; }
.dyp-standings-table thead button:hover,
.dyp-standings-table thead button:focus-visible { color: var(--acid); }
.dyp-standings-table tbody th { text-align: left; font: 1rem var(--display); text-transform: uppercase; }
.dyp-standings-table tbody tr:last-child > * { border-bottom: 0; }
.dyp-standings-table tbody tr:hover { background: rgba(184,242,56,.2); }
.dyp-rank { display: inline-grid; width: 2.2rem; aspect-ratio: 1; place-content: center; border: 2px solid var(--ink); border-radius: 50%; font-weight: 900; }
.dyp-standings-table tbody tr:nth-child(-n+3) .dyp-rank { background: var(--acid); }
.dyp-standings-table td:last-child strong { font: 1.35rem var(--display); }
.dyp-table-note { margin: 1.4rem 0 0; color: var(--muted); font-size: .82rem; }
.dyp-privacy-note {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  max-width: 68rem;
  margin: 2rem 0 0;
  padding: 1rem 1.15rem;
  border: 2px solid var(--ink);
  border-radius: 1rem;
  background: rgba(155, 220, 255, .34);
  box-shadow: .3rem .3rem 0 var(--ink);
}
.dyp-privacy-note > span {
  display: grid;
  width: 2rem;
  aspect-ratio: 1;
  place-content: center;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-weight: 900;
}
.dyp-privacy-note p { margin: 0; }
.dyp-privacy-note a { color: inherit; font-weight: 850; text-decoration: underline; text-underline-offset: .18em; }
.dyp-standings-empty { padding: 2rem; border: 2px dashed var(--ink); font-size: 1.1rem; }
.dyp-locations { background: var(--sky); }
.dyp-location-layout { display: grid; grid-template-columns: 1.35fr .65fr; gap: clamp(2rem, 5vw, 5rem); align-items: stretch; }
.dyp-map { position: relative; min-height: 520px; overflow: hidden; border: 2px solid var(--ink); border-radius: var(--radius); background: var(--paper-2); box-shadow: .8rem .8rem 0 var(--ink); }
.dyp-map .leaflet-tile-pane { filter: saturate(.78) contrast(.94); }
.dyp-map .leaflet-control-zoom a { color: var(--ink); }
.dyp-map-marker { display: grid; width: 42px; height: 42px; place-content: center; border: 3px solid var(--ink); border-radius: 50% 50% 50% 0; background: var(--acid); color: var(--ink); box-shadow: .2rem .2rem 0 var(--ink); font: .9rem var(--display); transform: rotate(-45deg); }
.dyp-map-marker span { transform: rotate(45deg); }
.dyp-map .leaflet-popup-content-wrapper { border: 2px solid var(--ink); border-radius: .8rem; box-shadow: .35rem .35rem 0 var(--ink); }
.dyp-map .leaflet-popup-content { margin: .8rem 1rem; font-family: var(--body); }
.dyp-map-popup strong { display: block; font-family: var(--display); text-transform: uppercase; }
.dyp-map-popup a { display: inline-block; margin-top: .45rem; font-weight: 800; text-decoration: underline; }
.dyp-location-list { display: grid; margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--ink); }
.dyp-location-list li { display: grid; grid-template-columns: auto 1fr auto; gap: 1rem; align-items: center; padding: 1.4rem 0; border-bottom: 2px solid var(--ink); }
.dyp-location-list > li > span { font: 1.6rem var(--display); }
.dyp-location-list h3 { margin: 0; font-size: 1.25rem; text-transform: uppercase; }
.dyp-location-list p { margin: .2rem 0 0; }
.dyp-location-list a { display: grid; width: 46px; aspect-ratio: 1; place-content: center; border: 2px solid var(--ink); border-radius: 50%; background: var(--acid); font-size: 1.3rem; transition: transform .2s; }
.dyp-location-list a:hover { transform: rotate(12deg) scale(1.08); }

@media (max-width: 980px) {
  .dyp-benefit-grid { grid-template-columns: 1fr 1fr; }
  .dyp-benefit:nth-child(2) { border-right: 0; }
  .dyp-benefit:nth-child(-n+2) { border-bottom: 2px solid var(--ink); }
  .dyp-location-layout { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .dyp-hero { grid-template-columns: 1fr; }
  .dyp-hero-table { min-height: 62svh; }
  .dyp-hero-copy { padding-top: 9rem; }
  .dyp-next-tournament { grid-template-columns: 1fr; }
  .dyp-explainer { grid-template-columns: 1fr; }
  .dyp-explainer-heading { position: static; }
  .dyp-map { min-height: 430px; }
}
@media (max-width: 520px) {
  .editorial-hero-actions { align-items: stretch; flex-direction: column; width: 100%; }
  .editorial-hero-actions .button { width: 100%; }
  .dyp-benefits h2 { max-width: 100%; font-size: min(10.8vw, 3.2rem); line-height: .92; letter-spacing: -.065em; overflow-wrap: anywhere; }
  .dyp-benefit-grid { grid-template-columns: 1fr; }
  .dyp-benefit { min-height: 220px; border-right: 0; border-bottom: 2px solid var(--ink); }
  .dyp-benefit:last-child { border-bottom: 0; }
  .dyp-benefit h3 { margin-top: 2rem; }
  .dyp-next-card { grid-template-columns: 1fr; transform: none; }
  .dyp-next-date { min-height: 240px; border-right: 0; border-bottom: 3px solid var(--ink); }
  .dyp-qa summary { grid-template-columns: 2rem 1fr auto; }
  .dyp-qa-answer-inner { padding-left: 3rem; }
}

@media (prefers-reduced-motion: reduce) {
  .dyp-qa,
  .dyp-qa summary,
  .dyp-qa-index,
  .dyp-qa-toggle,
  .dyp-qa-toggle::before,
  .dyp-qa-toggle::after { transition: none; }
}

/* Eventi: split fotografija */
.editorial-hero-split {
  display: grid;
  grid-template-columns: minmax(360px, 0.78fr) minmax(0, 1.22fr);
  background: var(--paper);
}
.editorial-hero-split .editorial-hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(9rem, 13vw, 12rem) clamp(2rem, 5vw, 5.5rem) 5rem var(--pad);
}
.editorial-hero-split h1 {
  font-size: clamp(4rem, 7.4vw, 8.2rem);
}
.editorial-hero-media {
  position: relative;
  z-index: 2;
  min-height: 82svh;
  overflow: visible;
}
.editorial-hero-image-frame {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.editorial-hero-image-frame > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.editorial-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11, 12, 10, 0.08), transparent 35%);
  pointer-events: none;
}
.hero-starburst {
  position: absolute;
  left: -2.4rem;
  bottom: 16%;
  z-index: 4;
  display: grid;
  width: 150px;
  aspect-ratio: 1;
  place-content: center;
  padding: 1.3rem;
  clip-path: polygon(
    50% 0,
    61% 19%,
    79% 8%,
    81% 29%,
    100% 31%,
    85% 48%,
    100% 64%,
    79% 69%,
    80% 91%,
    60% 81%,
    49% 100%,
    39% 81%,
    19% 92%,
    20% 70%,
    0 65%,
    15% 49%,
    0 32%,
    20% 29%,
    20% 8%,
    40% 19%
  );
  background: var(--acid);
  color: var(--ink);
  font-size: 0.68rem;
  font-weight: 900;
  line-height: 1.05;
  text-align: center;
  text-transform: uppercase;
  transform: rotate(-8deg);
}
.hero-round-stamp {
  position: absolute;
  right: 7%;
  bottom: 9%;
  z-index: 2;
  display: grid;
  width: 100px;
  aspect-ratio: 1;
  place-content: center;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0.35rem 0.35rem 0 var(--ink);
  font: 1.45rem var(--display);
  transform: rotate(9deg);
}

/* Povijest: arhivska fotografija */
.editorial-hero-history {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  align-items: center;
  gap: clamp(2rem, 7vw, 8rem);
  padding: clamp(9rem, 13vw, 11rem) var(--pad) 5rem;
  background: repeating-linear-gradient(0deg, transparent 0 31px, rgba(11, 12, 10, 0.028) 32px), var(--paper);
}
.editorial-hero-history::before {
  content: "1994";
  position: absolute;
  left: -2vw;
  bottom: -0.14em;
  z-index: -1;
  color: rgba(11, 12, 10, 0.035);
  font: clamp(9rem, 27vw, 27rem) / 0.8 var(--display);
  letter-spacing: -0.1em;
}
.history-hero-copy {
  align-self: center;
  max-width: 720px;
}
.history-hero-copy .text-link {
  display: inline-flex;
  margin-top: 0.8rem;
}
.history-hero-photo {
  position: relative;
  margin: 0 3vw 2rem 0;
  padding: 0.7rem 0.7rem 2.7rem;
  border: 2px solid var(--ink);
  background: var(--paper-2);
  box-shadow: 0.75rem 0.75rem 0 rgba(11, 12, 10, 0.18);
  transform: rotate(3deg);
}
.history-hero-photo::before,
.history-hero-photo::after {
  content: "";
  position: absolute;
  top: -18px;
  width: 86px;
  height: 32px;
  background: rgba(206, 178, 122, 0.75);
  transform: rotate(-5deg);
}
.history-hero-photo::before {
  left: 8%;
}
.history-hero-photo::after {
  right: 8%;
  transform: rotate(6deg);
}
.history-hero-photo img {
  height: clamp(270px, 38vw, 500px);
  object-fit: cover;
  filter: saturate(0.2) contrast(1.05);
}
.history-hero-photo figcaption {
  position: absolute;
  left: 1rem;
  bottom: 0.7rem;
  padding: 0.35rem 0.55rem;
  background: var(--orange);
  font-size: 0.66rem;
  font-weight: 900;
  text-transform: uppercase;
}

/* Predsjednici: scroll kronologija mandata */
.presidents-timeline-section {
  padding: clamp(5rem, 10vw, 9rem) var(--pad);
  overflow: hidden;
  background: var(--paper-2);
}
.presidents-timeline-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.42fr);
  gap: 1rem clamp(2rem, 8vw, 9rem);
  align-items: end;
  max-width: 1400px;
  margin: 0 auto clamp(4rem, 8vw, 7rem);
}
.presidents-timeline-heading .eyebrow {
  grid-column: 1 / -1;
}
.presidents-timeline-heading h2 {
  margin: 0;
  font: clamp(3.5rem, 8vw, 8.5rem) / 0.82 var(--display);
  letter-spacing: -0.07em;
  text-transform: uppercase;
}
.presidents-timeline-heading h2 em {
  color: var(--orange);
  font-style: normal;
}
.presidents-timeline-heading > p:last-child {
  max-width: 31rem;
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
}
.presidents-timeline {
  max-width: 1400px;
}
.presidents-timeline .timeline-progress {
  left: 29%;
  z-index: 1;
  width: 4px;
  overflow: visible;
  background: rgba(11, 12, 10, 0.14);
}
.presidents-timeline .timeline-progress span {
  position: relative;
  background: var(--orange);
  box-shadow: 0 0 0 1px rgba(11, 12, 10, 0.08);
  transition: height 0.12s linear;
}
.presidents-timeline .timeline-progress span::after {
  content: none;
}
.president-timeline-item {
  z-index: 2;
  grid-template-columns: 29% 1fr auto;
  min-height: 300px;
  padding: 2.5rem 0 4.5rem;
}
.president-timeline-item::before {
  content: "";
  position: absolute;
  top: 3rem;
  left: 29%;
  z-index: 3;
  width: 30px;
  height: 9px;
  border: 2px solid var(--ink);
  background: var(--acid);
  box-shadow: 0.14rem 0.14rem 0 var(--ink);
  transform: translateX(-50%) rotate(-4deg) scaleX(0);
  transform-origin: center;
  transition:
    transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1),
    background-color 0.3s;
}
.president-timeline-item.is-visible::before,
.president-timeline-item.current::before {
  transform: translateX(-50%) rotate(-4deg) scaleX(1);
  background: var(--acid);
}
.president-timeline-content {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
  max-width: none;
}
.president-timeline-content .president-avatar {
  flex: 0 0 auto;
  overflow: hidden;
}
.president-timeline-content .president-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.president-timeline-content .president-info h3 {
  margin: 0 0 0.65rem;
  font: clamp(2rem, 4.3vw, 4.8rem) / 0.92 var(--display);
  letter-spacing: -0.04em;
  text-transform: uppercase;
}
.president-timeline-content .president-info p {
  margin: 0;
}
.president-timeline-item.current .timeline-index {
  background: var(--orange);
}
.president-timeline-item.current::after {
  content: "AKTUALNO";
  position: absolute;
  top: 2.4rem;
  right: 4.5rem;
  padding: 0.4rem 0.65rem;
  border: 1px solid var(--ink);
  border-radius: 100px;
  background: var(--acid);
  color: var(--ink);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}

/* Ekipa: minimalna tipografija */
.editorial-hero-team {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(190px, 0.38fr) minmax(230px, 0.47fr);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 4rem);
  padding: clamp(9rem, 13vw, 11rem) var(--pad) 5rem;
  background: var(--paper-2);
}
.editorial-hero-team h1 {
  font-size: clamp(4rem, 8.2vw, 9rem);
}
.editorial-hero-team h1 em {
  color: var(--ink);
}
.team-hero-intro {
  align-self: end;
  padding-bottom: 4rem;
}
.team-hero-intro p {
  margin: 0 0 1.6rem;
}
.team-hero-polaroid {
  position: relative;
  margin: 0;
  padding: 0.6rem 0.6rem 2.4rem;
  border: 2px solid var(--ink);
  background: var(--paper-2);
  box-shadow: 0.65rem 0.65rem 0 rgba(11, 12, 10, 0.2);
  transform: rotate(5deg);
}
.team-hero-polaroid::before {
  content: "";
  position: absolute;
  top: -17px;
  left: 50%;
  width: 90px;
  height: 31px;
  background: rgba(206, 178, 122, 0.75);
  transform: translateX(-50%) rotate(-5deg);
}
.team-hero-polaroid img {
  height: 330px;
  object-fit: cover;
}
.hero-marker {
  display: block;
  width: min(90%, 520px);
  height: 16px;
  margin-top: 1.6rem;
  background: var(--acid);
  clip-path: polygon(0 45%, 100% 0, 92% 68%, 8% 100%);
}
.hero-club-seal {
  position: absolute;
  right: 3%;
  bottom: 8%;
  display: grid;
  width: 120px;
  aspect-ratio: 1;
  place-content: center;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--acid);
  font-size: 0.55rem;
  font-weight: 900;
  line-height: 1.15;
  text-align: center;
  text-transform: uppercase;
  transform: rotate(-8deg);
}
.hero-club-seal b {
  font: 1.3rem var(--display);
}

/* Novosti: fotografija preko cijele sekcije */
.editorial-hero-photo {
  display: grid;
  align-items: end;
  padding: clamp(10rem, 14vw, 13rem) var(--pad) 3rem;
  color: #fff;
  background: var(--ink);
}
.photo-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.editorial-hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(11, 12, 10, 0.94) 0%, rgba(11, 12, 10, 0.64) 48%, rgba(11, 12, 10, 0.18)),
    linear-gradient(0deg, rgba(11, 12, 10, 0.8), transparent 55%);
}
.photo-hero-copy {
  max-width: 900px;
  padding-bottom: 8rem;
}
.photo-hero-copy h1 em {
  color: var(--acid);
}
.photo-hero-stats {
  position: absolute;
  left: var(--pad);
  right: var(--pad);
  bottom: 2.2rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 210px));
  gap: 0.65rem;
}
.photo-hero-stats span {
  display: grid;
  min-height: 96px;
  align-content: center;
  padding: 1rem;
  border: 2px solid var(--ink);
  border-radius: 0.75rem;
  background: var(--paper-2);
  color: var(--ink);
  box-shadow: 0.28rem 0.28rem 0 rgba(11, 12, 10, 0.7);
}
.photo-hero-stats span:first-child {
  background: var(--acid);
}
.photo-hero-stats strong {
  font: 2.15rem/0.9 var(--display);
}
.photo-hero-stats small {
  margin-top: 0.45rem;
  font-size: 0.62rem;
  font-weight: 900;
  text-transform: uppercase;
}

/* Galerije: kolaž kartica */
.editorial-hero-collage {
  display: grid;
  grid-template-columns: minmax(320px, 0.72fr) minmax(0, 1.28fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 6rem);
  padding: clamp(9rem, 13vw, 11rem) var(--pad) 5rem;
  background: var(--ink);
  color: #fff;
}
.editorial-hero-collage::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.12;
  background: repeating-linear-gradient(115deg, transparent 0 50px, var(--acid) 51px 52px);
}
.collage-hero-copy {
  position: relative;
  z-index: 2;
}
.collage-hero-copy h1 {
  font-size: clamp(3.8rem, 6vw, 7rem);
}
.collage-hero-copy h1 em {
  color: var(--orange);
}
.collage-hero-cards {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 560px;
  padding: 1rem 1rem 4rem;
}
.collage-hero-card {
  position: relative;
  width: min(31%, 245px);
  min-height: 430px;
  padding: 0.7rem 0.7rem 1.1rem;
  border: 2px solid var(--ink);
  background: var(--paper-2);
  color: var(--ink);
  box-shadow: 0.65rem 0.65rem 0 rgba(184, 242, 56, 0.9);
}
.collage-hero-card:first-child {
  transform: rotate(-7deg) translateX(1.4rem);
}
.collage-hero-card:nth-child(2) {
  z-index: 2;
  transform: rotate(2deg) translateY(-1.1rem);
}
.collage-hero-card:nth-child(3) {
  transform: rotate(7deg) translateX(-1.4rem);
}
.collage-hero-card > span {
  position: absolute;
  top: -0.75rem;
  right: 0.5rem;
  z-index: 2;
  padding: 0.35rem 0.55rem;
  background: var(--orange);
  font-size: 0.62rem;
  font-weight: 900;
  text-transform: uppercase;
  transform: rotate(2deg);
}
.collage-hero-card img {
  height: 300px;
  object-fit: cover;
  border: 1px solid var(--ink);
}
.collage-hero-card small {
  display: block;
  margin: 0.75rem 0 0.25rem;
  font-size: 0.62rem;
  font-weight: 900;
  text-transform: uppercase;
}
.collage-hero-card strong {
  display: block;
  font: 1.35rem/0.95 var(--display);
  text-transform: uppercase;
}
.collage-note {
  position: absolute;
  left: 12%;
  bottom: 2rem;
  z-index: 4;
  padding: 0.7rem 1rem;
  background: var(--acid);
  color: var(--ink);
  font: 0.85rem var(--display);
  text-transform: uppercase;
  transform: rotate(-5deg);
}

/* Detalji priče i albuma */
.editorial-detail-hero {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  align-items: center;
  gap: clamp(2rem, 6vw, 7rem);
  min-height: 88svh;
  padding: clamp(9rem, 13vw, 11rem) var(--pad) 5rem;
  overflow: hidden;
  background: var(--paper);
}
.detail-hero-copy {
  max-width: 850px;
}
.detail-hero-copy h1 {
  font-size: clamp(3.4rem, 7vw, 7.8rem);
}
.detail-hero-copy > p:last-child {
  max-width: 38rem;
  margin-top: 1.5rem;
  font-size: 1.1rem;
}
.detail-hero-image {
  position: relative;
  margin: 0;
  padding: 1rem 1rem 3.4rem;
  background: var(--orange);
  border: 3px solid var(--ink);
  box-shadow: 0.9rem 0.9rem 0 var(--ink);
  transform: rotate(2deg);
}
.detail-hero-image::before {
  content: "";
  position: absolute;
  top: -20px;
  left: 50%;
  width: 100px;
  height: 36px;
  background: rgba(206, 178, 122, 0.8);
  transform: translateX(-50%) rotate(-4deg);
}
.detail-hero-image img {
  height: min(63vh, 680px);
  object-fit: cover;
  border: 2px solid var(--ink);
}
.detail-hero-image span {
  position: absolute;
  left: 1rem;
  bottom: 0.8rem;
  font: 0.85rem var(--display);
  text-transform: uppercase;
}
.editorial-gallery-cover {
  min-height: 88svh;
}
.editorial-gallery-cover::after {
  background:
    linear-gradient(90deg, rgba(11, 12, 10, 0.9), rgba(11, 12, 10, 0.28) 68%),
    linear-gradient(0deg, rgba(11, 12, 10, 0.72), transparent 55%);
}
.editorial-gallery-cover > div {
  max-width: 900px;
}
.editorial-gallery-cover > div > span {
  display: inline-flex;
  padding: 0.55rem 0.8rem;
  border: 1px solid var(--ink);
  border-radius: 100px;
  background: var(--acid);
  color: var(--ink);
}

/* Kontakt: moderna asimetrija */
.contact-editorial {
  position: relative;
  isolation: isolate;
  grid-template-columns: 0.82fr 1.18fr;
  align-items: center;
  overflow: hidden;
  background:
    repeating-radial-gradient(circle at 95% 10%, transparent 0 23px, rgba(11, 12, 10, 0.035) 24px 25px), var(--paper);
}
.contact-editorial::before {
  content: "";
  position: absolute;
  right: -8vw;
  bottom: -18vw;
  z-index: -1;
  width: 52vw;
  aspect-ratio: 1;
  background: var(--orange);
  transform: rotate(14deg);
}
.contact-editorial .contact-heading {
  align-self: start;
  padding-top: 2rem;
}
.contact-editorial .contact-heading h1 em {
  display: inline-block;
  padding: 0.04em 0.17em 0.1em;
  border: 3px solid var(--ink);
  border-radius: 100px;
  background: var(--acid);
  color: var(--ink);
  box-shadow: 0.07em 0.07em 0 var(--ink);
  transform: rotate(-2deg);
}
.contact-editorial-lead {
  max-width: 32rem;
  margin: 1.5rem 0;
  font-size: 1.1rem;
}
.contact-editorial-form {
  position: relative;
  padding: clamp(1.5rem, 4vw, 3.5rem);
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  background: var(--paper-2);
  box-shadow: 0.8rem 0.8rem 0 var(--ink);
  transform: rotate(-1deg);
}

@media (max-width: 1050px) {
  .editorial-hero-split {
    grid-template-columns: 1fr 1fr;
  }
  .editorial-hero-history {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
  .editorial-hero-team {
    grid-template-columns: 1fr 0.55fr;
  }
  .team-hero-intro {
    order: 3;
    align-self: start;
    padding-bottom: 0;
  }
  .team-hero-polaroid {
    grid-row: 1 / span 2;
    grid-column: 2;
  }
  .hero-club-seal {
    bottom: 4%;
  }
  .editorial-hero-collage {
    grid-template-columns: 1fr;
  }
  .collage-hero-copy {
    max-width: 760px;
  }
  .collage-hero-cards {
    min-height: 500px;
  }
  .collage-hero-card {
    min-height: 390px;
  }
  .collage-hero-card img {
    height: 260px;
  }
}
@media (max-width: 760px) {
  .editorial-hero {
    min-height: auto;
  }
  .editorial-hero h1 {
    font-size: clamp(3.5rem, 16vw, 6rem);
  }
  .editorial-hero-split {
    grid-template-columns: 1fr;
  }
  .editorial-hero-split .editorial-hero-copy {
    padding: 8.5rem var(--pad) 4rem;
  }
  .editorial-hero-media {
    min-height: 62svh;
  }
  .hero-starburst {
    left: 1rem;
    bottom: 1.5rem;
    width: 120px;
  }
  .hero-round-stamp {
    width: 78px;
  }
  .editorial-hero-history {
    grid-template-columns: 1fr;
    padding: 8.5rem var(--pad) 5rem;
  }
  .history-hero-photo {
    margin-right: 0;
  }
  .history-hero-photo img {
    height: 330px;
  }
  .presidents-timeline-heading {
    grid-template-columns: 1fr;
  }
  .presidents-timeline-heading .eyebrow {
    grid-column: auto;
  }
  .presidents-timeline-heading > p:last-child {
    margin-top: 1rem;
  }
  .president-timeline-item::before {
    left: 0;
  }
  .presidents-timeline .timeline-progress {
    left: 0;
  }
  .president-timeline-item {
    grid-template-columns: 1fr auto;
    padding-left: 2.25rem;
  }
  .president-timeline-content {
    grid-template-columns: 86px minmax(0, 1fr);
    gap: 1.25rem;
  }
  .president-timeline-content .president-avatar {
    width: 82px;
  }
  .president-timeline-item.current::after {
    top: 2.45rem;
    right: 4rem;
  }
  .editorial-hero-team {
    grid-template-columns: 1fr;
    padding: 8.5rem var(--pad) 5rem;
  }
  .team-hero-intro {
    order: 2;
  }
  .team-hero-polaroid {
    grid-row: auto;
    grid-column: auto;
    order: 4;
    width: min(88%, 380px);
    justify-self: center;
    transform: none;
  }
  .hero-club-seal {
    position: relative;
    right: auto;
    bottom: auto;
    z-index: 5;
    order: 3;
    width: 96px;
    justify-self: end;
    margin: 0.5rem 5% -3.25rem 0;
  }
  .editorial-hero-photo {
    min-height: 820px;
    padding: 9rem var(--pad) 2rem;
  }
  .photo-hero-copy {
    align-self: start;
    padding-bottom: 0;
  }
  .photo-hero-stats {
    grid-template-columns: 1fr;
  }
  .photo-hero-stats span {
    min-height: 72px;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 1rem;
  }
  .photo-hero-stats small {
    margin-top: 0;
  }
  .editorial-hero-collage {
    padding: 8.5rem var(--pad) 4rem;
  }
  .collage-hero-cards {
    min-height: 710px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
    gap: 1rem;
    padding: 2rem 0 4rem;
  }
  .collage-hero-card {
    width: 100%;
    min-height: 320px;
  }
  .collage-hero-card:first-child,
  .collage-hero-card:nth-child(2),
  .collage-hero-card:nth-child(3) {
    transform: none;
  }
  .collage-hero-card:nth-child(3) {
    grid-column: 1 / -1;
    width: 52%;
    justify-self: center;
  }
  .collage-hero-card img {
    height: 205px;
  }
  .collage-note {
    left: 4%;
    bottom: 1.2rem;
  }
  .editorial-detail-hero {
    grid-template-columns: 1fr;
    padding: 8.5rem var(--pad) 4rem;
  }
  .detail-hero-copy h1 {
    font-size: clamp(3.2rem, 14vw, 5.6rem);
  }
  .detail-hero-image img {
    height: 440px;
  }
  .contact-editorial {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .contact-editorial::before {
    width: 90vw;
    right: -35vw;
    bottom: -20vw;
  }
  .contact-editorial-form {
    transform: none;
    box-shadow: 0.5rem 0.5rem 0 var(--ink);
  }
  .footer-word {
    width: 100%;
    font-size: clamp(3rem, 19.5vw, 7.5rem);
    letter-spacing: -0.08em;
    text-align: center;
    white-space: nowrap;
    word-break: keep-all;
    overflow-wrap: normal;
  }
}
@media (max-width: 430px) {
  .editorial-hero-media {
    min-height: 52svh;
  }
  .history-hero-photo img {
    height: 270px;
  }
  .presidents-timeline-section {
    padding-inline: calc(var(--pad) + 0.35rem);
  }
  .president-timeline-content {
    grid-template-columns: 1fr;
  }
  .president-timeline-content .president-avatar {
    width: 76px;
  }
  .president-timeline-item.current::after {
    display: none;
  }
  .team-hero-polaroid img {
    height: 270px;
  }
  .collage-hero-cards {
    min-height: 620px;
    gap: 0.65rem;
  }
  .collage-hero-card {
    min-height: 275px;
    padding: 0.45rem 0.45rem 0.8rem;
  }
  .collage-hero-card img {
    height: 170px;
  }
  .collage-hero-card strong {
    font-size: 1rem;
  }
  .detail-hero-image {
    padding: 0.65rem 0.65rem 2.9rem;
  }
  .detail-hero-image img {
    height: 340px;
  }
}
