/* ===== Two Timer – arkusz stylów ===== */
/* Paleta ze zdjęcia zespołu: jasne niebo o zachodzie, ciepłe brązy, pomarańczowy refleks światła, morska zieleń */

:root {
  --paper: #fbf7f1;     /* ciepła biel – główne tło */
  --sand: #f1e7d8;      /* jasny piasek – sekcje naprzemienne */
  --clay: #e4d4bd;      /* beż – ramki, wypełnienia */
  --umber: #4a3528;     /* brąz – tekst */
  --umber-soft: #7a6352;/* tekst drugorzędny */
  --sun: #d0702a;       /* pomarańczowy refleks – przyciski, akcenty */
  --sun-deep: #a9561c;  /* ciemniejszy pomarańcz – akcenty tekstowe */
  --sea: #5f807a;       /* morska zieleń – detale */
  --night: #3b2b21;     /* stopka */

  --display: "Big Shoulders Display", "Arial Narrow", "Helvetica Neue", sans-serif;
  --body: "Spectral", Georgia, "Times New Roman", serif;

  --wrap: 68rem;
  --bar-h: 6.75rem;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--bar-h); }

body {
  margin: 0;
  background: var(--paper);
  color: var(--umber);
  font-family: var(--body);
  font-size: 1.125rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

:focus-visible { outline: 2px solid var(--sun); outline-offset: 3px; }

/* Tekst dla wyszukiwarek i czytników ekranu, niewidoczny na stronie */
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 1.5rem; }

h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: 1.05; margin: 0; letter-spacing: .01em; }
h2 {
  font-size: clamp(2.75rem, 7vw, 4.5rem);
  margin-bottom: 2.5rem;
  padding: 0 2rem .75rem 0;
  border-bottom: 3px solid var(--sun);
  max-width: max-content;
}
h3 { font-size: 1.75rem; font-weight: 600; }

/* ===== Przyciski ===== */
.btn {
  display: inline-block;
  padding: .75rem 1.6rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: .03em;
  text-decoration: none;
  border: 2px solid var(--sun);
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn--sun { background: var(--sun); color: #fff; }
.btn--sun:hover { background: transparent; color: var(--sun-deep); }
.btn--line { color: var(--umber); border-color: var(--umber); }
.btn--line:hover { background: var(--umber); color: var(--paper); }

/* ===== Pływające menu ===== */
.topbar {
  position: fixed; inset: 0 0 auto 0; z-index: 10;
  height: var(--bar-h);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 2rem;
  background: rgba(251, 247, 241, .96);
  backdrop-filter: blur(6px);
  box-shadow: 0 2px 14px rgba(74, 53, 40, .14);
}
.topbar__nav { grid-column: 1; justify-self: end; display: flex; gap: 1.75rem; margin-right: 3rem; }
.topbar__nav a {
  font-family: var(--display); font-weight: 700; font-size: 1.3rem;
  text-decoration: none; color: var(--umber);
  padding: .25rem 0; border-bottom: 2px solid transparent;
}
.topbar__nav a:hover { border-bottom-color: var(--sun); }
.topbar__nav .topbar__shop { color: var(--sun-deep); }

.topbar__logo { grid-column: 2; display: block; }
.topbar__logo img { width: 6rem; height: auto; }

.topbar__right { grid-column: 3; justify-self: start; display: flex; align-items: center; gap: 1.75rem; margin-left: 3rem; }
.topbar__social { display: flex; gap: 1.1rem; }
.topbar__social a { color: var(--umber); display: block; padding: .2rem; transition: color .2s; }
.topbar__social a:hover { color: var(--sun); }
.topbar__social .ico { width: 1.5rem; height: 1.5rem; }

.topbar__toggle, .topbar__nav-social { display: none; }

/* Przełącznik języka */
.lang { display: flex; gap: .15rem; padding-left: 1.5rem; border-left: 1px solid var(--clay); }
.lang a {
  font-family: var(--display); font-weight: 700; font-size: 1.1rem; letter-spacing: .04em;
  text-decoration: none; color: var(--umber-soft);
  padding: .2rem .4rem; border-bottom: 2px solid transparent;
}
.lang a:hover { color: var(--umber); }
.lang a[aria-current="page"] { color: var(--umber); border-bottom-color: var(--sun); }

.ico { width: 1.35rem; height: 1.35rem; fill: currentColor; flex: none; display: block; }

/* ===== Strona główna: banner ===== */
.hero { padding-top: var(--bar-h); }
.hero__banner {
  position: relative;
  height: clamp(24rem, calc(100vh - var(--bar-h) - 9rem), 50rem);
  overflow: hidden;
  background: #c9ad8c;
}
.hero__banner img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 82%;
  animation: develop 2.2s ease-out both;
}
/* delikatne przejście dołu zdjęcia w tło strony */
.hero__banner::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 18%;
  background: linear-gradient(to bottom, transparent, rgba(251, 247, 241, .55));
  pointer-events: none;
}
.hero__intro { text-align: center; padding: 2.5rem 1.5rem 4.5rem; }
.hero__claim {
  font-family: var(--body); font-weight: 400; line-height: 1.7; letter-spacing: 0;
  font-size: clamp(1.25rem, 2.6vw, 1.6rem);
  font-style: italic;
  max-width: 54ch;
  margin: 0 auto 1.75rem;
  color: var(--umber);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

/* Zdjęcie „wywołuje się” jak odbitka – jedyna animacja na stronie */
@keyframes develop {
  from { opacity: 0; filter: sepia(1) brightness(1.5) contrast(.6); }
  to   { opacity: 1; filter: none; }
}

/* ===== Sekcje ===== */
.section { padding: 6rem 0; }

/* Muzyka */
.music { background: var(--sand); }
.music__feature { display: grid; grid-template-columns: 1fr 1.3fr; gap: 3rem; align-items: center; margin-bottom: 5rem; }
.music__intro h3 { font-size: clamp(2.25rem, 4.5vw, 3.25rem); font-weight: 800; margin-bottom: 1rem; color: var(--sun-deep); }
.music__intro p { color: var(--umber-soft); max-width: 42ch; margin: 0 0 2rem; }
.music__player iframe { display: block; border-radius: 12px; box-shadow: 0 14px 30px -12px rgba(74, 53, 40, .35); }
.music__subhead { margin-bottom: 1.75rem; }

.discs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.5rem; }
.disc__cover {
  aspect-ratio: 1; display: grid; place-items: center; overflow: hidden;
  padding: 1rem; text-align: center; color: #fff;
  font-family: var(--display); font-weight: 800; font-size: 1.35rem; line-height: 1.1;
  box-shadow: 0 12px 24px -10px rgba(74, 53, 40, .45);
}
.disc__cover img { width: 100%; height: 100%; object-fit: cover; }
.disc__cover:has(img) { padding: 0; }
.disc__title { margin: .9rem 0 0; font-family: var(--display); font-weight: 700; font-size: 1.3rem; line-height: 1.2; letter-spacing: .01em; }
.disc__year { margin: 0; color: var(--umber-soft); font-size: 1rem; }

/* Skład */
.crew__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.crew__photo {
  aspect-ratio: 4 / 5; display: grid; place-items: center; overflow: hidden;
  background: var(--clay);
  font-family: var(--display); font-weight: 800; font-size: 3rem; color: rgba(74, 53, 40, .25);
}
.crew__photo img { width: 100%; height: 100%; object-fit: cover; }
.member h3 { font-family: var(--body); font-weight: 600; font-size: 1.1rem; margin-top: 1rem; line-height: 1.3; letter-spacing: 0; }
.member p { margin: .2rem 0 0; color: var(--sun-deep); font-style: italic; }
.crew__credit { margin: 2rem 0 0; font-size: .9rem; font-style: italic; color: var(--umber-soft); }

/* Bio */
.bio { background: var(--sand); }
.bio__grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 4rem; align-items: start; }
.bio__text p { max-width: 62ch; margin: 0 0 1.2rem; }
.lead { font-size: 1.35rem; line-height: 1.55; }
.bio__text p:not(.lead):not(.bio__punch) { color: var(--umber-soft); }
.bio__text .bio__punch {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(1.6rem, 3vw, 2.1rem); line-height: 1.15;
  color: var(--sun-deep);
  margin: 2rem 0; padding-left: 1.25rem;
  border-left: 4px solid var(--sun);
  max-width: 28ch;
}

.timeline { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--sea); }
.timeline li { position: relative; padding: 0 0 1.6rem 1.5rem; color: var(--umber-soft); line-height: 1.5; }
.timeline li::before {
  content: ""; position: absolute; left: -7px; top: .5rem;
  width: 12px; height: 12px; border-radius: 50%; background: var(--sea);
}
.timeline__year { display: block; font-family: var(--display); font-weight: 800; font-size: 1.5rem; color: var(--sun-deep); }

.presskit { margin-top: 3.5rem; padding-top: 2.5rem; border-top: 1px solid var(--clay); display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; }
.presskit__btn { font-size: 1.35rem; padding: .9rem 2.2rem; }
.presskit__note { margin: 0; color: var(--umber-soft); font-size: 1rem; max-width: 46ch; }

/* ===== Stopka ===== */
.footer { background: var(--night); color: #f1e7d8; padding: 4.5rem 1.5rem 2.5rem; }
.footer__inner {
  max-width: 76rem; margin: 0 auto;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 2.5rem;
}
.footer__logo { width: 120px; height: auto; justify-self: start; }
.footer__main { text-align: center; }
.footer__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem 1.6rem; margin: 0 auto 2.25rem; }
.footer__links a, .footer__contact a {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--display); font-weight: 600; font-size: 1.2rem;
  text-decoration: none; color: #d9c8b0;
  transition: color .2s;
}
.footer__links a:hover, .footer__contact a:hover { color: var(--sun); }
.footer__rider { font-size: 1.35rem; padding: .9rem 2.2rem; }
.footer__rider:hover { color: var(--sun); }

.footer__contact { justify-self: end; font-style: normal; display: flex; flex-direction: column; align-items: flex-start; gap: 1.1rem; }
.footer__contact a { font-size: 1.3rem; gap: .75rem; }
.footer__contact .ico { width: 1.6rem; height: 1.6rem; color: var(--sun); }
.footer__contact small { display: block; font-size: .95rem; line-height: 1; color: #b9a58c; letter-spacing: .04em; }
.ico--line { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.footer__note { margin: 3.5rem 0 0; text-align: center; color: #b9a58c; font-size: .95rem; font-style: italic; }

/* ===== Responsywność ===== */
@media (max-width: 1100px) {
  .topbar__nav { gap: 1.25rem; margin-right: 2rem; }
  .topbar__right { gap: 1.1rem; margin-left: 2rem; }
  .topbar__social { gap: .8rem; }
  .lang { padding-left: 1rem; }
}

@media (max-width: 960px) {
  .footer__inner { grid-template-columns: 1fr; justify-items: center; gap: 2.5rem; }
  .footer__logo, .footer__contact { justify-self: center; }
  .bio__grid, .music__feature { grid-template-columns: 1fr; gap: 3rem; }
  .discs { grid-template-columns: repeat(3, 1fr); }
  .crew__list { grid-template-columns: repeat(2, 1fr); }

  /* menu mobilne: przycisk po lewej, logo na środku, reszta w rozwijanym panelu */
  :root { --bar-h: 5rem; }
  .topbar { padding: 0 1rem; }
  .topbar__toggle {
    grid-column: 1; justify-self: start; display: block;
    background: none; border: 2px solid var(--umber); color: var(--umber);
    font-family: var(--display); font-weight: 700; font-size: 1.1rem; padding: .25rem .9rem; cursor: pointer;
  }
  .topbar__logo img { width: 4.25rem; }
  .topbar__social { display: none; }
  .topbar__right { justify-self: end; margin: 0; }
  .lang { border-left: 0; padding-left: 0; }
  .topbar__nav {
    display: none; grid-column: 1 / -1; justify-self: stretch;
    position: absolute; top: var(--bar-h); left: -1rem; right: -1rem; margin: 0;
    flex-direction: column; gap: 0; background: var(--paper);
    box-shadow: 0 10px 14px rgba(74, 53, 40, .12);
  }
  .topbar__nav > a { padding: 1rem 1.5rem; border-top: 1px solid var(--clay); border-bottom: 0; }
  .topbar__nav-social { display: flex; gap: 1.5rem; padding: 1.1rem 1.5rem 1.4rem; border-top: 1px solid var(--clay); }
  .topbar__nav-social a { color: var(--umber); }
  .topbar__nav-social .ico { width: 1.6rem; height: 1.6rem; }
  .topbar.is-open .topbar__nav { display: flex; }
}

@media (max-width: 720px) {
  .hero__banner { height: auto; aspect-ratio: 4 / 3; }
  .section { padding: 4.5rem 0; }
  .discs, .crew__list { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
  .footer__links { gap: 1rem 1.5rem; }
  .disc__title { font-size: 1.15rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
