/* ============================================================
   Forcepush web shell — chrome CSS extracted verbatim from the
   LIVE forcepush.club source: ~/P/forcepush/portfolio/site/index.html
   (as of 2026-10-01). Every rule below is copied byte-for-byte from
   that file's :root tokens, nav, footer, section, cta-section.velvet,
   button and card rules — nothing here was invented. Re-extract this
   file when the live site's chrome changes. See README.md for what
   this is and is NOT.
   ============================================================ */

/* ---- :root tokens (index.html lines 29-57) ---- */
:root {
  --bg-base: #FFFFFF;
  --bg-ice: #F2F6FB;
  --bg-raised: #FFFFFF;
  --fg-base: #0A1E3C;
  --fg-muted: #44536B;
  --fg-subtle: #6B7A93;
  --accent: #134FA6;
  --accent-deep: #0D3B80;
  --accent-soft: #E7EFFB;
  --accent-bright: #2E7FD8;
  --ice-hi: #BFDCFF; /* from live portfolio :root — missing here, added verbatim */
  --border: #D7E1EE;
  --border-subtle: #E6EDF5;
  --shadow-card: 0 2px 12px rgba(10,30,60,.06);
  --glow: 0 8px 32px rgba(19,79,166,.22);
  --radius-md: 10px;
  --radius-z3: 18px;
  --radius-lg: 18px;
  --radius-full: 999px;
  --font-display: "Geist", system-ui, sans-serif;
  --font-body: "Geist", system-ui, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, monospace;
  --font-facet: "Tomorrow", "Geist", sans-serif; /* BRAND-SPEC: supersedes Chakra Petch in new concepts */
  --ease-out: cubic-bezier(.22,1,.36,1); /* from live portfolio :root — was missing here, referenced (undefined)
    by .pf-visual img/.pf-open/.tool-visual/.pv-frame, which made their whole
    transition value invalid at computed-value time → instant/"sudden" jumps
    instead of smooth. Added verbatim. */
}

/* ---- base reset / global (index.html lines 58-80) ---- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg-base); color: var(--fg-base);
  font-family: var(--font-body); line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; font-weight: 700; letter-spacing: -0.015em; }
.container { max-width: 1120px; margin-inline: auto; padding-inline: 24px; }
.section {
  padding-block: 96px;
  box-sizing: border-box;
}
.mono { font-family: var(--font-mono); font-size: 0.85rem; }
.accent { color: var(--accent); }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
img { max-width: 100%; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
[id] { scroll-margin-top: 72px; }
#kontakt { scroll-margin-top: 0; }
@media (max-width: 768px) { .section { padding-block: 64px; } }

/* ---- buttons (index.html lines 134-178) ---- */
/* ============ przyciski ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  text-decoration: none; white-space: nowrap; border: none;
  transition: background-color .25s ease, box-shadow .25s ease,
              border-color .25s ease, color .25s ease, transform .25s ease;
}
.cb {
  position: relative; z-index: 2;
  padding: 15px 34px; border-radius: var(--radius-z3);
  background-color: var(--accent-deep); border: 1px solid rgba(94,160,232,.4);
  color: #fff;
  font-family: var(--font-facet); font-weight: 600; text-transform: uppercase;
  letter-spacing: .06em; font-size: .88rem;
  background-image:
    radial-gradient(130% 100% at 28% -10%, rgba(255,255,255,.24), rgba(255,255,255,.05) 45%, transparent 62%),
    radial-gradient(120% 130% at 78% 115%, rgba(3,16,52,.5), transparent 55%),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='90' height='90'><filter id='v'><feTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='2' seed='2'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.035 0'/></filter><rect width='100%25' height='100%25' filter='url(%23v)'/></svg>");
}
.cb .lbl {
  position: relative; z-index: 1;
  background-image: linear-gradient(104deg,
    #FFFFFF 0 12%, #BFDCFF 12% 20%, #FFFFFF 20% 28%, #A9CEF8 28% 35%,
    #E9F3FF 35% 46%, #FFFFFF 46% 54%, #BFDCFF 54% 62%, #FFFFFF 62% 74%,
    #A9CEF8 74% 82%, #E9F3FF 82%);
  background-size: 220% 100%;
  background-position: calc(var(--fs, 50) * 1%) 0;
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}
.bx-wrap:hover .cb, .bx-wrap.is-on .cb, .cb:hover, .cb:focus-visible { background-color: var(--accent); box-shadow: var(--glow); }
.cb.cb-sm { padding: 6px 20px; font-size: .75rem; border-radius: 9px; }
.btn-quiet {
  padding: 14px 30px; border-radius: var(--radius-z3);
  border: 1px solid var(--border); background: rgba(255,255,255,.8);
  font-family: var(--font-facet); font-weight: 600; text-transform: uppercase;
  letter-spacing: .06em; font-size: .82rem; color: var(--accent-deep);
  background-image: radial-gradient(130% 100% at 28% -10%, rgba(255,255,255,.9), rgba(242,246,251,.4) 60%, transparent 80%);
}
.btn-quiet:hover, .btn-quiet:focus-visible { border-color: var(--accent-bright); background-color: var(--accent-soft); color: var(--accent); }
.btn-quiet.on-velvet {
  border-color: rgba(191,220,255,.4); background: rgba(255,255,255,.06);
  background-image: none; color: #E7EFFB;
}
.btn-quiet.on-velvet:hover, .btn-quiet.on-velvet:focus-visible { border-color: #BFDCFF; background: rgba(255,255,255,.14); color: #fff; }

/* ---- chips / cards / velvet (index.html lines 213-253) ---- */
/* ============ chips / cards ============ */
.chip {
  font-family: var(--font-facet); font-weight: 600; font-size: 0.66rem;
  text-transform: uppercase; letter-spacing: .06em; padding: 5px 13px;
  border: 1px solid var(--border); border-radius: var(--radius-full);
  color: var(--fg-muted); background-color: #fff;
  transition: background-color .25s ease, border-color .25s ease, color .25s ease;
  display: inline-block;
}
.chip:hover { background-color: var(--accent-soft); border-color: var(--accent-bright); color: var(--accent-deep); }
.card {
  position: relative; overflow: hidden;
  background: var(--bg-raised); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-z3); box-shadow: var(--shadow-card);
  transition: border-color .3s ease, box-shadow .3s ease, transform .3s ease;
}
.card:hover { border-color: rgba(46,127,216,.55); box-shadow: 0 10px 34px rgba(19,79,166,.16); transform: translateY(-3px); }
.card::before {
  content: ""; position: absolute; top: 0; left: 8%; right: 8%; height: 2px; z-index: 2;
  background: linear-gradient(90deg, transparent, var(--accent-bright) 35%, #BFDCFF 50%, var(--accent-bright) 65%, transparent);
  opacity: 0; transition: opacity .6s ease; pointer-events: none;
}
.card:hover::before { opacity: .5; }
.card::after {
  content: ""; position: absolute; top: -10%; bottom: -10%; left: 0; width: 55%; z-index: 2;
  background: linear-gradient(105deg, transparent, rgba(46,127,216,.035) 40%, rgba(46,127,216,.07) 50%, rgba(46,127,216,.035) 60%, transparent);
  transform: translateX(-160%) skewX(-14deg);
  opacity: 0; pointer-events: none;
}
.card:hover::after { transform: translateX(240%) skewX(-14deg); opacity: 1; transition: transform 1.9s cubic-bezier(.4,.1,.4,.95), opacity .5s ease; }
.velvet::after { background: linear-gradient(105deg, transparent, rgba(191,220,255,.05) 40%, rgba(255,255,255,.09) 50%, rgba(191,220,255,.05) 60%, transparent); }
.velvet {
  background-color: #0D3B80;
  background-image:
    radial-gradient(130% 100% at 28% -10%, rgba(255,255,255,.17), rgba(255,255,255,.04) 45%, transparent 62%),
    radial-gradient(120% 130% at 78% 115%, rgba(3,16,52,.55), transparent 55%),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='90' height='90'><filter id='v'><feTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='2' seed='2'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.03 0'/></filter><rect width='100%25' height='100%25' filter='url(%23v)'/></svg>");
  color: #E7EFFB;
  border-color: rgba(94,160,232,.35);
}
.velvet:hover { border-color: rgba(94,160,232,.55); }

/* ---- nav (index.html lines 261-337, 339-343) ---- */
/* ============ nav ============
   Transparent over the hero video (fixed, no bg); once the hero scrolls out
   of view, .is-scrolled fades in a top-heavy gradient + blur so the nav stays
   legible over the (light) sections below. Text colour flips light↔dark via
   the --nav-fg custom properties rather than duplicating every rule. */
.nav {
  --nav-fg: rgba(255,255,255,.92);
  --nav-fg-strong: #fff;
  --nav-underline: var(--accent-bright);
  --nav-bg: linear-gradient(to bottom, rgba(5,13,31,0), rgba(5,13,31,0));
  --nav-blur: 0px;
  --nav-border: transparent;
  position: fixed; top: 0; left: 0; right: 0; z-index: 65;
  background-image: var(--nav-bg);
  border-bottom: 1px solid var(--nav-border);
  backdrop-filter: blur(var(--nav-blur)); -webkit-backdrop-filter: blur(var(--nav-blur));
  transition: background-image .25s ease, border-color .25s ease, backdrop-filter .25s ease;
}
.nav.is-scrolled {
  --nav-fg: var(--fg-muted);
  --nav-fg-strong: var(--fg-base);
  --nav-underline: var(--accent);
  --nav-bg: linear-gradient(to bottom, rgba(255,255,255,.97) 0%, rgba(255,255,255,.97) 78%, rgba(255,255,255,0) 100%);
  --nav-blur: 10px;
  --nav-border: var(--border-subtle);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 54px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.brand img { height: 21px; width: auto; display: block; }
.brand .brand-dark { display: none; }
.nav.is-scrolled .brand .brand-dark { display: block; }
.nav.is-scrolled .brand .brand-light { display: none; }
/* paski krystaliczne przycisku są projektowane na jasne tło — w hero (nav przezroczysty na wideo) ukryte */
.nav:not(.is-scrolled) .bstrip { display: none; }
.nav-links { display: flex; align-items: center; gap: 22px; list-style: none; }
.nav-links a {
  position: relative; color: var(--nav-fg); text-decoration: none;
  font-family: var(--font-facet); font-weight: 600; text-transform: uppercase;
  font-size: 0.72rem; letter-spacing: .08em; padding-block: 4px;
  transition: color .15s ease;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: var(--nav-underline); border-radius: 2px;
  transform: scaleX(0); transform-origin: left; transition: transform .3s cubic-bezier(.22,1,.36,1);
}
.nav-links a:hover { color: var(--nav-fg-strong); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-right { display: flex; align-items: center; gap: 16px; }
.hamburger {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 40px; background: none; border: none; cursor: pointer;
  padding: 9px; position: relative; z-index: 75;
}
.hamburger span { display: block; width: 100%; height: 2px; background: var(--nav-fg-strong, var(--fg-base)); border-radius: 2px; transition: transform .2s ease, opacity .2s ease, background-color .25s ease; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-overlay {
  position: fixed; inset: 0; z-index: 60;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 28px;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .3s ease, transform .3s ease, visibility 0s linear .3s;
}
.nav-overlay.open { opacity: 1; visibility: visible; transform: none; transition: opacity .3s ease, transform .3s ease, visibility 0s linear 0s; }
.nav-overlay a {
  color: var(--fg-base); text-decoration: none;
  font-family: var(--font-facet); font-weight: 600; text-transform: uppercase;
  letter-spacing: .1em; font-size: 1.1rem;
}
.nav-overlay a:hover { color: var(--accent); }
.nav-overlay .cb { font-size: .84rem; letter-spacing: .06em; }
.nav-overlay .cb:hover { color: inherit; }
body.nav-open { overflow: hidden; }
@media (max-width: 900px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
}
@media (max-width: 520px) { .nav-right .bx-wrap { display: none; } }

/* ---- cta-section / velvet (index.html lines 796-805) ---- */
/* ============ kontakt / kpanel ============ */
.cta-section { overflow: hidden; text-align: center; }
.cta-section.velvet {
  background-image:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(94,160,232,.22), transparent 65%),
    radial-gradient(130% 100% at 28% -10%, rgba(255,255,255,.17), rgba(255,255,255,.04) 45%, transparent 62%),
    radial-gradient(120% 130% at 78% 115%, rgba(3,16,52,.55), transparent 55%),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='90' height='90'><filter id='v'><feTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='2' seed='2'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.03 0'/></filter><rect width='100%25' height='100%25' filter='url(%23v)'/></svg>");
}
.cta-head { margin-inline: auto; margin-bottom: 56px; display: flex; flex-direction: column; align-items: center; gap: 20px; max-width: 640px; }

/* ---- footer (index.html lines 859-876) ---- */
/* ============ footer ============ */
.footer {
  border-top: 1px solid rgba(191,220,255,.15); padding-block: 64px;
  background-color: #0A2C60; color: #E7EFFB;
  background-image:
    radial-gradient(130% 100% at 28% -10%, rgba(255,255,255,.10), rgba(255,255,255,.03) 45%, transparent 62%),
    radial-gradient(120% 130% at 78% 115%, rgba(3,16,52,.6), transparent 55%),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='90' height='90'><filter id='v'><feTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='2' seed='2'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.03 0'/></filter><rect width='100%25' height='100%25' filter='url(%23v)'/></svg>");
}
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; padding-bottom: 48px; }
.footer-brand img { height: 24px; }
.footer-brand p { margin-top: 12px; color: rgba(231,239,251,.72); font-size: 0.875rem; max-width: 30ch; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col a { color: rgba(231,239,251,.78); text-decoration: none; font-size: 0.875rem; transition: color .25s ease; }
.footer-col a:hover { color: #BFDCFF; }
.footer-col a:first-child { color: #fff; font-family: var(--font-facet); font-weight: 600; text-transform: uppercase; font-size: .76rem; letter-spacing: .1em; }
.footer-bottom { padding-top: 24px; border-top: 1px solid rgba(191,220,255,.18); color: rgba(231,239,251,.6); }
@media (max-width: 768px) { .footer-top { grid-template-columns: 1fr 1fr; } }

/* ---- shell-only addition: the live site's mobile nav overlay uses
   bare <a> children; this shell reuses one {{nav_links}} <li> list for
   both .nav-links and .nav-overlay, so this list-style reset is needed. */
.nav-overlay li { list-style: none; }
