/* HERO only — Figma: R5 - Final → 4A → HERO (28:7498) */
:root {
  --c-mint: #c8eecb;
  --c-cta: #eafa56;
  --c-ticket: #b4b2a9;
  --c-meta: #766f50;
  --c-ink: #000;
  /* Figma 4A MCP: nagłówki = Times:Regular (H2 + hero), nie Instrument Serif */
  --f-figma-serif: "Times New Roman", Times, "Liberation Serif", ui-serif, Georgia, serif;
  --f-sans: "Instrument Sans", system-ui, sans-serif;
  --f-serif: var(--f-figma-serif);
  --f-display: "Cal Sans", "Outfit", "Instrument Sans", system-ui, sans-serif;
  --r5-w: 1440px;
  --r5-bar-h: 97px;
}

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

body {
  margin: 0;
  min-height: 100%;
  -webkit-font-smoothing: antialiased;
}

.r5-hero-only {
  position: relative;
  margin: 0 auto;
  width: 100%; /* full-bleed: hero bg extends edge to edge */
  /* Hero fills the full viewport — the fixed nav (81px) overlays the top
     so the gradient + noise show through behind it. */
  min-height: 100vh;
  max-height: 100vh;
  background: #121719; /* Dark 1 — slight blue undertone vs pure black */
  isolation: isolate;
  color: #fff;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Subtle radial vignette: center slightly lifted, corners pulled down. */
.r5-hero-only__grad {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: var(--r5-bar-h);
  z-index: 0;
  background:
    radial-gradient(
      ellipse 90% 80% at 50% 45%,
      rgba(255, 255, 255, 0.06) 0%,
      rgba(255, 255, 255, 0) 60%
    ),
    radial-gradient(
      ellipse 120% 100% at 50% 50%,
      transparent 50%,
      rgba(0, 0, 0, 0.45) 100%
    ),
    #121719;
}

/* Noise: Effect NOISE w pliku (radius 4) */
.r5-hero-only__noise {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: var(--r5-bar-h);
  z-index: 1;
  pointer-events: none;
  opacity: 0.18;
  mix-blend-mode: overlay;
  background-image: url("/assets/figma/noise.png");
  background-repeat: repeat;
}

/* Frame 17: top 24, width 1392, gap 24 do linii */
.r5-hero-only__top {
  position: relative;
  z-index: 3;
}

/* Sticky variant — applied when nav is hoisted out of the hero so it stays
   pinned to the viewport top across the entire page scroll. */
.r5-stickynav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent; /* show hero gradient + noise through nav at top */
  transition: background-color 200ms ease;
}

/* Once user starts scrolling, fill the nav so content doesn't bleed through. */
.r5-stickynav.is-scrolled {
  background: #121719;
}

.r5-stickynav.r5-hero-only__top {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  max-width: none; /* full screen width — bg spans edge to edge */
  margin: 0 auto;
  padding: 24px 0 0;
}

/* Keep inner content constrained and centered while the bar spans full width. */
.r5-stickynav .r5-hero-only__row {
  max-width: 1440px;
  margin: 0 auto;
}

.r5-stickynav .r5-hero-only__rule--img {
  display: block;
  max-width: 1392px;
  width: calc(100% - 48px);
  margin: 0 auto;
  transition: opacity 200ms ease;
}

/* Hide the underline rule once the user has scrolled. */
.r5-stickynav.is-scrolled .r5-hero-only__rule--img {
  opacity: 0;
  pointer-events: none;
}

.r5-hero-only__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  width: 100%;
  padding: 0 24px;
}

.r5-hero-only__logo img {
  display: block;
  height: 32px;
  width: 196.923px;
  max-width: 100%;
  object-fit: contain;
}

.r5-hero-only__nav {
  display: flex;
  margin: 0 0 0 auto;
  max-width: 100%;
  font-family: var(--f-sans);
  font-size: 16px;
  line-height: 1.5;
  font-weight: 400;
}

.r5-hero-only__nav ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 40px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.r5-hero-only__nav a {
  color: #fff;
  text-decoration: none;
  transition: color 150ms ease;
}

.r5-hero-only__nav a:hover,
.r5-hero-only__nav a:focus-visible {
  color: #c8eecb; /* mint accent */
}

/* "Get tickets" — styled as a button instead of an underlined link. */
.r5-hero-only__nav a.is-subtle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #eafa56;
  color: #121719;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 4px;
  font-weight: 600;
  letter-spacing: 0.9px;
  text-transform: uppercase;
  transition: background-color 150ms ease, color 150ms ease;
}

.r5-hero-only__nav a.is-subtle:hover,
.r5-hero-only__nav a.is-subtle:focus-visible {
  background: #121719;
  color: #eafa56;
}

.r5-hero-only__nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 2.5rem;
  height: 2.5rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  cursor: pointer;
  padding: 0;
}

.r5-hero-only__nav-toggle span {
  display: block;
  height: 2px;
  width: 1.1rem;
  margin: 0 auto;
  background: #fff;
}

/* Line 19 (MCP) — 1392w pod Frame 7 */
.r5-hero-only__rule--img {
  display: block;
  width: 100%;
  max-width: min(1392px, calc(100% - 48px));
  height: 1px;
  min-height: 1px;
  margin: 0 24px;
  align-self: center;
  object-fit: fill;
  flex-shrink: 0;
}

/* Frame 1: top 207, gap 45, w 1204, centered */
.r5-hero-only__body {
  position: relative;
  z-index: 2;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 0;
  /* Top padding accounts for the fixed nav (~81px) so content centers
     between the nav-bottom line and the CTA bar instead of in the
     full hero box. */
  padding: 81px 24px 0;
}

.r5-hero-only__content {
  width: 100%;
  max-width: 1204px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 45px;
}

.r5-hero-only__lockup {
  display: flex;
  flex-direction: column;
  width: 100%;
  align-items: center;
  gap: 29px;
}

.r5-hero-only__tag {
  width: 100%;
  font-family: var(--f-sans);
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-mint);
  margin: 0;
}

/* Figma 28:7503: Times:Regular 120/0.8, tracking -3.6px ≈ -0.03em @ 120px */
.r5-hero-only__h1 {
  width: 100%;
  margin: 0;
  line-height: 0;
  letter-spacing: -0.03em;
}

.r5-hero-only__h1 .line1 {
  display: block;
  font-family: var(--f-serif);
  font-size: clamp(2.4rem, 8.5vw, 120px);
  font-weight: 400;
  line-height: 0.8;
  color: #fff;
  margin: 0;
}

.r5-hero-only__h1 .line2 {
  display: block;
  margin: 0;
  padding-top: 0.02em;
  text-align: center;
  font-size: clamp(2.4rem, 8.5vw, 120px);
  line-height: 0.8;
  letter-spacing: -0.03em;
}

.r5-hero-only__h1 .line2 .serif,
.r5-hero-only__h1 .line2 .r5-dot {
  font-family: var(--f-serif);
  font-size: 1em;
  font-weight: 400;
  line-height: inherit;
  color: #fff;
}

/* Odstęp „a [ ] business” — MCP: #EAFA56 */
.r5-hero-only__h1 .line2 .r5-hero-ws {
  color: #eafa56;
  user-select: none;
}

/* Cal Sans + #C8EECB (MCP get_design_context 28:7498) */
.r5-hero-only__h1 .line2 .biz {
  font-family: var(--f-display);
  font-size: 1em;
  font-weight: 400;
  line-height: inherit;
  color: var(--c-mint);
  font-synthesis: none;
}

.r5-hero-only__lead {
  width: 100%;
  max-width: 480px;
  margin: 0;
  font-family: var(--f-sans);
  font-size: 20px;
  line-height: 1.5;
  font-weight: 400;
  color: #fff;
  text-align: center;
}
.r5-hero-only__lead .r5-hi {
  background-color: #c8eecb;
  color: #121719;
  padding: 0.05em 0.3em;
  border-radius: 0.15em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

/* Group 2 / Frame 8 — pasek dolny */
.r5-hero-only__bar {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  width: 100%;
  min-height: var(--r5-bar-h);
  background: #fff;
  color: #000;
  padding: 0 0 0 40px;
  gap: 24px;
}

.r5-hero-only__col {
  flex: 1 1 0;
  min-width: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 16px;
  padding: 0.5rem 0;
}

.r5-hero-only__k {
  font-family: var(--f-sans);
  font-size: 12px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--c-meta);
  text-transform: uppercase;
  margin: 0;
}

.r5-hero-only__v {
  font-family: var(--f-sans);
  font-size: 20px;
  line-height: 1.5;
  font-weight: 400;
  color: var(--c-ink);
  margin: 0;
}

.r5-hero-only__vsep {
  flex: 0 0 auto;
  align-self: stretch;
  width: 1px;
  min-height: 97px;
  background: #a6a6a6;
  display: none;
}

.r5-hero-only__cta {
  flex: 1 1 100%;
  min-height: var(--r5-bar-h);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--c-cta);
  padding: 40px;
  text-align: center;
  text-decoration: none;
  color: #000;
  font-family: var(--f-sans);
  font-size: 17px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background-color 150ms ease, color 150ms ease;
}

.r5-hero-only__cta:hover,
.r5-hero-only__cta:focus-visible {
  background: #121719;
  color: var(--c-cta);
}

@media (min-width: 768px) {
  .r5-hero-only__nav-toggle {
    display: none;
  }

  .r5-hero-only__vsep {
    display: block;
  }

  .r5-hero-only__cta {
    flex: 1 1 0;
    min-width: 0;
    max-width: 320px;
  }
}

@media (max-width: 767px) {
  .r5-hero-only__nav {
    display: none;
    width: 100%;
    margin: 0.5rem 0 0;
    order: 3;
    flex-basis: 100%;
  }

  .r5-hero-only--nav-on .r5-hero-only__nav {
    display: block;
  }

  .r5-hero-only__nav ul {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0.6rem 40px;
  }

  /* Hero bottom bar: tighten so 3 info cols fit in one row + CTA below,
     instead of stacking each col into its own ~80px row (~320px total). */
  .r5-hero-only__bar {
    padding: 0;
    gap: 0;
  }
  .r5-hero-only__col {
    min-width: 0;
    padding: 12px 6px;
    gap: 8px;
  }
  .r5-hero-only__k {
    font-size: 10px;
    letter-spacing: 0.06em;
  }
  .r5-hero-only__v {
    font-size: 13px;
    line-height: 1.3;
  }
  .r5-hero-only__cta {
    min-height: 64px;
    padding: 16px;
    font-size: 15px;
  }

  /* Let the hero grow with content on mobile — locking it to 100vh causes
     the lead paragraph to bleed into the white CTA bar on small screens. */
  .r5-hero-only {
    max-height: none;
    min-height: 100vh;
  }

  /* Smaller body padding-top + smaller lead so content fits more
     comfortably between the nav and the bar. */
  .r5-hero-only__body {
    padding: 5rem 1rem 1.5rem;
  }
  .r5-hero-only__h1 .line1,
  .r5-hero-only__h1 .line2 {
    font-size: clamp(2rem, 9vw, 3rem);
  }
  .r5-hero-only__lead {
    font-size: 16px;
    line-height: 1.45;
  }
  .r5-hero-only__tag {
    font-size: 13px;
  }
}
