/* ==========================================================================
   ARS LEMNIA — szkoła rysunku online
   Paleta: papier (ivory), węgiel (charcoal), sjena palona, ochra, patyna (verdigris)
   ========================================================================== */

:root {
  --paper: #f6f1e9;
  --paper-2: #ece3d5;
  --paper-3: #e2d6c3;
  --ink: #221d1a;
  --ink-2: #3a322c;
  --ink-soft: #5d544c;
  --sienna: #a24a28;
  --sienna-dark: #83381b;
  --ochre: #c99a45;
  --ochre-soft: #e8d3a6;
  --patina: #4f6f66;
  --line: #d8ccba;
  --white: #fffdf9;

  --font-serif: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 6px;
  --radius-lg: 14px;
  --shadow-sm: 0 1px 2px rgba(34, 29, 26, .06), 0 2px 8px rgba(34, 29, 26, .05);
  --shadow: 0 10px 30px -12px rgba(34, 29, 26, .25);
  --shadow-lg: 0 30px 60px -25px rgba(34, 29, 26, .45);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --container: 1180px;
  --header-h: 76px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-2);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  overflow-x: clip;
}
/* subtelna faktura papieru */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1000;
  opacity: .05;
  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");
}
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--sienna); text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color .2s var(--ease); }
a:hover { color: var(--sienna-dark); }
p { margin: 0 0 1.1em; }
ul, ol { padding-left: 1.2em; }
li { margin-bottom: .45em; }
li::marker { color: var(--sienna); }
strong { color: var(--ink); font-weight: 600; }
::selection { background: var(--ochre-soft); color: var(--ink); }
:focus-visible { outline: 2px solid var(--sienna); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--ink);
  font-weight: 600;
  line-height: 1.12;
  margin: 0 0 .5em;
  letter-spacing: -.005em;
}
h1 { font-size: clamp(2.5rem, 6vw, 4.6rem); font-weight: 500; }
h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 500; }
h3 { font-size: clamp(1.45rem, 2.2vw, 1.85rem); }
h1 em, h2 em { font-style: italic; color: var(--sienna); }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 2000;
  background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: var(--radius);
  transition: top .2s;
}
.skip-link:focus { top: 12px; color: var(--paper); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 820px; }
@media (max-width: 600px) { .container { padding: 0 16px; } }

.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.section--tint { background: var(--paper-2); }
.section--dark { background: var(--ink); color: #d9cfc3; }
.section--dark h2, .section--dark h3 { color: var(--paper); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-sans);
  font-size: .78rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: var(--sienna); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; }
.section--dark .eyebrow, .hero .eyebrow { color: var(--ochre); }

.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .eyebrow::after { content: ""; width: 34px; height: 1px; background: currentColor; }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.22rem); color: var(--ink-soft); }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--sienna); --fg: var(--white);
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px; min-height: 52px;
  border: 1px solid var(--bg); border-radius: 999px;
  background: var(--bg); color: var(--fg);
  font: 600 .95rem/1 var(--font-sans); letter-spacing: .02em; text-decoration: none;
  cursor: pointer;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.btn::after { /* połysk przy najechaniu */
  content: ""; position: absolute; top: 0; left: -120%; width: 60%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .28), transparent);
  transform: skewX(-20deg); transition: left .7s var(--ease);
}
.btn:hover { color: var(--fg); transform: translateY(-2px); box-shadow: 0 14px 28px -12px rgba(162, 74, 40, .65); background: var(--sienna-dark); border-color: var(--sienna-dark); }
.btn:hover::after { left: 140%; }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--ghost { --bg: transparent; --fg: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { --fg: var(--paper); background: var(--ink); border-color: var(--ink); box-shadow: var(--shadow); }
.btn--light { --bg: transparent; --fg: var(--paper); border-color: rgba(246, 241, 233, .55); }
.btn--light:hover { --fg: var(--ink); background: var(--paper); border-color: var(--paper); box-shadow: none; }
.btn--sm { padding: 11px 20px; min-height: 42px; font-size: .88rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  background: rgba(246, 241, 233, .86);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: height .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.is-scrolled { --header-h: 64px; border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(34, 29, 26, .5); }
.site-header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand img { height: 46px; width: auto; mix-blend-mode: multiply; transition: transform .5s var(--ease); }
.brand:hover img { transform: rotate(-4deg) scale(1.04); }
.brand__name {
  font-family: var(--font-serif); font-size: 1.05rem; font-weight: 600;
  letter-spacing: .32em; line-height: 1.05; padding-left: 12px; border-left: 1px solid var(--ink);
}
.brand__name span { display: block; }
.brand:hover { color: var(--ink); }

.nav { display: flex; align-items: center; gap: 6px; }
.nav__list { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav__list li { margin: 0; }
.nav__link {
  position: relative; display: block; padding: 10px 13px;
  color: var(--ink-2); text-decoration: none; font-size: .92rem; font-weight: 500;
}
.nav__link::after {
  content: ""; position: absolute; left: 13px; right: 13px; bottom: 5px; height: 1px;
  background: var(--sienna); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease);
}
.nav__link:hover { color: var(--ink); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav__link[aria-current="page"] { color: var(--sienna); }
.nav .btn { margin-left: 10px; }

.nav-toggle {
  display: none; width: 46px; height: 46px; border: 0; background: transparent; cursor: pointer;
  position: relative; border-radius: 50%;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  position: absolute; left: 12px; width: 22px; height: 1.6px; background: var(--ink); content: "";
  transition: transform .35s var(--ease), top .35s var(--ease), opacity .2s;
}
.nav-toggle span { top: 22px; }
.nav-toggle span::before { left: 0; top: -7px; }
.nav-toggle span::after { left: 0; top: 7px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
.nav-open .nav-toggle span::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 1040px) {
  .nav-toggle { display: block; z-index: 2; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px 16px 28px;
    background: var(--paper); border-bottom: 1px solid var(--line);
    box-shadow: 0 30px 40px -30px rgba(34, 29, 26, .35);
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
    clip-path: inset(0 0 100% 0); visibility: hidden;
    transition: clip-path .45s var(--ease), visibility 0s .45s;
  }
  .nav-open .nav { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .45s var(--ease); }
  .nav__list { flex-direction: column; }
  .nav__link { padding: 14px 8px; font-size: 1.05rem; border-bottom: 1px solid var(--line); }
  .nav__link::after { display: none; }
  .nav .btn { margin: 20px 0 0; }
  .nav-open .nav__list li { animation: navIn .5s var(--ease) both; }
  .nav-open .nav__list li:nth-child(2) { animation-delay: .04s; }
  .nav-open .nav__list li:nth-child(3) { animation-delay: .08s; }
  .nav-open .nav__list li:nth-child(4) { animation-delay: .12s; }
  .nav-open .nav__list li:nth-child(5) { animation-delay: .16s; }
  .nav-open .nav__list li:nth-child(6) { animation-delay: .2s; }
}
@media (max-width: 420px) { .brand__name { font-size: .92rem; letter-spacing: .26em; } .brand img { height: 40px; } }
@keyframes navIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* ---------- Hero / jumbotron (strona główna) ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: min(88vh, 860px);
  display: flex; align-items: center;
  background: var(--ink); color: #e4dacd;
  padding: 90px 0 110px;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img {
  width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%;
  animation: kenburns 18s var(--ease) both;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(26, 22, 19, .96) 0%, rgba(26, 22, 19, .86) 40%, rgba(26, 22, 19, .35) 75%, rgba(26, 22, 19, .55) 100%),
    linear-gradient(0deg, rgba(26, 22, 19, .7), transparent 40%);
}
.hero__content { max-width: 660px; }
.hero h1 { color: var(--paper); margin-bottom: 26px; }
.hero h1 em { color: var(--ochre); position: relative; white-space: nowrap; }
.hero__stroke { position: absolute; left: -2%; bottom: -.14em; width: 104%; height: .32em; overflow: visible; }
.hero__stroke path { fill: none; stroke: var(--sienna); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 420; stroke-dashoffset: 420; animation: draw 1.4s 1s var(--ease) forwards; }
.hero__lead { font-size: clamp(1.05rem, 1.7vw, 1.22rem); color: #d4c9bb; max-width: 560px; margin-bottom: 36px; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 42px 0 0; padding: 0; list-style: none; font-size: .9rem; color: #cfc4b6; }
.hero__badges li { display: flex; align-items: center; gap: 9px; margin: 0; }
.hero__badges svg { width: 18px; height: 18px; color: var(--ochre); flex: none; }
.hero__scroll {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  width: 26px; height: 42px; border: 1.5px solid rgba(246, 241, 233, .45); border-radius: 20px;
}
.hero__scroll::after {
  content: ""; position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px;
  background: var(--ochre); border-radius: 2px; animation: scrollDot 2s infinite;
}
.hero-anim > * { animation: fadeUp .9s var(--ease) both; }
.hero-anim > *:nth-child(2) { animation-delay: .12s; }
.hero-anim > *:nth-child(3) { animation-delay: .24s; }
.hero-anim > *:nth-child(4) { animation-delay: .36s; }
.hero-anim > *:nth-child(5) { animation-delay: .48s; }
@media (max-width: 760px) {
  .hero { min-height: auto; padding: 72px 0 96px; }
  .hero::before { background: linear-gradient(180deg, rgba(26, 22, 19, .78) 0%, rgba(26, 22, 19, .92) 70%); }
  .hero h1 em { white-space: normal; }
}

/* ---------- Page hero (podstrony) ---------- */
.page-hero {
  position: relative; overflow: hidden;
  padding: clamp(56px, 8vw, 100px) 0 clamp(48px, 6vw, 80px);
  background:
    radial-gradient(ellipse at 85% 0%, rgba(201, 154, 69, .22), transparent 55%),
    radial-gradient(ellipse at 0% 100%, rgba(162, 74, 40, .1), transparent 50%),
    var(--paper-2);
  border-bottom: 1px solid var(--line);
}
.page-hero::after { /* linie konstrukcyjne jak w szkicowniku */
  content: ""; position: absolute; right: -80px; top: -60px; width: 420px; height: 420px; border-radius: 50%;
  border: 1px solid rgba(162, 74, 40, .22);
  box-shadow: 0 0 0 40px rgba(246, 241, 233, 0), 0 0 0 41px rgba(162, 74, 40, .12);
  animation: spinSlow 60s linear infinite;
  pointer-events: none;
}
.page-hero h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); max-width: 860px; }
.page-hero .lead { max-width: 680px; margin: 0; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 22px; font-size: .85rem; color: var(--ink-soft); }
.breadcrumb li { margin: 0; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: var(--line); }
.breadcrumb a { color: var(--ink-soft); text-decoration: none; }
.breadcrumb a:hover { color: var(--sienna); }
.page-hero > .container > * { animation: fadeUp .8s var(--ease) both; }
.page-hero > .container > *:nth-child(2) { animation-delay: .1s; }
.page-hero > .container > *:nth-child(3) { animation-delay: .2s; }

/* ---------- Split / feature rows ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.split + .split { margin-top: clamp(64px, 8vw, 110px); }
.split--reverse .split__media { order: 2; }
.split__media { position: relative; }
.split__media img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.split__media::before { /* "passe-partout" offset frame */
  content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 1px solid var(--ochre); border-radius: var(--radius-lg); z-index: -1;
  transition: inset .6s var(--ease);
}
.split--reverse .split__media::before { inset: 18px 18px -18px -18px; }
.split__media:hover::before { inset: 10px -10px -10px 10px; }
.split--reverse .split__media:hover::before { inset: 10px 10px -10px -10px; }
.split__body h2, .split__body h3 { margin-bottom: .45em; }
.split__body h3 { font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 500; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .split__media { margin-right: 18px; }
  .split--reverse .split__media { margin: 0 0 0 18px; }
}

.img-zoom { overflow: hidden; border-radius: var(--radius-lg); }
.img-zoom img { transition: transform 1.2s var(--ease); }
.img-zoom:hover img { transform: scale(1.05); }

/* chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 26px 0 0; }
.chips li { margin: 0; padding: 7px 16px; border: 1px solid var(--line); border-radius: 999px; font-size: .88rem; background: var(--white); color: var(--ink-2); transition: border-color .25s, color .25s, transform .25s var(--ease); }
.chips li:hover { border-color: var(--sienna); color: var(--sienna); transform: translateY(-2px); }

/* ---------- Stats strip ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid rgba(246, 241, 233, .12); border-bottom: 1px solid rgba(246, 241, 233, .12); }
.stat { padding: 34px 24px; text-align: center; }
.stat + .stat { border-left: 1px solid rgba(246, 241, 233, .12); }
.stat__value { display: block; font-family: var(--font-serif); font-size: clamp(2.4rem, 4.5vw, 3.4rem); color: var(--ochre); line-height: 1; margin-bottom: 10px; }
.stat__label { font-size: .92rem; color: #cbbfb1; }
@media (max-width: 760px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid rgba(246, 241, 233, .12); }
}

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 960px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .cards { grid-template-columns: 1fr; } }
.card {
  display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--paper-3); }
.card__media { aspect-ratio: 4 / 3; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.card:hover .card__media img { transform: scale(1.06); }
.card__body { padding: 26px 26px 30px; flex: 1; display: flex; flex-direction: column; }
.card__body h3 { margin-bottom: .4em; }
.card__body p:last-child { margin-bottom: 0; }
.card__tag { align-self: flex-start; font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--patina); margin-bottom: 10px; }
.card__link { margin-top: auto; padding-top: 14px; font-weight: 600; font-size: .92rem; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.card__link::after { content: "→"; transition: transform .3s var(--ease); }
.card__link:hover::after { transform: translateX(4px); }

/* ---------- Age groups ---------- */
.group-list { list-style: none; padding: 0; margin: 18px 0 18px; }
.group-list li { position: relative; padding-left: 28px; }
.group-list li::before { content: ""; position: absolute; left: 0; top: .72em; width: 14px; height: 1px; background: var(--sienna); }
.group-age { font-family: var(--font-serif); font-style: italic; color: var(--sienna); font-size: 1.15rem; display: block; margin-bottom: 4px; }

/* ---------- Requirements mosaic ---------- */
.mosaic { display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: 1fr 1fr; gap: 16px; }
.mosaic figure { margin: 0; border-radius: var(--radius-lg); overflow: hidden; }
.mosaic figure:first-child { grid-row: span 2; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.mosaic figure:hover img { transform: scale(1.05); }
.checklist { list-style: none; padding: 0; margin: 20px 0 24px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist svg { flex: none; width: 22px; height: 22px; color: var(--patina); margin-top: 3px; }

/* ---------- Pricing ---------- */
.notice {
  display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; text-align: center;
  padding: 14px 20px; margin-bottom: 48px; border-radius: 999px;
  background: var(--ink); color: var(--paper); font-weight: 500; letter-spacing: .03em;
}
.notice__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--ochre); box-shadow: 0 0 0 0 rgba(201, 154, 69, .7); animation: pulse 2s infinite; }
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; align-items: stretch; }
@media (max-width: 960px) { .pricing { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; } }
.price-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 36px 32px 34px;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.price-card--featured { background: var(--ink); border-color: var(--ink); color: #d6ccbf; box-shadow: var(--shadow-lg); }
.price-card--featured h3, .price-card--featured .price__amount { color: var(--paper); }
.price-card__badge {
  position: absolute; top: -13px; left: 32px; padding: 5px 14px; border-radius: 999px;
  background: var(--ochre); color: var(--ink); font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
}
.price-card__icon { width: 46px; height: 46px; color: var(--sienna); margin-bottom: 18px; }
.price-card--featured .price-card__icon { color: var(--ochre); }
.price { margin: 6px 0 4px; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price__amount { font-family: var(--font-serif); font-size: 3.4rem; line-height: 1; color: var(--ink); font-weight: 600; }
.price__per { font-size: .95rem; }
.price__note { font-size: .9rem; color: var(--ink-soft); margin-bottom: 22px; }
.price-card--featured .price__note { color: #b3a698; }
.price-card ul { list-style: none; padding: 0; margin: 0 0 28px; border-top: 1px solid var(--line); }
.price-card--featured ul { border-color: rgba(246, 241, 233, .14); }
.price-card ul li { padding: 11px 0 11px 28px; margin: 0; border-bottom: 1px solid var(--line); position: relative; font-size: .96rem; }
.price-card--featured ul li { border-color: rgba(246, 241, 233, .14); }
.price-card ul li::before { content: ""; position: absolute; left: 2px; top: 19px; width: 12px; height: 6px; border-left: 1.6px solid var(--sienna); border-bottom: 1.6px solid var(--sienna); transform: rotate(-45deg); }
.price-card--featured ul li::before { border-color: var(--ochre); }
.price-card .btn { margin-top: auto; width: 100%; }

.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 56px; }
@media (max-width: 760px) { .info-grid { grid-template-columns: 1fr; } }
.info-box { display: flex; gap: 20px; padding: 30px; border-radius: var(--radius-lg); background: var(--paper-2); border: 1px solid var(--line); }
.info-box svg { flex: none; width: 40px; height: 40px; color: var(--patina); }
.info-box h3 { font-size: 1.5rem; margin-bottom: .3em; }
.info-box p { margin: 0; }

/* payment */
.pay { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
@media (max-width: 760px) { .pay { grid-template-columns: 1fr; } }
.pay__box { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; }
.pay__box h3 { font-size: 1.5rem; }
.pay__value {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: clamp(.98rem, 2.4vw, 1.15rem); color: var(--ink);
  background: var(--paper); border: 1px dashed var(--paper-3); border-radius: var(--radius); padding: 14px 16px; margin: 8px 0 14px;
  word-break: break-word;
}
.copy-btn {
  border: 1px solid var(--line); background: var(--white); color: var(--ink-2); border-radius: 999px;
  font: 600 .8rem var(--font-sans); padding: 8px 14px; cursor: pointer; transition: all .25s var(--ease);
}
.copy-btn:hover { border-color: var(--sienna); color: var(--sienna); }
.copy-btn.is-copied { background: var(--patina); border-color: var(--patina); color: var(--white); }
.pay__titles { margin-top: 28px; padding: 26px 30px; border-left: 3px solid var(--ochre); background: var(--paper-2); border-radius: 0 var(--radius-lg) var(--radius-lg) 0; }
.pay__titles ul { margin: 10px 0 0; }

/* ---------- Gallery ---------- */
.teacher { display: grid; grid-template-columns: 300px 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 820px) { .teacher { grid-template-columns: 1fr; } }
.teacher__card {
  position: sticky; top: calc(var(--header-h) + 24px);
  background: var(--ink); color: #d6ccbf; border-radius: var(--radius-lg); padding: 34px 30px; text-align: center;
}
@media (max-width: 820px) { .teacher__card { position: static; } }
.teacher__monogram {
  width: 112px; height: 112px; margin: 0 auto 18px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--ochre); font-family: var(--font-serif); font-size: 3rem; color: var(--ochre); font-style: italic;
  box-shadow: 0 0 0 8px rgba(201, 154, 69, .08);
}
.teacher__card h3 { color: var(--paper); margin-bottom: .2em; }
.teacher__card p { font-size: .92rem; color: #b3a698; }
.teacher__card .btn { width: 100%; }

.gallery { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.gallery__item { position: relative; margin: 0; border-radius: var(--radius-lg); overflow: hidden; cursor: zoom-in; background: var(--paper-3); grid-column: span 2; aspect-ratio: 4 / 3; }
.gallery__item--wide { grid-column: span 3; aspect-ratio: 16 / 10; }
.gallery__item button { all: unset; display: block; width: 100%; height: 100%; cursor: zoom-in; }
.gallery__item button:focus-visible { outline: 2px solid var(--sienna); outline-offset: -4px; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease), filter .6s; }
.gallery__item:hover img { transform: scale(1.06); }
.gallery__item figcaption {
  position: absolute; inset: auto 0 0 0; padding: 40px 18px 16px;
  background: linear-gradient(0deg, rgba(26, 22, 19, .85), transparent);
  color: var(--paper); font-family: var(--font-serif); font-size: 1.15rem; font-style: italic;
  transform: translateY(100%); transition: transform .5s var(--ease); pointer-events: none;
}
.gallery__item:hover figcaption, .gallery__item:focus-within figcaption { transform: none; }
@media (hover: none) { .gallery__item figcaption { transform: none; } }
@media (max-width: 760px) {
  .gallery { grid-template-columns: 1fr 1fr; gap: 12px; }
  .gallery__item, .gallery__item--wide { grid-column: span 1; aspect-ratio: 1; }
  .gallery__item:last-child:nth-child(odd) { grid-column: span 2; aspect-ratio: 16 / 10; }
}

/* lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 1500; display: grid; place-items: center; padding: 60px 16px;
  background: rgba(20, 17, 15, .94); opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility 0s .35s;
}
.lightbox.is-open { opacity: 1; visibility: visible; transition: opacity .35s var(--ease); }
.lightbox figure { margin: 0; max-width: 1200px; width: 100%; text-align: center; }
.lightbox img { max-height: 78vh; width: auto; margin: 0 auto; border-radius: var(--radius); box-shadow: 0 30px 80px rgba(0, 0, 0, .5); transform: scale(.96); transition: transform .45s var(--ease); }
.lightbox.is-open img { transform: none; }
.lightbox figcaption { color: #d6ccbf; font-family: var(--font-serif); font-style: italic; font-size: 1.2rem; margin-top: 16px; }
.lightbox__btn {
  position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(246, 241, 233, .3);
  background: rgba(246, 241, 233, .06); color: var(--paper); font-size: 1.4rem; cursor: pointer; display: grid; place-items: center;
  transition: background .25s;
}
.lightbox__btn:hover { background: rgba(246, 241, 233, .18); }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 16px; top: 50%; transform: translateY(-50%); }
@media (max-width: 600px) { .lightbox__prev, .lightbox__next { top: auto; bottom: 16px; transform: none; } }

/* lite YouTube */
.videos { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
@media (max-width: 760px) { .videos { grid-template-columns: 1fr; } }
.video { margin: 0; }
.video__frame { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-lg); overflow: hidden; background: #000; }
.video__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video__btn { all: unset; position: absolute; inset: 0; cursor: pointer; }
.video__btn img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: opacity .4s, transform 1s var(--ease); }
.video__btn:hover img { opacity: 1; transform: scale(1.04); }
.video__play {
  position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%;
  background: var(--sienna); display: grid; place-items: center; box-shadow: 0 0 0 0 rgba(162, 74, 40, .6);
  transition: transform .35s var(--ease); animation: pulse 2.4s infinite;
}
.video__btn:hover .video__play { transform: scale(1.1); }
.video__play svg { width: 26px; height: 26px; color: var(--white); margin-left: 4px; }
.video__btn:focus-visible { outline: 3px solid var(--ochre); outline-offset: -3px; }
.video figcaption { margin-top: 12px; font-size: .92rem; color: var(--ink-soft); }

/* quote / mission */
.quote { text-align: center; max-width: 860px; margin: 0 auto; }
.quote blockquote { margin: 0; font-family: var(--font-serif); font-size: clamp(1.5rem, 3vw, 2.25rem); line-height: 1.35; color: var(--paper); font-style: italic; font-weight: 500; }
.quote__mark { font-family: var(--font-serif); font-size: 6rem; line-height: .5; color: var(--ochre); display: block; margin-bottom: 18px; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 26px 4px; font-family: var(--font-serif); font-size: clamp(1.35rem, 2.4vw, 1.7rem); color: var(--ink); font-weight: 600;
  transition: color .25s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--sienna); }
.faq__icon { flex: none; position: relative; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); transition: background .3s, border-color .3s, transform .4s var(--ease); }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; margin: -.75px 0 0 -6px; background: var(--ink); transition: transform .4s var(--ease), background .3s; }
.faq__icon::after { transform: rotate(90deg); }
.faq details[open] .faq__icon { background: var(--sienna); border-color: var(--sienna); transform: rotate(180deg); }
.faq details[open] .faq__icon::before, .faq details[open] .faq__icon::after { background: var(--white); }
.faq details[open] .faq__icon::after { transform: rotate(0); }
.faq__answer { padding: 0 4px 26px; max-width: 760px; }
.faq details[open] .faq__answer { animation: fadeUp .5s var(--ease); }
.faq__answer ol, .faq__answer ul { margin-top: 0; }

/* ---------- Form page ---------- */
.form-layout { display: grid; grid-template-columns: 1fr 340px; gap: 40px; align-items: start; }
@media (max-width: 960px) { .form-layout { grid-template-columns: 1fr; } }
.form-frame { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.form-frame iframe { width: 100%; height: 2400px; border: 0; background: var(--white); }
@media (max-width: 600px) { .form-frame iframe { height: 2700px; } }
.form-aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 20px; }
@media (max-width: 960px) { .form-aside { position: static; order: -1; } }
.steps { list-style: none; padding: 0; margin: 0; counter-reset: s; }
.steps li { counter-increment: s; position: relative; padding: 0 0 18px 48px; margin: 0; }
.steps li::before {
  content: counter(s); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%;
  background: var(--paper-2); border: 1px solid var(--ochre); color: var(--sienna);
  display: grid; place-items: center; font: 600 .9rem var(--font-sans);
}
.panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; }
.panel--dark { background: var(--ink); border-color: var(--ink); color: #d6ccbf; }
.panel--dark h3 { color: var(--paper); }
.panel h3 { font-size: 1.45rem; }

/* ---------- Contact cards ---------- */
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 34px; }
@media (max-width: 640px) { .contact-cards { grid-template-columns: 1fr; } }
.contact-card {
  display: flex; align-items: center; gap: 18px; padding: 22px 24px; border-radius: var(--radius-lg);
  background: var(--white); border: 1px solid var(--line); text-decoration: none; color: var(--ink);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--sienna); color: var(--ink); }
.contact-card__icon { flex: none; width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: var(--paper-2); color: var(--sienna); transition: background .35s, color .35s; }
.contact-card:hover .contact-card__icon { background: var(--sienna); color: var(--white); }
.contact-card__icon svg { width: 22px; height: 22px; }
.contact-card small { display: block; color: var(--ink-soft); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; }
.contact-card strong { font-size: 1.05rem; word-break: break-all; }
.panel--dark .contact-card { background: transparent; border-color: rgba(246, 241, 233, .16); color: var(--paper); padding: 14px 0; border-width: 0 0 1px; border-radius: 0; }
.panel--dark .contact-card:hover { box-shadow: none; transform: translateX(4px); }
.panel--dark .contact-card__icon { background: rgba(246, 241, 233, .08); color: var(--ochre); width: 42px; height: 42px; }
.panel--dark .contact-card small { color: #b3a698; }
.panel--dark .contact-card strong { color: var(--paper); font-size: .98rem; }

/* ---------- CTA band ---------- */
.cta {
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(64px, 9vw, 110px) 0; text-align: center;
  background: var(--sienna); color: #f6e7dc;
}
.cta::before, .cta::after { /* szkicowe okręgi */
  content: ""; position: absolute; z-index: -1; border-radius: 50%; border: 1px solid rgba(246, 241, 233, .22);
}
.cta::before { width: 520px; height: 520px; left: -160px; top: -220px; animation: spinSlow 50s linear infinite; }
.cta::after { width: 380px; height: 380px; right: -120px; bottom: -200px; border-style: dashed; animation: spinSlow 70s linear infinite reverse; }
.cta h2 { color: var(--white); max-width: 760px; margin: 0 auto .4em; }
.cta p { max-width: 600px; margin: 0 auto 32px; font-size: 1.1rem; }
.cta .btn { --bg: var(--paper); --fg: var(--ink); border-color: var(--paper); }
.cta .btn:hover { background: var(--ink); border-color: var(--ink); --fg: var(--paper); box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .5); }
.cta .btn--light { --bg: transparent; --fg: var(--paper); border-color: rgba(246, 241, 233, .6); }
.cta .btn-row { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { background: #1a1613; color: #b3a698; padding: 72px 0 0; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; padding-bottom: 56px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: span 2; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } .footer-brand { grid-column: auto; } }
.site-footer .brand { color: var(--paper); margin-bottom: 18px; }
.site-footer .brand img { filter: invert(1); mix-blend-mode: screen; }
.site-footer .brand__name { border-color: var(--paper); }
.site-footer h2 { font-family: var(--font-sans); font-size: .78rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--ochre); margin-bottom: 18px; }
.footer-list { list-style: none; padding: 0; margin: 0; }
.footer-list li { margin-bottom: 10px; }
.site-footer a { color: #d6ccbf; text-decoration: none; }
.site-footer a:hover { color: var(--ochre); }
.socials { display: flex; gap: 10px; margin-top: 22px; list-style: none; padding: 0; }
.socials li { margin: 0; }
.socials a {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid rgba(246, 241, 233, .18); color: var(--paper);
  transition: background .3s, border-color .3s, transform .3s var(--ease), color .3s;
}
.socials a:hover { background: var(--sienna); border-color: var(--sienna); transform: translateY(-3px); color: var(--white); }
.socials svg { width: 18px; height: 18px; }
.footer-bottom { border-top: 1px solid rgba(246, 241, 233, .1); padding: 22px 0; font-size: .85rem; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* back to top */
.to-top {
  position: fixed; right: 18px; bottom: 18px; z-index: 90; width: 48px; height: 48px; border-radius: 50%;
  background: var(--ink); color: var(--paper); border: 0; cursor: pointer; display: grid; place-items: center;
  box-shadow: var(--shadow); opacity: 0; transform: translateY(16px); pointer-events: none;
  transition: opacity .35s var(--ease), transform .35s var(--ease), background .25s;
}
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--sienna); }
.to-top svg { width: 20px; height: 20px; }

/* ---------- Scroll reveal (aktywne tylko z JS) ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--d, 0) * 110ms); }
.js .reveal--left { transform: translateX(-36px); }
.js .reveal--right { transform: translateX(36px); }
.js .reveal--scale { transform: scale(.94); }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (max-width: 860px) {
  .js .reveal--left:not(.is-visible), .js .reveal--right:not(.is-visible) { transform: translateY(28px); }
}

/* ---------- Keyframes ---------- */
@keyframes fadeUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes kenburns { from { transform: scale(1.12); } to { transform: scale(1); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
@keyframes spinSlow { to { transform: rotate(360deg); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(201, 154, 69, .55); } 70% { box-shadow: 0 0 0 14px rgba(201, 154, 69, 0); } 100% { box-shadow: 0 0 0 0 rgba(201, 154, 69, 0); } }

/* ---------- Ograniczony ruch ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .hero__stroke path { stroke-dashoffset: 0; }
}
