/* Beeasly Lab 7 — shared primitives. Palettes live on body.lp-vN. */

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

:root {
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --page-pad: clamp(20px, 5vw, 64px);
  --page-max: 1200px;
  --font: Inter, system-ui, sans-serif;
  --display: Inter, system-ui, sans-serif;
  --radius: 16px;
  --radius-sm: 10px;
  --pill: 999px;
  --tap: 44px;
  --header-h: 72px;
  --t: 180ms cubic-bezier(.2,.8,.2,1);
  --gold: #e8a317;
  --bg: #fff;
  --ink: #111;
  --muted: #5c5c5c;
  --primary: #111;
  --primary-ink: #fff;
  --quote: #ffb800;
  --quote-ink: #111;
  --quote-deep: #f0a800;
  --header: #fff;
  --header-ink: #111;
  --surface: #fff;
  --line: #e8e8e8;
  --ok: #e7f4e4;
  --ok-ink: #1e4d2b;
  --err: #f8dede;
  --err-ink: #8a1f2c;
}

body.lp {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); line-height: 1.08; letter-spacing: -0.03em; margin: 0 0 12px; }
h1 { font-size: clamp(2.1rem, 6vw, 4.2rem); font-weight: 800; max-width: 16ch; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); font-weight: 700; max-width: 22ch; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 12px; }
button, input, textarea { font-family: inherit; }

.skip {
  position: absolute; left: -999px;
}
.skip:focus { left: 12px; top: 12px; z-index: 200; background: #fff; padding: 8px 12px; }

.wrap { width: min(var(--page-max), calc(100% - 2 * var(--page-pad))); margin-inline: auto; }

.kicker {
  margin: 0 0 8px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent, var(--quote-ink));
}

.lead, .sec-l, .quote-lead {
  color: var(--muted);
  max-width: 42ch;
  font-size: 1.12rem;
}

.sec-h { margin-bottom: var(--space-6); }

.cta, .lp-submit, .cta-quote {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  background: var(--quote);
  color: var(--quote-ink);
  font-weight: 800;
  font-size: 1rem;
  text-decoration: none;
  border: 0;
  border-radius: var(--pill);
  cursor: pointer;
  box-shadow: 0 10px 24px color-mix(in srgb, var(--quote) 32%, transparent);
}

.cta:hover, .lp-submit:hover, .cta-quote:hover { background: var(--quote-deep); }

.cta-ghost {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid var(--quote);
}

.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 24px; }

@media (max-width: 480px) {
  .hero-cta .cta { width: 100%; }
}

/* Heroes */
.hero { position: relative; }
.hero-copy .lead { color: var(--muted); }

.hero-bleed {
  position: relative;
  min-height: min(72vh, 640px);
  overflow: hidden;
}
.hero-bleed > img {
  width: 100%;
  height: min(72vh, 640px);
  object-fit: cover;
}
.hero-bleed .cap {
  position: absolute;
  inset: auto 0 0;
  padding: clamp(28px, 6vw, 64px) var(--page-pad);
  background: linear-gradient(transparent, rgba(0,0,0,.72));
  color: #fff;
}
.hero-bleed .cap h1 { max-width: 14ch; }
.hero-bleed .cap .lead { color: #eee; }
.hero-bleed .cap .cta-ghost { color: #fff; border-bottom-color: var(--quote); }

.hero-split {
  display: grid;
  gap: var(--space-7);
  align-items: center;
  padding: var(--space-8) var(--page-pad);
  min-height: calc(100svh - 120px);
}
.hero-split img { width: 100%; height: min(70vh, 560px); object-fit: cover; border-radius: 24px; }

.hero-cover { position: relative; min-height: calc(100svh - 120px); }
.hero-cover > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-cover .card {
  position: relative;
  margin: clamp(24px, 6vw, 80px) var(--page-pad);
  max-width: 560px;
  padding: 32px;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  border-radius: 24px;
  box-shadow: 0 24px 60px color-mix(in srgb, var(--ink) 16%, transparent);
  backdrop-filter: blur(8px);
}

.hero-look {
  display: grid;
  gap: 12px;
  padding: var(--space-7) var(--page-pad);
}
.hero-look .copy { padding: 12px 8px 24px; }
.look-grid { display: grid; gap: 12px; }
.look-grid img { width: 100%; height: 280px; object-fit: cover; border-radius: 20px; }

.hero-ticket {
  padding: var(--space-8) var(--page-pad);
  display: grid;
  gap: var(--space-6);
  align-items: center;
}
.ticket {
  background: var(--surface);
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 20px 50px color-mix(in srgb, var(--ink) 12%, transparent);
  border: 2px dashed color-mix(in srgb, var(--primary) 40%, transparent);
}

.hero-studio {
  text-align: center;
  padding: var(--space-8) var(--page-pad) var(--space-7);
}
.hero-studio h1, .hero-studio .lead, .hero-studio .kicker { margin-inline: auto; }
.hero-studio .hero-cta { justify-content: center; }
.hero-studio img {
  width: min(920px, 100%);
  margin: 32px auto 0;
  border-radius: 28px;
}

.hero-press { padding: var(--space-8) var(--page-pad) var(--space-6); }
.mast { display: flex; justify-content: space-between; gap: 16px; border-bottom: 3px solid var(--ink); padding-bottom: 12px; margin-bottom: 28px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; font-size: .78rem; }
.hero-press-grid { display: grid; gap: 24px; align-items: center; }
.hero-press-grid img { width: 100%; height: min(52vh, 420px); object-fit: cover; }

.hero-sideform {
  display: grid;
  gap: var(--space-6);
  padding: var(--space-8) var(--page-pad);
  align-items: start;
}

@media (min-width: 900px) {
  .hero-split { grid-template-columns: 1fr 1fr; }
  .hero-look { grid-template-columns: 1fr 1.1fr; align-items: center; }
  .look-grid { grid-template-columns: 1fr 1fr; }
  .look-grid img:first-child { grid-row: span 2; height: 100%; min-height: 420px; }
  .hero-ticket { grid-template-columns: 1fr 1.05fr; }
  .hero-press-grid { grid-template-columns: 1.1fr .9fr; }
  .hero-sideform { grid-template-columns: 1fr .9fr; align-items: center; }
}

.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 18px var(--page-pad) 8px;
  justify-content: center;
}
.trust li {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--pill);
  padding: 8px 14px;
  font-size: .9rem;
  font-weight: 650;
}

/* Sections */
.paths, .dir, .okazje, .why, .how, .blog, .about, .quote {
  padding-block: var(--space-9);
}

.path-grid, .why-grid, .how-grid, .ok-grid, .blog-grid, .dir-grid {
  display: grid;
  gap: 16px;
}

.path-tiles { display: grid; gap: 12px; }
.path-tile { position: relative; overflow: hidden; border-radius: 18px; min-height: 180px; }
.path-tile img { width: 100%; height: 200px; object-fit: cover; }
.path-tile span {
  position: absolute; left: 12px; bottom: 12px;
  background: var(--quote); color: var(--quote-ink);
  font-weight: 800; padding: 6px 12px; border-radius: var(--pill); font-size: .85rem;
}

.path {
  display: grid;
  gap: 8px;
  padding: 24px;
  background: var(--surface);
  border-radius: 20px;
  text-decoration: none;
  box-shadow: 0 12px 32px color-mix(in srgb, var(--ink) 6%, transparent);
  border: 1px solid var(--line);
  min-height: 220px;
}
.path span { font-weight: 800; color: var(--muted); letter-spacing: .08em; }
.path em { font-style: normal; font-weight: 700; color: var(--primary); }

.dir-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.chip {
  min-height: 40px;
  padding: 0 14px;
  border-radius: var(--pill);
  border: 1px solid var(--line);
  background: var(--surface);
  font-weight: 700;
  cursor: pointer;
}
.chip.is-on { background: var(--ink); color: var(--bg); border-color: var(--ink); }

.dir-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 14px;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  text-decoration: none;
  min-height: 160px;
  box-shadow: 0 8px 24px color-mix(in srgb, var(--ink) 5%, transparent);
}
.dir-flag { font-size: 1.2rem; }
.dir-body small { display: block; color: var(--muted); font-size: .8rem; margin: 2px 0 8px; }
.dir-body p { margin: 0; color: var(--muted); font-size: .95rem; }
.dir-card em { grid-column: 2; font-style: normal; font-weight: 700; font-size: .9rem; align-self: end; }

.ok { background: var(--surface); border-radius: 20px; overflow: hidden; box-shadow: 0 12px 32px color-mix(in srgb, var(--ink) 7%, transparent); }
.ok img { width: 100%; height: 220px; object-fit: cover; }
.ok div { padding: 16px 18px 20px; }
.ok .tag { font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.ok a { font-weight: 700; }

.why-card {
  padding: 24px;
  background: var(--surface);
  border-radius: 18px;
  border: 1px solid var(--line);
}

.how-grid { list-style: none; margin: 0; padding: 0; }
.how-grid li { background: var(--surface); border-radius: 20px; overflow: hidden; box-shadow: 0 12px 32px color-mix(in srgb, var(--ink) 6%, transparent); }
.how-grid img { width: 100%; height: 180px; object-fit: cover; }
.how-grid li div { padding: 18px; }
.how-grid span { font-weight: 800; letter-spacing: .1em; color: var(--muted); }

.post {
  display: grid;
  text-decoration: none;
  background: var(--surface);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 32px color-mix(in srgb, var(--ink) 6%, transparent);
}
.post img { width: 100%; height: 180px; object-fit: cover; }
.post div { padding: 18px; }
.post em { font-style: normal; font-weight: 700; }

.about-grid { display: grid; gap: 28px; align-items: center; }
.about-grid img { width: 100%; height: min(420px, 50vh); object-fit: cover; border-radius: 24px; }

.quote { background: color-mix(in srgb, var(--quote) 12%, var(--bg)); }
.quote-grid { display: grid; gap: 28px; }
.quote-card {
  background: var(--surface);
  padding: 24px;
  border-radius: 24px;
  box-shadow: 0 20px 50px color-mix(in srgb, var(--ink) 10%, transparent);
}

.lp-form { display: grid; gap: 14px; }
.lp-field { display: grid; gap: 6px; font-weight: 650; }
.lp-field input, .lp-field textarea {
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 1rem;
  background: #fff;
}
.lp-field textarea { min-height: 96px; resize: vertical; }
.lp-grid { display: grid; gap: 12px; }
.lp-check { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--muted); }
.lp-check input { width: 20px; height: 20px; margin-top: 2px; flex: 0 0 auto; }
.lp-hp { position: absolute; left: -9999px; }
.lp-hint { font-size: .85rem; color: var(--muted); margin: 4px 0 0; }
.lp-foot { font-size: .82rem; color: var(--muted); }
.lp-notice { padding: 12px 14px; border-radius: 12px; }
.lp-notice--ok { background: var(--ok); color: var(--ok-ink); }
.lp-notice--err { background: var(--err); color: var(--err-ink); }
.lp-full { grid-column: 1 / -1; }

.end {
  padding: 40px var(--page-pad) 120px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 16px;
}
.end-brand { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.end-brand img:nth-child(2) { height: 22px; width: auto; }
.end-brand p { margin: 0; color: var(--muted); flex-basis: 100%; }
.end-nav { display: flex; flex-wrap: wrap; gap: 16px; font-weight: 650; }
.end-nav a { text-decoration: none; }
.end-meta { color: var(--muted); font-size: .9rem; }

.sticky {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 40;
  transform: translateY(20px);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t), transform var(--t);
}
.sticky.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.sticky.is-form-visible { opacity: 0; pointer-events: none; }
.cta-quote { min-height: 48px; }

@media (max-width: 720px) {
  .sticky { left: 12px; right: 12px; }
  .cta-quote { width: 100%; }
}

@media (min-width: 720px) {
  .path-tiles { grid-template-columns: repeat(3, 1fr); }
  .path-grid, .why-grid { grid-template-columns: repeat(2, 1fr); }
  .ok-grid, .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .dir-grid { grid-template-columns: repeat(2, 1fr); }
  .lp-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1000px) {
  .path-grid, .why-grid { grid-template-columns: repeat(4, 1fr); }
  .how-grid { grid-template-columns: repeat(3, 1fr); }
  .ok-grid { grid-template-columns: repeat(4, 1fr); }
  .blog-grid { grid-template-columns: repeat(3, 1fr); }
  .dir-grid { grid-template-columns: repeat(3, 1fr); }
  .quote-grid { grid-template-columns: .9fr 1.1fr; align-items: start; }
  .about-grid { grid-template-columns: 1.1fr .9fr; }
}

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