﻿:root {
      --ink: #102f46;
      --ink-2: #174862;
      --gold: #d6ad25;
      --red: #9b0018;
      --paper: #f1eadc;
      --mist: #dce8e5;
      --white: #fff8eb;
      --shadow: 0 20px 60px rgba(12, 37, 52, .16);
      --radius: 8px;
      --max: 1180px;
    }

    * {
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      margin: 0;
      color: #14212b;
      background:
        linear-gradient(rgba(241, 234, 220, .92), rgba(241, 234, 220, .92)),
        url("fotob-8293-1205807288.jpg") center top / cover fixed;
      font-family: Montserrat, Arial, Helvetica, sans-serif;
      line-height: 1.6;
    }

    img {
      display: block;
      max-width: 100%;
    }

    a {
      color: inherit;
      text-decoration: none;
    }

    button,
    input,
    textarea {
      font: inherit;
    }

    .skip-link {
      position: fixed;
      left: 16px;
      top: 12px;
      z-index: 1000;
      transform: translateY(-140%);
      border-radius: 999px;
      background: var(--white);
      color: var(--ink);
      padding: 10px 16px;
      box-shadow: var(--shadow);
      transition: transform .2s ease;
    }

    .skip-link:focus {
      transform: translateY(0);
    }

    .site-header {
      position: fixed;
      inset: 0 0 auto;
      z-index: 20;
      border-bottom: 1px solid rgba(255, 255, 255, .18);
      background: rgba(12, 37, 52, .68);
      backdrop-filter: blur(16px);
      color: var(--white);
      transition: background .25s ease, box-shadow .25s ease;
    }

    .site-header.is-scrolled {
      background: rgba(16, 47, 70, .96);
      box-shadow: 0 10px 36px rgba(0, 0, 0, .18);
    }

    .nav {
      width: min(var(--max), calc(100% - 36px));
      min-height: 98px;
      margin: 0 auto;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 24px;
    }

    .brand {
      display: flex;
      align-items: center;
      gap: 16px;
      min-width: 0;
    }

    .brand-mark {
      width: 68px;
      height: 68px;
      border-radius: 50%;
      background: var(--white);
      background-image: url("356202195_102561632892764_5783874102996464846_n.jpg");
      background-position: 48% 50%;
      background-repeat: no-repeat;
      background-size: 178%;
      box-shadow: inset 0 0 0 1px rgba(16, 47, 70, .08);
      flex: 0 0 auto;
    }

    .brand-text {
      display: grid;
      line-height: 1.1;
      text-transform: uppercase;
      font-size: 16px;
      font-weight: 800;
      letter-spacing: 0;
    }

    .brand-text span:last-child {
      color: #f2cd4d;
    }

    .nav-toggle {
      display: none;
      width: 44px;
      height: 44px;
      border: 1px solid rgba(255, 255, 255, .35);
      border-radius: 999px;
      background: rgba(255, 255, 255, .12);
      color: var(--white);
      cursor: pointer;
    }

    .nav-toggle span {
      display: block;
      width: 18px;
      height: 2px;
      margin: 5px auto;
      background: currentColor;
      transition: transform .2s ease, opacity .2s ease;
    }

    .nav-toggle[aria-expanded="true"] span:nth-child(1) {
      transform: translateY(7px) rotate(45deg);
    }

    .nav-toggle[aria-expanded="true"] span:nth-child(2) {
      opacity: 0;
    }

    .nav-toggle[aria-expanded="true"] span:nth-child(3) {
      transform: translateY(-7px) rotate(-45deg);
    }

    .nav-links {
      display: flex;
      align-items: center;
      gap: 8px;
      margin: 0;
      padding: 0;
      list-style: none;
    }

    .nav-links a {
      display: inline-flex;
      align-items: center;
      min-height: 48px;
      border-radius: 999px;
      padding: 10px 16px;
      font-size: 15px;
      font-weight: 700;
      color: rgba(255, 255, 255, .9);
      transition: background .2s ease, color .2s ease;
    }

    .nav-links a:hover,
    .nav-links a:focus-visible,
    .nav-links a.is-active {
      background: rgba(255, 255, 255, .14);
      color: var(--white);
      outline: none;
    }

    .hero {
      min-height: 92vh;
      padding: 144px 0 58px;
      display: grid;
      align-items: end;
      position: relative;
      overflow: hidden;
      color: var(--white);
      background: #102f46;
    }

    .hero::before {
      content: "";
      position: absolute;
      inset: 0;
      background:
        linear-gradient(90deg, rgba(7, 25, 40, .88) 0%, rgba(7, 25, 40, .58) 44%, rgba(7, 25, 40, .2) 100%),
        linear-gradient(0deg, rgba(7, 25, 40, .66) 0%, rgba(7, 25, 40, 0) 48%),
        url("523913216_617750591373863_5942016227951899481_n.jpg") center / cover no-repeat;
      background-attachment: fixed;
      transform: scale(1.02);
    }

    .hero-inner {
      position: relative;
      width: min(var(--max), calc(100% - 36px));
      margin: 0 auto;
      display: grid;
      grid-template-columns: minmax(0, 740px) minmax(220px, 330px);
      gap: 48px;
      align-items: end;
    }

    .eyebrow {
      display: inline-flex;
      width: fit-content;
      align-items: center;
      gap: 10px;
      margin: 0 0 18px;
      color: #f7d760;
      text-transform: uppercase;
      font-size: 13px;
      font-weight: 800;
    }

    .eyebrow::before {
      content: "";
      width: 34px;
      height: 3px;
      border-radius: 999px;
      background: currentColor;
    }

    h1,
    h2,
    h3 {
      margin: 0;
      font-family: Georgia, "Times New Roman", serif;
      line-height: 1.04;
      color: var(--ink);
      letter-spacing: 0;
    }

    h1 {
      max-width: 850px;
      color: var(--white);
      font-size: clamp(3.15rem, 8vw, 7rem);
      font-weight: 800;
      text-wrap: balance;
    }

    .hero-copy {
      max-width: 620px;
      margin: 24px 0 0;
      color: rgba(255, 255, 255, .88);
      font-size: clamp(1.06rem, 2vw, 1.28rem);
    }

    .actions {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      margin-top: 32px;
    }

    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 48px;
      border: 0;
      border-radius: 999px;
      padding: 12px 20px;
      cursor: pointer;
      font-family: Georgia, "Times New Roman", serif;
      font-size: 1.04rem;
      font-weight: 700;
      font-style: italic;
      transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
    }

    .btn:hover,
    .btn:focus-visible {
      transform: translateY(-2px);
      outline: none;
    }

    .btn-primary {
      background: var(--gold);
      color: #1b1607;
      box-shadow: 0 16px 34px rgba(214, 173, 37, .28);
    }

    .btn-secondary {
      border: 1px solid rgba(255, 255, 255, .42);
      background: rgba(255, 255, 255, .12);
      color: var(--white);
    }

    .hero-note {
      border-left: 4px solid var(--gold);
      background: rgba(255, 255, 255, .13);
      backdrop-filter: blur(10px);
      padding: 22px;
      color: rgba(255, 255, 255, .9);
    }

    .hero-note strong {
      display: block;
      margin-bottom: 6px;
      color: var(--white);
      font-size: 1.35rem;
      line-height: 1.2;
    }

    main {
      overflow: hidden;
    }

    section {
      scroll-margin-top: 96px;
    }

    .section {
      padding: 92px 0;
      position: relative;
      isolation: isolate;
    }

    .section-muted {
      background:
        linear-gradient(rgba(220, 232, 229, .9), rgba(220, 232, 229, .9)),
        url("524508310_617751054707150_9115435410755846609_n.jpg") center / cover no-repeat;
      background-attachment: fixed;
    }

    .section-dark {
      background: var(--ink);
      color: var(--white);
    }

    #orkiestra {
      background:
        linear-gradient(90deg, rgba(241, 234, 220, .95) 0%, rgba(241, 234, 220, .88) 54%, rgba(241, 234, 220, .72) 100%),
        url("fotob-8293-1205807288.jpg") center / cover no-repeat;
      background-attachment: fixed;
    }

    #koncerty {
      background:
        linear-gradient(rgba(241, 234, 220, .91), rgba(241, 234, 220, .91)),
        url("523913216_617750591373863_5942016227951899481_n.jpg") center / cover no-repeat;
      background-attachment: fixed;
    }

    #kontakt {
      background:
        linear-gradient(90deg, rgba(241, 234, 220, .92), rgba(241, 234, 220, .74)),
        url("fotob-8293-1205807288.jpg") center / cover no-repeat;
      background-attachment: fixed;
    }

    .section-dark h2,
    .section-dark h3 {
      color: var(--white);
    }

    .container {
      width: min(var(--max), calc(100% - 36px));
      margin: 0 auto;
    }

    .section-head {
      display: grid;
      grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
      gap: 36px;
      align-items: end;
      margin-bottom: 42px;
    }

    .section-kicker {
      margin: 0 0 10px;
      color: var(--red);
      font-size: 13px;
      font-weight: 900;
      text-transform: uppercase;
    }

    .section-dark .section-kicker {
      color: #f1cc50;
    }

    .section-head h2 {
      font-size: clamp(2.35rem, 4.8vw, 4.8rem);
      text-wrap: balance;
    }

    .lead {
      margin: 0;
      color: #4b5d66;
      font-size: 1.08rem;
    }

    .section-dark .lead {
      color: rgba(255, 255, 255, .74);
    }

    .about-grid {
      display: grid;
      grid-template-columns: minmax(0, 1fr) minmax(300px, 470px);
      gap: 42px;
      align-items: stretch;
    }

    .about-text {
      display: grid;
      gap: 22px;
      align-content: center;
    }

    .about-text p {
      margin: 0;
      font-size: 1.05rem;
      color: #344751;
    }

    .fact-list {
      display: grid;
      gap: 14px;
      margin-top: 8px;
    }

    .fact {
      display: grid;
      grid-template-columns: 70px 1fr;
      gap: 18px;
      align-items: start;
      border-top: 1px solid rgba(16, 47, 70, .13);
      padding-top: 16px;
    }

    .fact strong {
      color: var(--red);
      font-size: 1.45rem;
      line-height: 1;
      font-family: Georgia, "Times New Roman", serif;
    }

    .photo-stack {
      position: relative;
      min-height: 520px;
    }

    .photo-stack img {
      position: absolute;
      width: 78%;
      height: 66%;
      object-fit: cover;
      box-shadow: var(--shadow);
    }

    .photo-stack img:first-child {
      top: 0;
      right: 0;
    }

    .photo-stack img:last-child {
      left: 0;
      bottom: 0;
      border: 10px solid var(--paper);
    }

    .stats {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 1px;
      background: rgba(16, 47, 70, .14);
      border: 1px solid rgba(16, 47, 70, .14);
    }

    .stat {
      min-height: 180px;
      padding: 24px;
      background: rgba(255, 248, 235, .78);
      backdrop-filter: blur(14px);
      display: grid;
      align-content: space-between;
      gap: 22px;
    }

    .stat strong {
      color: var(--ink);
      font-family: Georgia, "Times New Roman", serif;
      font-size: clamp(2.2rem, 5vw, 4.4rem);
      line-height: .95;
    }

    .stat span {
      color: #50616a;
      font-weight: 750;
    }

    .events-layout {
      display: grid;
      grid-template-columns: minmax(280px, 430px) minmax(0, 1fr);
      gap: 36px;
      align-items: stretch;
    }

    .events-image {
      min-height: 520px;
      background: url("Rewia-Orkiestr-Detych-w-Pucku-2024-30-3256580499.jpg") center / cover no-repeat;
      box-shadow: var(--shadow);
    }

    .event-list {
      display: grid;
      gap: 14px;
    }

    .event {
      display: grid;
      grid-template-columns: 96px 1fr;
      gap: 18px;
      align-items: center;
      border: 1px solid rgba(16, 47, 70, .12);
      border-left: 5px solid var(--gold);
      background: rgba(255, 248, 235, .86);
      backdrop-filter: blur(12px);
      padding: 18px;
    }

    .event time {
      display: grid;
      place-items: center;
      aspect-ratio: 1;
      background: var(--ink);
      color: var(--white);
      text-align: center;
      font-weight: 900;
      line-height: 1.1;
    }

    .event time span {
      display: block;
      font-size: .8rem;
      color: #f6d65f;
      text-transform: uppercase;
    }

    .event h3 {
      margin-bottom: 6px;
      font-family: Montserrat, Arial, Helvetica, sans-serif;
      font-size: 1.1rem;
      line-height: 1.3;
      color: var(--ink);
    }

    .event p {
      margin: 0;
      color: #556871;
    }

    .gallery-grid {
      display: grid;
      grid-template-columns: 1.25fr .8fr .8fr;
      grid-auto-rows: 250px;
      gap: 14px;
    }

    .gallery-grid figure {
      position: relative;
      margin: 0;
      overflow: hidden;
      background: #dce7e9;
      cursor: zoom-in;
    }

    .gallery-grid figure:first-child {
      grid-row: span 2;
    }

    .gallery-grid img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform .5s ease;
    }

    .gallery-grid figure:hover img {
      transform: scale(1.04);
    }

    .gallery-grid figcaption {
      position: absolute;
      inset: auto 12px 12px;
      max-width: calc(100% - 24px);
      background: rgba(16, 47, 70, .88);
      color: var(--white);
      padding: 8px 10px;
      font-size: 13px;
      font-weight: 800;
    }

    .join {
      position: relative;
      background:
        linear-gradient(90deg, rgba(16, 47, 70, .94), rgba(16, 47, 70, .76)),
        url("480439348_496530300162560_8527381727307413097_n.jpg") center / cover no-repeat;
      background-attachment: fixed;
    }

    .join-grid {
      display: grid;
      grid-template-columns: minmax(0, 680px) minmax(260px, 1fr);
      gap: 42px;
      align-items: center;
    }

    .join h2 {
      font-size: clamp(2.4rem, 5vw, 5.2rem);
    }

    .join p {
      max-width: 660px;
      color: rgba(255, 255, 255, .77);
      font-size: 1.12rem;
    }

    .join-points {
      display: grid;
      gap: 12px;
    }

    .join-points span {
      display: flex;
      align-items: center;
      min-height: 48px;
      border: 1px solid rgba(255, 255, 255, .18);
      background: rgba(255, 255, 255, .1);
      padding: 12px 14px;
      font-weight: 800;
    }

    .contact-grid {
      display: grid;
      grid-template-columns: minmax(0, 1fr) minmax(300px, 440px);
      gap: 42px;
      align-items: stretch;
    }

    .contact-panel {
      border-top: 6px solid var(--red);
      background: rgba(255, 248, 235, .88);
      backdrop-filter: blur(16px);
      padding: 30px;
      box-shadow: var(--shadow);
    }

    .contact-panel h3 {
      margin-bottom: 20px;
      font-family: Montserrat, Arial, Helvetica, sans-serif;
      font-size: 1.15rem;
    }

    .contact-row {
      display: grid;
      gap: 4px;
      border-top: 1px solid rgba(16, 47, 70, .12);
      padding: 16px 0;
    }

    .contact-row:first-of-type {
      border-top: 0;
      padding-top: 0;
    }

    .contact-row span {
      color: #62747c;
      font-size: .88rem;
      font-weight: 800;
      text-transform: uppercase;
    }

    .contact-row strong,
    .contact-row a {
      color: var(--ink);
      font-size: 1.05rem;
      font-weight: 850;
    }

    .map-photo {
      min-height: 420px;
      background: url("fotob-8293-1205807288.jpg") center / cover no-repeat;
      box-shadow: var(--shadow);
    }

    .site-footer {
      background: #071927;
      color: rgba(255, 255, 255, .76);
      padding: 28px 0;
    }

    .footer-inner {
      width: min(var(--max), calc(100% - 36px));
      margin: 0 auto;
      display: flex;
      justify-content: space-between;
      gap: 18px;
      flex-wrap: wrap;
      font-size: 14px;
      font-weight: 700;
    }

    .reveal {
      opacity: 0;
      transform: translateY(22px);
      transition: opacity .55s ease, transform .55s ease;
    }

    .reveal.is-visible {
      opacity: 1;
      transform: translateY(0);
    }

    .lightbox {
      position: fixed;
      inset: 0;
      z-index: 50;
      display: none;
      place-items: center;
      padding: 24px;
      background: rgba(7, 25, 39, .86);
      backdrop-filter: blur(8px);
    }

    .lightbox.is-open {
      display: grid;
    }

    .lightbox__image {
      max-width: min(1080px, 100%);
      max-height: 82vh;
      object-fit: contain;
      box-shadow: 0 26px 80px rgba(0, 0, 0, .42);
    }

    .lightbox__caption {
      margin-top: 14px;
      color: var(--white);
      text-align: center;
      font-weight: 800;
    }

    .lightbox__close {
      position: absolute;
      top: 18px;
      right: 18px;
      width: 46px;
      height: 46px;
      border: 1px solid rgba(255, 255, 255, .38);
      border-radius: 50%;
      background: rgba(255, 255, 255, .12);
      color: var(--white);
      cursor: pointer;
      font-size: 28px;
      line-height: 1;
    }

    @media (prefers-reduced-motion: reduce) {
      *,
      *::before,
      *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
      }

      .reveal {
        opacity: 1;
        transform: none;
      }
    }

    @media (max-width: 980px) {
      .hero-inner,
      .section-head,
      .about-grid,
      .events-layout,
      .join-grid,
      .contact-grid {
        grid-template-columns: 1fr;
      }

      .hero {
        min-height: 88vh;
      }

      .hero-note {
        max-width: 520px;
      }

      .stats {
        grid-template-columns: repeat(2, 1fr);
      }

      .gallery-grid {
        grid-template-columns: 1fr 1fr;
      }
    }

    @media (max-width: 760px) {
      .nav {
        min-height: 80px;
      }

      .brand-mark {
        width: 56px;
        height: 56px;
      }

      .brand-text {
        font-size: 13px;
      }

      .nav-toggle {
        display: block;
      }

      .nav-links {
        position: fixed;
        left: 18px;
        right: 18px;
        top: 88px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        border: 1px solid rgba(255, 255, 255, .16);
        background: rgba(16, 47, 70, .98);
        padding: 10px;
        box-shadow: var(--shadow);
      }

      .nav-links.is-open {
        display: flex;
      }

      .nav-links a {
        justify-content: center;
      }

      .hero {
        min-height: 90vh;
        padding-top: 132px;
      }

      .hero::before {
        background:
          linear-gradient(0deg, rgba(7, 25, 40, .9) 0%, rgba(7, 25, 40, .58) 78%, rgba(7, 25, 40, .46) 100%),
          url("523913216_617750591373863_5942016227951899481_n.jpg") 57% center / cover no-repeat;
      }

      .section {
        padding: 66px 0;
      }

      .section-head {
        margin-bottom: 30px;
      }

      .photo-stack {
        min-height: auto;
        display: grid;
        gap: 14px;
      }

      .photo-stack img {
        position: static;
        width: 100%;
        height: auto;
        aspect-ratio: 4 / 3;
      }

      .photo-stack img:last-child {
        border: 0;
      }

      .event {
        grid-template-columns: 74px 1fr;
        padding: 14px;
      }

      .events-image,
      .map-photo {
        min-height: 320px;
      }

      .gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 250px;
      }

      .gallery-grid figure:first-child {
        grid-row: span 1;
      }
    }

    @media (max-width: 520px) {
      .nav,
      .container,
      .hero-inner,
      .footer-inner {
        width: min(100% - 28px, var(--max));
      }

      h1 {
        font-size: clamp(2.62rem, 18vw, 4.1rem);
      }

      .hero-copy,
      .join p {
        font-size: 1rem;
      }

      .actions {
        display: grid;
      }

      .btn {
        width: 100%;
      }

      .stats {
        grid-template-columns: 1fr;
      }

      .stat {
        min-height: 138px;
      }

      .fact {
        grid-template-columns: 1fr;
        gap: 8px;
      }

      .contact-panel {
        padding: 24px 20px;
      }
    }

