@font-face {
  font-family: "Engschrift";
  src: url("../fonts/engschriftdind.woff") format("woff");
  font-display: swap;
}

:root {
  --bg: #0b0b0e;
  --bg-2: #111116;
  --panel: #16161c;
  --line: #2a2a33;
  --text: #ececf0;
  --muted: #a3a3ae;   /* ≥ 7:1 na tle --bg */
  --dim: #8a8a96;
  --accent: #e8b04a;
  --display: "Engschrift", "DIN Condensed", "Arial Narrow", sans-serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --gutter: 16px;
  --max: 1200px;
}
@media (min-width: 768px) { :root { --gutter: 40px; } }

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

html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
  background: var(--bg);
  color: var(--text);
  font: 17px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

.skip {
  position: absolute; left: -9999px; top: 8px; z-index: 100;
  background: var(--accent); color: #111; padding: 8px 14px; font-weight: 600;
}
.skip:focus { left: 8px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }


/* ---------- nagłówek ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(11, 11, 14, .88);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom-color: var(--line);
}
.nav-bar { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo {
  font-family: var(--display); text-transform: uppercase; text-decoration: none;
  font-size: 24px; line-height: 1; letter-spacing: .02em; white-space: nowrap;
}
.logo span { color: var(--accent); }

.menu-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; margin-right: -10px;
  background: none; border: 0; color: var(--text); cursor: pointer;
}
.menu-btn svg { width: 26px; height: 26px; }
.menu-btn .i-close, .nav-open .menu-btn .i-open { display: none; }
.nav-open .menu-btn .i-close { display: block; }

.nav {
  position: fixed; top: 64px; left: 0; right: 0; height: calc(100vh - 64px); height: calc(100dvh - 64px);
  overflow-y: auto;
  background: var(--bg);
  border-top: 1px solid var(--line);
  padding: 16px var(--gutter) 32px;
  display: none;
}
.nav-open .nav { display: block; }
.nav-open { overflow: hidden; }
.nav-open .site-header { background: var(--bg); -webkit-backdrop-filter: none; backdrop-filter: none; }
.nav-open .sticky-call { display: none; }
.nav ul { list-style: none; }
.nav a {
  display: block; padding: 12px 0;
  font-family: var(--display); text-transform: uppercase; font-size: 30px; line-height: 1.1;
  text-decoration: none; color: var(--text);
}
.nav a:hover { color: var(--accent); }
.nav .nav-cta { color: var(--accent); }

@media (min-width: 880px) {
  .menu-btn { display: none; }
  .nav { position: static; display: block; height: auto; overflow: visible; background: none; border: 0; padding: 0; }
  .nav ul { display: flex; gap: 32px; align-items: center; }
  .nav a { font-size: 20px; padding: 6px 0; letter-spacing: .03em; }
  .nav .nav-cta {
    border: 1px solid var(--accent); border-radius: 99px; padding: 8px 18px;
  }
  .nav .nav-cta:hover { background: var(--accent); color: #111; }
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: flex-end;
  padding: 96px 0 56px;
  overflow: hidden;
  isolation: isolate;
}
.hero-photo {
  position: absolute; z-index: -2;
  inset: 0;
}
.hero-photo picture, .hero-photo img {
  width: 100%; height: 100%;
}
.hero-photo img {
  object-fit: cover; object-position: 55% 20%;
  filter: grayscale(1) contrast(1.15) brightness(1.15);
}
/* bursztynowy duotone + gradienty, żeby zdjęcie (969 px) nie wyglądało na rozciągnięte */
.hero-photo::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: var(--accent); mix-blend-mode: multiply; opacity: .28;
}
.hero-photo::after {
  content: ""; position: absolute; inset: 0; z-index: 2;
  background:
    linear-gradient(180deg, rgba(11,11,14,.55) 0%, rgba(11,11,14,0) 25%, rgba(11,11,14,.35) 55%, var(--bg) 100%);
}
.grain {
  position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .14;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

@media (min-width: 880px) {
  .hero { align-items: center; padding: 120px 0 80px; }
  .hero-photo {
    inset: 0 0 0 auto;
    width: min(62vw, 980px);
  }
  .hero-photo img { object-position: 40% 25%; }
  .hero-photo::after {
    background:
      linear-gradient(90deg, var(--bg) 0%, rgba(11,11,14,.6) 28%, rgba(11,11,14,0) 60%),
      linear-gradient(180deg, rgba(11,11,14,.5) 0%, rgba(11,11,14,0) 22%, rgba(11,11,14,0) 70%, var(--bg) 100%);
  }
}

.hero-content { position: relative; max-width: 700px; }
.kicker {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--display); text-transform: uppercase; letter-spacing: .14em;
  font-size: 17px; color: var(--accent);
}
.kicker::before { content: ""; width: 32px; height: 3px; background: var(--accent); }
.hero h1 {
  font-family: var(--display); font-weight: normal; text-transform: uppercase;
  font-size: clamp(64px, 19vw, 168px);
  line-height: .86; letter-spacing: -.005em;
  margin: 18px 0 22px;
  text-shadow: 0 2px 30px rgba(0,0,0,.5);
}
.hero h1 span { display: block; }
.hero h1 .sub-h1 {
  font-size: .32em; line-height: 1; letter-spacing: .06em; color: var(--muted); margin-top: .35em;
}
.hero-lead { font-size: 18px; color: #d4d4db; max-width: 30em; }
@media (min-width: 768px) { .hero-lead { font-size: 20px; } }

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 99px;
  font-family: var(--display); text-transform: uppercase; font-size: 21px; letter-spacing: .04em;
  text-decoration: none; transition: background .2s, color .2s, border-color .2s;
}
.btn svg { width: 18px; height: 18px; fill: currentColor; }
.btn-primary { background: var(--accent); color: #111; }
.btn-primary:hover { background: #f3c66f; }
.btn-ghost { border: 1px solid rgba(236,236,240,.35); color: var(--text); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

.hero-meta {
  display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 36px;
  font-size: 14px; color: var(--muted); letter-spacing: .02em;
}
.hero-meta span::before { content: "- "; color: var(--accent); }

/* ---------- sekcje ---------- */
section.block { padding: 88px 0; position: relative; }
@media (min-width: 880px) { section.block { padding: 128px 0; } }
section.block + section.block { border-top: 1px solid var(--line); }

.eyebrow {
  font-family: var(--display); text-transform: uppercase; letter-spacing: .16em;
  font-size: 16px; color: var(--accent); margin-bottom: 14px;
  display: flex; align-items: center; gap: 12px;
}
.eyebrow .num { color: var(--dim); }
h2 {
  font-family: var(--display); font-weight: normal; text-transform: uppercase;
  font-size: clamp(44px, 10vw, 96px); line-height: .9; margin-bottom: 28px;
}
h3 {
  font-family: var(--display); font-weight: normal; text-transform: uppercase;
  font-size: 26px; line-height: 1.05; margin-bottom: 12px; letter-spacing: .02em;
}
p + p { margin-top: 1.1em; }
.prose { color: #cfcfd6; max-width: 40em; }
.prose strong { color: var(--text); font-weight: 600; }
.lead { font-size: 20px; color: var(--text); line-height: 1.55; }
@media (min-width: 768px) { .lead { font-size: 23px; } }

a.inline { color: var(--text); text-decoration-color: var(--accent); text-underline-offset: 3px; text-decoration-thickness: 2px; }
a.inline:hover { color: var(--accent); }

/* O mnie */
.about-grid { display: grid; gap: 40px; }
@media (min-width: 880px) {
  .about-grid { grid-template-columns: 5fr 7fr; gap: 72px; align-items: start; }
  .about-aside { position: sticky; top: 100px; }
}
.about-photo { position: relative; border-radius: 4px; overflow: hidden; aspect-ratio: 4 / 5; max-width: 460px; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 35% 30%; filter: grayscale(1) contrast(1.1) brightness(1.2); }
.about-photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(232,176,74,.12), rgba(11,11,14,.55));
  mix-blend-mode: multiply;
}
.about-photo figcaption {
  position: absolute; left: 16px; bottom: 14px; z-index: 1;
  font-family: var(--display); text-transform: uppercase; letter-spacing: .1em; font-size: 15px; color: var(--muted);
}

.collab {
  margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line);
}
.collab-title { font-family: var(--display); text-transform: uppercase; letter-spacing: .14em; font-size: 15px; color: var(--dim); margin-bottom: 14px; }
.collab ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.collab li {
  font-family: var(--display); text-transform: uppercase; font-size: 19px; letter-spacing: .03em;
  border: 1px solid var(--line); border-radius: 99px; padding: 6px 14px; color: #dadae0;
}

/* Lekcje */
.lessons-head { display: grid; gap: 24px; margin-bottom: 48px; }
@media (min-width: 880px) { .lessons-head { grid-template-columns: 7fr 5fr; gap: 72px; align-items: end; } }

.facts { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
@media (min-width: 640px) { .facts { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .facts { grid-template-columns: repeat(4, 1fr); } }
.fact { background: var(--bg-2); padding: 28px 24px; }
.fact .big {
  font-family: var(--display); font-size: 56px; line-height: .95; color: var(--accent); text-transform: uppercase;
}
.fact .big small { font-size: .42em; color: var(--muted); letter-spacing: .05em; margin-left: 4px; }
.fact h3 { margin: 10px 0 8px; font-size: 22px; }
.fact p { color: var(--muted); font-size: 15px; line-height: 1.55; }

.lessons-body { display: grid; gap: 48px; margin-top: 64px; }
@media (min-width: 880px) { .lessons-body { grid-template-columns: 1fr 1fr; gap: 72px; } }

.program { list-style: none; counter-reset: p; border-top: 1px solid var(--line); }
.program li {
  counter-increment: p;
  display: flex; gap: 18px; align-items: baseline;
  padding: 14px 0; border-bottom: 1px solid var(--line); color: #dadae0;
}
.program li::before {
  content: counter(p, decimal-leading-zero);
  font-family: var(--display); color: var(--accent); font-size: 18px; min-width: 24px;
}

.note-box {
  border-left: 3px solid var(--accent);
  background: var(--panel);
  padding: 22px 24px; border-radius: 0 6px 6px 0;
  margin-top: 28px;
}
.note-box p { color: #d4d4db; }
.note-box .en { font-family: var(--display); text-transform: uppercase; letter-spacing: .04em; font-size: 22px; color: var(--text); }
.note-box .en a { color: var(--accent); text-decoration: none; }

/* Muzyka */
.music-head { display: grid; gap: 28px; margin-bottom: 48px; }
@media (min-width: 880px) { .music-head { grid-template-columns: 7fr 5fr; gap: 72px; align-items: end; } }
.kert {
  background: linear-gradient(135deg, rgba(232,176,74,.14), rgba(232,176,74,0) 60%), var(--panel);
  border: 1px solid var(--line); border-radius: 6px; padding: 26px;
}
.kert .kert-name { font-family: var(--display); text-transform: uppercase; font-size: 40px; line-height: 1; margin-bottom: 8px; }
.kert p { color: var(--muted); font-size: 15px; }
.kert .cta-row { margin-top: 20px; }
.kert .btn { min-height: 46px; font-size: 19px; padding: 0 20px; }

.videos { display: grid; gap: 28px 24px; list-style: none; }
@media (min-width: 640px) { .videos { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .videos { grid-template-columns: repeat(3, 1fr); } }
.video figcaption { margin-top: 12px; font-size: 15px; line-height: 1.4; color: #cfcfd6; }
.video figcaption b { display: block; font-family: var(--display); font-weight: normal; text-transform: uppercase; font-size: 20px; letter-spacing: .02em; color: var(--text); }
.yt {
  position: relative; display: block; width: 100%; aspect-ratio: 16 / 9;
  border: 0; padding: 0; cursor: pointer; overflow: hidden; border-radius: 4px;
  background: #000 center / cover no-repeat;
}
.yt img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s, filter .3s; filter: grayscale(.6) brightness(.8); }
.yt:hover img, .yt:focus-visible img { transform: scale(1.04); filter: grayscale(0) brightness(.9); }
.yt .play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 64px; height: 64px; border-radius: 50%; background: var(--accent);
  display: grid; place-items: center; box-shadow: 0 6px 24px rgba(0,0,0,.4);
  transition: transform .2s;
}
.yt:hover .play { transform: translate(-50%, -50%) scale(1.08); }
.yt .play svg { width: 26px; height: 26px; fill: #111; margin-left: 4px; }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Linki */
.social { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; list-style: none; }
@media (min-width: 768px) { .social { grid-template-columns: repeat(3, 1fr); } }
.social a {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: var(--bg-2); padding: 28px 24px; text-decoration: none;
  transition: background .2s;
}
.social a:hover { background: var(--panel); }
.social .s-name { font-family: var(--display); text-transform: uppercase; font-size: 36px; line-height: 1; }
.social .s-sub { display: block; font-size: 14px; color: var(--muted); margin-top: 6px; }
.social .arrow { font-size: 28px; color: var(--accent); transition: transform .2s; }
.social a:hover .arrow { transform: translate(4px, -4px); }

/* Kontakt */
.contact { background: radial-gradient(ellipse at 80% 0%, rgba(232,176,74,.12), transparent 60%), var(--bg); }
.contact-grid { display: grid; gap: 40px; }
@media (min-width: 880px) { .contact-grid { grid-template-columns: 7fr 5fr; gap: 72px; align-items: end; } }
.contact-big a {
  display: block; text-decoration: none;
  font-family: var(--display); text-transform: uppercase;
  font-size: clamp(44px, 13vw, 112px); line-height: .95; letter-spacing: -.005em;
  transition: color .2s;
}
.contact-big a:hover { color: var(--accent); }
.contact-big .mail {
  font-size: clamp(22px, 5.6vw, 44px); text-transform: none; font-family: var(--sans); font-weight: 500;
  letter-spacing: -.01em; margin-top: 18px; word-break: break-word; color: #dadae0;
}
.contact-info dl { display: grid; gap: 18px; }
.contact-info dt { font-family: var(--display); text-transform: uppercase; letter-spacing: .14em; font-size: 15px; color: var(--accent); }
.contact-info dd { color: #d4d4db; }

/* stopka */
.site-footer {
  border-top: 1px solid var(--line); padding: 28px 0 100px;
  font-size: 14px; color: var(--dim);
}
@media (min-width: 880px) { .site-footer { padding-bottom: 32px; } }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.site-footer a { color: var(--muted); }

/* przyklejony przycisk na telefonie */
.sticky-call {
  position: fixed; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); z-index: 55;
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 52px; padding: 0 22px; border-radius: 99px;
  background: var(--accent); color: #111; text-decoration: none;
  font-family: var(--display); text-transform: uppercase; font-size: 21px; letter-spacing: .04em;
  box-shadow: 0 8px 28px rgba(0,0,0,.5);
  transform: translateY(140%); transition: transform .3s;
}
.sticky-call.show { transform: none; }
.sticky-call svg { width: 18px; height: 18px; fill: currentColor; }
@media (min-width: 880px) { .sticky-call { display: none; } }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- podstrony ---------- */
.nav a[aria-current="page"] { color: var(--accent); }

.page-hero { min-height: 0; padding: 120px 0 64px; align-items: flex-end; }
@media (min-width: 880px) { .page-hero { min-height: 62vh; padding: 160px 0 80px; align-items: flex-end; } }
.page-hero h1 { font-size: clamp(52px, 13vw, 128px); margin-bottom: 18px; }
.page-hero .sub-h1 { font-size: .34em; }

.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--dim); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--accent); }

.more {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 32px;
  font-family: var(--display); text-transform: uppercase; letter-spacing: .06em; font-size: 22px;
  color: var(--accent); text-decoration: none;
}
.more::after { content: "→"; transition: transform .2s; }
.more:hover::after { transform: translateX(4px); }

.collab-text { margin-top: 18px; color: var(--muted); font-size: 15px; max-width: 40em; }

.error-page { min-height: 100svh; display: flex; align-items: center; padding: 120px 0 80px; }
.error-page h1 { font-family: var(--display); font-weight: normal; text-transform: uppercase; font-size: clamp(64px, 16vw, 160px); line-height: .9; margin-bottom: 20px; }
.error-page ul { list-style: none; margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }
