/* Firewisp Studio — design system (Phase 2) + components (Phase 3)
   Jedna rodzina: Manrope (self-hosted, latin + latin-ext). Ciemny warsztat z żarem:
   głębia z warstw powierzchni i cieni, nie z gradientów i poświat. */

@font-face { font-family: "Manrope"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url("fonts/manrope-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url("fonts/manrope-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  /* kolor */
  --bg: #0b0c10;
  --surface: #121419;
  --surface-2: #181b22;
  --surface-3: #20242d;
  --text: #f2efe9;
  --text-2: #aaa69d;
  --text-3: #757168;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --accent: #f3a35a;
  --accent-hover: #ffb46e;
  --accent-ink: #1b0f04;
  --focus: #ffc98a;
  --ok: #86d6a3;
  --err: #ff8c8c;
  /* akcent per produkt */
  --c-sushi: #ff6b4a;
  --c-kropla: #5ab3ff;
  --c-pendulum: #f0c35c;
  --c-whirlpick: #9b8cff;
  --c-iskra: #f3a35a;
  --c-bog: #6fc3b5;
  /* typografia */
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --fs-display: clamp(2.75rem, 2rem + 4.2vw, 5.6rem);
  --fs-h2: clamp(1.9rem, 1.4rem + 1.8vw, 3rem);
  --fs-h3: 1.25rem;
  --fs-body: 1.0625rem;
  --fs-small: 0.9375rem;
  --fs-meta: 0.8125rem;
  --lh-tight: 1.02;
  --lh-body: 1.6;
  --track-display: -0.035em;
  --track-meta: 0.08em;
  /* odstępy */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px; --s-10: 128px;
  --gutter: 16px;
  --container: 1120px;
  /* kształt i cień */
  --r-1: 10px; --r-2: 16px; --r-3: 24px; --r-pill: 999px;
  --shadow-1: 0 1px 0 rgba(255,255,255,.04) inset, 0 6px 18px rgba(0,0,0,.28);
  --shadow-2: 0 1px 0 rgba(255,255,255,.05) inset, 0 20px 50px rgba(0,0,0,.45);
  /* ruch */
  --t-fast: 160ms;
  --t-base: 320ms;
  --ease: cubic-bezier(.2,.7,.2,1);
}

/* ─── baza ─── */
*, *::before, *::after { box-sizing: border-box; }
html { color-scheme: dark; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: var(--fs-body); line-height: var(--lh-body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--text); }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.02em; text-wrap: balance; }
h1 { font-size: var(--fs-display); line-height: var(--lh-tight); letter-spacing: var(--track-display); font-weight: 500; }
h2 { font-size: var(--fs-h2); line-height: 1.1; letter-spacing: -0.03em; font-weight: 500; }
h3 { font-size: var(--fs-h3); line-height: 1.3; font-weight: 600; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: var(--gutter); top: -48px; background: var(--accent); color: var(--accent-ink); padding: 10px 14px; border-radius: var(--r-1); z-index: 100; font-weight: 600; }
.skip:focus { top: var(--s-3); }
.container { max-width: var(--container); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.meta { font-size: var(--fs-meta); letter-spacing: var(--track-meta); text-transform: uppercase; color: var(--text-3); font-weight: 600; }
.lead { font-size: clamp(1.0625rem, 1rem + .4vw, 1.25rem); color: var(--text-2); max-width: 56ch; }
.muted { color: var(--text-2); }
.prose { max-width: 62ch; color: var(--text-2); }
.prose p + p { margin-top: var(--s-4); }

/* i18n: aktywny język widoczny, drugi w ogóle nie zajmuje miejsca */
[data-l]:not([data-l-active]) { display: none !important; }

/* ─── komponenty bazowe ─── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 18px; border-radius: var(--r-pill); font: inherit; font-size: var(--fs-small); font-weight: 600; border: 1px solid var(--line-strong); background: var(--surface-2); color: var(--text); cursor: pointer; transition: background var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease), color var(--t-fast) var(--ease); white-space: nowrap; }
.btn:hover { background: var(--surface-3); border-color: rgba(255,255,255,.22); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: var(--accent-ink); }
.btn-quiet { background: transparent; border-color: transparent; color: var(--text-2); padding-left: 6px; padding-right: 6px; }
.btn-quiet:hover { background: transparent; border-color: transparent; color: var(--text); transform: none; }
.btn .arrow { transition: transform var(--t-fast) var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.tag { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: var(--r-pill); font-size: var(--fs-meta); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--text-2); border: 1px solid var(--line); background: rgba(255,255,255,.02); }
.tag.live { color: var(--ok); border-color: rgba(134,214,163,.35); }
.tag.live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px rgba(134,214,163,.15); }
.tag.soon { color: var(--text-2); }
.tag.dev { color: var(--text-3); border-style: dashed; }
.link { color: var(--text); font-weight: 600; border-bottom: 1px solid var(--line-strong); padding-bottom: 1px; transition: border-color var(--t-fast); }
.link:hover { border-color: var(--text); }
.divider { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* ─── nagłówek ─── */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 78%, transparent); backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px); border-bottom: 1px solid transparent; transition: border-color var(--t-base); }
.site-header.scrolled { border-bottom-color: var(--line); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: -0.01em; font-size: 1rem; min-height: 44px; }
.brand img { width: 28px; height: 28px; border-radius: 8px; }
.brand span b { font-weight: 700; } .brand span i { font-style: normal; font-weight: 500; color: var(--text-2); }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: var(--r-pill); color: var(--text-2); font-size: var(--fs-small); font-weight: 500; transition: color var(--t-fast), background var(--t-fast); }
.nav a:hover { color: var(--text); background: rgba(255,255,255,.04); }
.header-actions { display: flex; align-items: center; gap: var(--s-2); }
.lang { display: inline-flex; border: 1px solid var(--line); border-radius: var(--r-pill); padding: 2px; }
.lang button { min-width: 44px; min-height: 36px; border: 0; background: none; color: var(--text-2); font: inherit; font-size: var(--fs-meta); font-weight: 700; letter-spacing: .04em; border-radius: var(--r-pill); cursor: pointer; transition: background var(--t-fast), color var(--t-fast); }
.lang button[aria-pressed="true"] { background: var(--surface-3); color: var(--text); }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: var(--r-pill); border: 1px solid var(--line); background: none; color: var(--text); cursor: pointer; align-items: center; justify-content: center; }
.menu-btn svg { width: 20px; height: 20px; }
.menu-btn .x { display: none; }
.menu-btn[aria-expanded="true"] .bars { display: none; }
.menu-btn[aria-expanded="true"] .x { display: block; }
@media (max-width: 760px) {
  .nav { display: none; position: absolute; left: 0; right: 0; top: 64px; flex-direction: column; align-items: stretch; gap: 0; padding: var(--s-2) var(--gutter) var(--s-4); background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-2); }
  .nav.open { display: flex; }
  .nav a { min-height: 48px; font-size: 1rem; padding: 0 var(--s-3); }
  .menu-btn { display: inline-flex; }
}

/* ─── bohater ─── */
.hero { position: relative; padding: clamp(40px, 7vw, 96px) 0 clamp(40px, 6vw, 80px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s-7); align-items: center; }
.hero-copy { display: grid; gap: var(--s-5); }
.hero-copy h1 { max-width: 12ch; }
.hero-copy h1 em { font-style: normal; color: var(--accent); }
.hero-cta { display: flex; flex-wrap: wrap; gap: var(--s-3); }
.hero-facts { display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-5); color: var(--text-3); font-size: var(--fs-meta); letter-spacing: .04em; text-transform: uppercase; font-weight: 600; }
.hero-facts .fact { padding-left: 10px; border-left: 2px solid var(--accent); line-height: 1.2; }
/* kompozycja produktu: telefon przechylony, logo zachodzi na krawędź, cień zamiast poświaty */
.hero-art { position: relative; min-height: 420px; }
.hero-art .phone { position: absolute; right: 0; top: 0; width: min(270px, 62%); aspect-ratio: 720 / 1564; border-radius: 34px; overflow: hidden; border: 1px solid var(--line-strong); box-shadow: var(--shadow-2); transform: rotate(5deg); background: var(--surface); transition: transform var(--t-base) var(--ease); }
.hero-art:hover .phone { transform: rotate(3.5deg) translateY(-4px); }
.hero-art .phone img { width: 100%; height: 100%; object-fit: cover; }
.hero-art .logo { position: absolute; left: -2%; bottom: 2%; width: min(290px, 60%); filter: drop-shadow(0 18px 28px rgba(0,0,0,.55)); transform: rotate(-4deg); }
.hero-art .badge { position: absolute; left: 0; top: 6%; z-index: 2; }
.hero-art .mark { position: absolute; right: 0; bottom: 0; width: 160px; height: 160px; border-radius: 50%; background: radial-gradient(circle at 40% 40%, rgba(255,107,74,.22), transparent 70%); pointer-events: none; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: var(--s-6); }
  .hero-art { min-height: 440px; margin-top: var(--s-2); }
  .hero-art .phone { right: 0; width: min(200px, 52%); }
  .hero-art .logo { display: none; }   /* na telefonie logo jest w karcie niżej; tu zostaje sam ekran gry */
  .hero-art .phone { right: 8%; }
}

/* ─── sekcje ─── */
.section { padding: clamp(48px, 7vw, 96px) 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s-5); margin-bottom: var(--s-6); }
.section-head .meta { display: block; margin-bottom: var(--s-3); }
.section-head p { color: var(--text-2); max-width: 48ch; }

/* bento produktów */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--s-4); }
.card { position: relative; border-radius: var(--r-3); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-1); overflow: hidden; display: grid; transition: transform var(--t-base) var(--ease), border-color var(--t-base) var(--ease); }
.card:hover { transform: translateY(-3px); border-color: var(--line-strong); }
.card .body { padding: var(--s-6); display: grid; gap: var(--s-3); align-content: start; }
.card .body .tags { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.card .body h3 { font-size: 1.5rem; letter-spacing: -0.02em; }
.card .positioning { color: var(--text); font-weight: 500; }
.card .desc { color: var(--text-2); font-size: var(--fs-small); max-width: 46ch; }
.card .cta { margin-top: var(--s-2); display: flex; flex-wrap: wrap; gap: var(--s-3); align-items: center; }
.card .facts { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-4); color: var(--text-3); font-size: var(--fs-meta); }
.card .icon { width: 44px; height: 44px; border-radius: 12px; }
/* duża karta: Sushi Rush */
.card-sushi { grid-column: span 8; grid-template-columns: 1.05fr 1fr; min-height: 520px; }
.card-sushi .art { position: relative; background: #22140a url("sushi-bg.webp") center / cover; }
.card-sushi .art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(18,20,25,0) 60%, var(--surface) 100%); }
.card-sushi .art .phone { position: absolute; left: 54%; bottom: -4%; width: 66%; aspect-ratio: 720 / 1360; transform: translateX(-50%); border-radius: 28px; overflow: hidden; border: 1px solid var(--line-strong); box-shadow: var(--shadow-2); z-index: 1; transition: transform var(--t-base) var(--ease); }
.card-sushi:hover .art .phone { transform: translateX(-50%) translateY(-8px); }
.card-sushi .art .phone img, .card-sushi .art .phone video { width: 100%; height: 100%; object-fit: cover; display: block; }
.card-sushi .art .logo { position: absolute; left: 6%; top: 7%; width: 44%; z-index: 2; filter: drop-shadow(0 10px 20px rgba(0,0,0,.5)); }
/* Kropla: dwa ekrany, jasny + ciemny */
.card-kropla { grid-column: span 4; grid-template-rows: auto 1fr; }
.card-kropla .screens { position: relative; height: 260px; background: linear-gradient(180deg, rgba(90,179,255,.10), rgba(90,179,255,0)); overflow: hidden; }
.card-kropla .screens img { position: absolute; width: 46%; top: 28px; border-radius: 22px; border: 1px solid var(--line-strong); box-shadow: var(--shadow-2); transition: transform var(--t-base) var(--ease); }
.card-kropla .screens img:first-child { left: 10%; transform: rotate(-4deg); }
.card-kropla .screens img:last-child { right: 10%; top: 48px; transform: rotate(4deg); }
.card-kropla:hover .screens img:first-child { transform: rotate(-5deg) translateY(-4px); }
.card-kropla:hover .screens img:last-child { transform: rotate(5deg) translateY(-4px); }
/* Bog Night: szeroka karta pozioma — gra jest w landscape, więc kadr też */
.card-bog { grid-column: span 12; grid-template-columns: 1.5fr 1fr; }
.card-bog .art { position: relative; background: #0d1a1c; min-height: 300px; overflow: hidden; }
.card-bog .art img, .card-bog .art video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 100% 50%; transition: transform var(--t-base) var(--ease); }
.card-bog:hover .art img, .card-bog:hover .art video { transform: scale(1.02); }
.card-bog .art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(18,20,25,0) 88%, var(--surface) 100%); }
@media (max-width: 960px) {
  .card-bog { grid-template-columns: 1fr; }
  .card-bog .art { min-height: 220px; aspect-ratio: 16 / 9; }
  .card-bog .art::after { background: linear-gradient(180deg, rgba(18,20,25,0) 70%, var(--surface) 100%); }
}

/* zapowiedzi: trzy różne potraktowania */
.teasers { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-4); }
.teaser { position: relative; border-radius: var(--r-3); border: 1px solid var(--line); background: var(--surface); overflow: hidden; display: grid; grid-template-rows: 220px 1fr; box-shadow: var(--shadow-1); transition: transform var(--t-base) var(--ease), border-color var(--t-base) var(--ease); }
.teaser:hover { transform: translateY(-3px); border-color: var(--line-strong); }
.teaser .visual { position: relative; overflow: hidden; }
.teaser .body { padding: var(--s-5); display: grid; gap: var(--s-2); align-content: start; }
.teaser .body h3 { font-size: 1.25rem; }
.teaser .desc { color: var(--text-2); font-size: var(--fs-small); }
.teaser .cta { margin-top: var(--s-2); }
.teaser-pendulum .visual { background: linear-gradient(180deg, #1b1430, #0e0b19); }
.teaser-pendulum .visual img { position: absolute; left: 50%; top: 24px; width: 58%; transform: translateX(-50%); border-radius: 20px 20px 0 0; border: 1px solid var(--line-strong); border-bottom: 0; box-shadow: var(--shadow-2); }
.teaser-whirlpick .visual { background: radial-gradient(circle at 70% 20%, rgba(155,140,255,.25), transparent 55%), #15131f; }
.teaser-whirlpick .visual img { position: absolute; right: -12%; top: 28px; width: 70%; transform: rotate(-8deg); border-radius: 22px; border: 1px solid var(--line-strong); box-shadow: var(--shadow-2); }
/* Iskra: bez rozgrywki do pokazania — kompozycja typograficzna z ikoną */
.teaser-iskra .visual { background: var(--surface-2); display: grid; place-items: center; }
.teaser-iskra .visual .spark { position: relative; width: 112px; height: 112px; border-radius: 30px; overflow: hidden; box-shadow: var(--shadow-2); }
.teaser-iskra .visual .spark img { width: 100%; height: 100%; }
.teaser-iskra .visual .year { position: absolute; right: 18px; bottom: 12px; font-size: 3.5rem; font-weight: 200; letter-spacing: -0.05em; color: var(--text-3); line-height: 1; }
.teaser-iskra .visual .ring { position: absolute; left: -40px; top: -40px; width: 180px; height: 180px; border-radius: 50%; border: 1px solid var(--line); }
@media (max-width: 960px) {
  .card-sushi { grid-column: span 12; grid-template-columns: 1fr; }
  .card-sushi .art { min-height: 440px; }
  .card-sushi .art::after { background: linear-gradient(180deg, rgba(18,20,25,0) 55%, var(--surface) 100%); }
  .card-sushi .art .phone { left: auto; right: 5%; transform: none; width: 48%; bottom: 4%; }
  .card-sushi:hover .art .phone { transform: translateY(-6px); }
  .card-sushi .art .logo { width: 42%; left: 5%; top: 6%; }
  .card-sushi .body { padding-top: var(--s-7); }
  .card-kropla { grid-column: span 12; }
  .teasers { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .card .body { padding: var(--s-5); }
  .card-sushi .art .phone { width: 46%; right: 4%; }
  .section-head { flex-direction: column; align-items: flex-start; }
}

/* ─── o studiu: układ redakcyjny, bez kart ─── */
.about { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s-7); align-items: start; }
.about h2 { font-size: clamp(2rem, 1.5rem + 2.2vw, 3.4rem); }
.values { list-style: none; margin: var(--s-6) 0 0; padding: 0; border-top: 1px solid var(--line); }
.values li { display: grid; grid-template-columns: 2.5rem 1fr; gap: var(--s-4); padding: var(--s-4) 0; border-bottom: 1px solid var(--line); }
.values li .n { font-size: var(--fs-meta); color: var(--accent); font-weight: 700; letter-spacing: .08em; padding-top: 4px; }
.values li strong { display: block; color: var(--text); font-weight: 600; margin-bottom: 2px; }
.values li span { color: var(--text-2); font-size: var(--fs-small); }
@media (max-width: 820px) { .about { grid-template-columns: 1fr; gap: var(--s-5); } }

/* ─── beta ─── */
.beta { border: 1px solid var(--line); border-radius: var(--r-3); background: var(--surface); padding: clamp(24px, 4vw, 40px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s-6); align-items: center; box-shadow: var(--shadow-1); }
.beta form { display: flex; flex-wrap: wrap; gap: var(--s-3); }
.beta input[type=email] { flex: 1 1 240px; min-height: 44px; padding: 10px 14px; border-radius: var(--r-pill); border: 1px solid var(--line-strong); background: var(--bg); color: var(--text); font: inherit; font-size: var(--fs-small); }
.beta input[type=email]::placeholder { color: var(--text-3); }
.beta-list { list-style: none; margin: var(--s-4) 0 0; padding: 0; display: grid; gap: var(--s-2); color: var(--text-2); font-size: var(--fs-small); }
.beta-list li::before { content: "—"; color: var(--text-3); margin-right: 8px; }
.beta-list a { color: var(--text); border-bottom: 1px solid var(--line-strong); }
.beta .note { font-size: var(--fs-meta); color: var(--text-3); letter-spacing: 0; text-transform: none; font-weight: 500; }
.beta .note a { color: var(--text-2); border-bottom: 1px solid var(--line-strong); }
.beta .note.ok { color: var(--ok); } .beta .note.err { color: var(--err); }
.hp { position: absolute; left: -9999px; }
@media (max-width: 820px) { .beta { grid-template-columns: 1fr; } }

/* ─── stopka ─── */
.site-footer { border-top: 1px solid var(--line); padding: var(--s-8) 0 var(--s-7); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: var(--s-6); }
.footer-grid h4 { margin: 0 0 var(--s-3); font-size: var(--fs-meta); letter-spacing: var(--track-meta); text-transform: uppercase; color: var(--text-3); font-weight: 600; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-2); }
.footer-grid li a { color: var(--text-2); font-size: var(--fs-small); display: inline-flex; min-height: 32px; align-items: center; }
.footer-grid li a:hover { color: var(--text); }
.footer-brand { display: grid; gap: var(--s-3); align-content: start; }
.footer-brand p { color: var(--text-2); font-size: var(--fs-small); max-width: 32ch; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-3); margin-top: var(--s-7); padding-top: var(--s-5); border-top: 1px solid var(--line); color: var(--text-3); font-size: var(--fs-meta); }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: span 2; } }

/* pętle wideo: start dopiero w kadrze, pauza poza nim (JS); przy reduced-motion zostaje poster */
/* przy reduced-motion wideo nie startuje (JS), zostaje poster — bez dodatkowych reguł */

/* ─── ruch: pojawianie sekcji ─── */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity var(--t-base) var(--ease), transform var(--t-base) var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 60ms; } .reveal[data-delay="2"] { transition-delay: 120ms; } .reveal[data-delay="3"] { transition-delay: 180ms; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .card, .teaser, .btn, .hero-art .phone, .card-kropla .screens img, .card-sushi .art .phone { transition: none; }
  .card:hover, .teaser:hover, .btn:hover { transform: none; }
}

/* ─── strona dokumentu (privacy) ─── */
.doc { padding: var(--s-7) 0 var(--s-9); }
.doc .inner { max-width: 72ch; }
.doc h1 { font-size: clamp(2rem, 1.6rem + 2vw, 3.2rem); margin-bottom: var(--s-2); }
.doc h2 { font-size: 1.375rem; margin: var(--s-7) 0 var(--s-3); }
.doc p, .doc li { color: var(--text-2); }
.doc p + p { margin-top: var(--s-3); }
.doc a { color: var(--text); border-bottom: 1px solid var(--line-strong); }
