/* =====================================================================
   Daniel Staszak — strona z linkami
   Styl: „Iron & Gold” — czerń, kreda i mosiądz talerzy
   ===================================================================== */

/* ---------- Fonty (hostowane lokalnie, bez Google Fonts) ---------- */
@font-face {
  font-family: "Oswald";
  font-style: normal;
  font-display: swap;
  font-weight: 200 700;
  src: url("../fonts/oswald-latin-ext-wght-normal.woff2") format("woff2-variations");
  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: "Oswald";
  font-style: normal;
  font-display: swap;
  font-weight: 200 700;
  src: url("../fonts/oswald-latin-wght-normal.woff2") format("woff2-variations");
  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;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("../fonts/inter-latin-ext-wght-normal.woff2") format("woff2-variations");
  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: "Inter";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2-variations");
  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;
}

/* ---------- Tokeny ---------- */
:root {
  --bg: #0b0b0c;
  --bg-2: #121214;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);

  --text: #f4f0e8;      /* kreda */
  --muted: #a7a29a;
  --faint: #6f6b65;

  --gold: #d9a84e;      /* mosiądz talerzy */
  --gold-hi: #f3d18a;
  --gold-lo: #a5772a;
  --ink: #17130c;       /* tekst na złocie */
  --grad-gold: linear-gradient(135deg, #f6d995 0%, #d9a84e 48%, #a5772a 100%);
  --steel: #c9ccd2;
  --live: #4ade80;

  --radius: 18px;
  --display: "Oswald", "Arial Narrow", Impact, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- Baza ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
body.is-loading, body.is-redirecting, body.is-sheet { overflow: hidden; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, figure, blockquote { margin: 0; }

svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
svg .fill { fill: currentColor; stroke: none; }

.gold-text,
.name__accent,
.stat__value,
.redirect__title,
.avatar__mono {
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Tło ---------- */
.bg { position: fixed; inset: 0; z-index: -1; pointer-events: none; }
.bg > div { position: absolute; inset: 0; }
.bg__glow {
  background:
    radial-gradient(70% 42% at 50% -6%, rgba(217, 168, 78, 0.22), transparent 70%),
    radial-gradient(45% 30% at 100% 100%, rgba(217, 168, 78, 0.07), transparent 70%),
    radial-gradient(45% 30% at 0% 70%, rgba(217, 168, 78, 0.05), transparent 70%);
}
/* radełkowanie jak na gryfie sztangi */
.bg__knurl {
  background:
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 10px),
    repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 10px);
  -webkit-mask-image: radial-gradient(75% 45% at 50% 0%, #000 0%, transparent 80%);
  mask-image: radial-gradient(75% 45% at 50% 0%, #000 0%, transparent 80%);
}
.bg__grain {
  opacity: 0.07;
  mix-blend-mode: overlay;
  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='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Układ ---------- */
.page {
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  padding: calc(56px + env(safe-area-inset-top)) 16px calc(36px + env(safe-area-inset-bottom));
}

/* ---------- Hero ---------- */
.hero { display: flex; flex-direction: column; align-items: center; text-align: center; }

.avatar { position: relative; width: 120px; height: 120px; }
.avatar::after {
  content: "";
  position: absolute; inset: -18px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217, 168, 78, 0.28), transparent 68%);
  z-index: -1;
}
.avatar__ring {
  position: absolute; inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg, var(--gold-hi), var(--gold), rgba(217, 168, 78, 0.05) 30%, rgba(217, 168, 78, 0.05) 55%, var(--gold-lo), var(--gold-hi));
  animation: spin 7s linear infinite;
}
.avatar__inner {
  position: absolute; inset: 3.5px;
  border-radius: 50%;
  overflow: hidden;
  display: grid; place-items: center;
  background: radial-gradient(circle at 30% 22%, #2b261d, #111012 70%);
  border: 3px solid var(--bg);
}
.avatar__mono { font-family: var(--display); font-weight: 600; font-size: 42px; letter-spacing: 0.02em; line-height: 1; }
.avatar__inner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.4s; }
.avatar__inner.has-photo img { opacity: 1; }
.avatar__inner.has-photo .avatar__mono { visibility: hidden; }

.status {
  margin-top: 20px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 13px 6px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(20, 20, 22, 0.6);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 500;
}
.status__dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--live); }
.status__dot::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: var(--live);
  animation: ping 2s var(--ease) infinite;
}

.name {
  margin-top: 14px;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2.7rem, 12vw, 3.8rem);
  line-height: 0.95;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
.name span { display: inline-block; }
.role {
  margin-top: 12px;
  font-family: var(--display);
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
}
.bio { margin-top: 12px; max-width: 36ch; color: var(--muted); font-size: 0.98rem; line-height: 1.6; text-wrap: pretty; }

.socials { margin-top: 22px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.social {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  transition: transform 0.25s var(--ease), border-color 0.25s, color 0.25s, background 0.25s;
}
.social svg { width: 20px; height: 20px; }
.social:hover { transform: translateY(-3px); border-color: rgba(217, 168, 78, 0.5); color: var(--gold-hi); background: rgba(217, 168, 78, 0.08); }
.social:focus-visible, .card:focus-visible, .share:focus-visible, .redirect__cancel:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ---------- Statystyki ---------- */
.stats { margin-top: 30px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.stat {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 14px 6px 13px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  text-align: center;
}
.stat__value { font-family: var(--display); font-weight: 600; font-size: 1.55rem; line-height: 1.1; letter-spacing: 0.01em; }
.stat__label { font-size: 0.68rem; line-height: 1.3; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }

/* ---------- Linki ---------- */
.links { margin-top: 18px; display: flex; flex-direction: column; gap: 10px; }
.links__heading {
  display: flex; align-items: center; gap: 12px;
  margin: 16px 4px 2px;
  font-family: var(--display);
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--faint);
}
.links__heading::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--line-2), transparent); }

.card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex; align-items: center; gap: 14px;
  min-height: 74px;
  padding: 13px 14px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.25s var(--ease), border-color 0.25s, box-shadow 0.25s;
}
.card::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(243, 209, 138, 0.13) 50%, transparent 70%);
  transform: translateX(-110%);
  transition: transform 0.8s var(--ease);
}
.card:hover { transform: translateY(-2px); border-color: rgba(217, 168, 78, 0.45); box-shadow: 0 14px 30px -18px rgba(217, 168, 78, 0.45); }
.card:hover::before { transform: translateX(110%); }
.card:active { transform: scale(0.985); }

.card__icon {
  flex: none;
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 13px;
  background: rgba(217, 168, 78, 0.1);
  border: 1px solid rgba(217, 168, 78, 0.22);
  color: var(--gold);
  transition: transform 0.35s var(--ease);
}
.card__icon svg { width: 22px; height: 22px; }
.card:hover .card__icon { transform: rotate(-10deg) scale(1.06); }

.card__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.card__title { font-weight: 600; font-size: 1rem; letter-spacing: -0.005em; line-height: 1.3; }
.card__sub { font-size: 0.84rem; color: var(--muted); line-height: 1.35; }

.card__badge {
  align-self: flex-start;
  margin-bottom: 4px;
  padding: 3px 8px;
  border-radius: 999px;
  font-family: var(--display);
  font-weight: 500;
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.card__arrow {
  flex: none;
  width: 32px; height: 32px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--muted);
  transition: transform 0.3s var(--ease), color 0.25s, border-color 0.25s;
}
.card__arrow svg { width: 16px; height: 16px; }
.card:hover .card__arrow { transform: translateX(3px); color: var(--gold-hi); border-color: rgba(217, 168, 78, 0.5); }

/* wyróżniony link — „złoty talerz” */
.card--featured {
  border-color: transparent;
  background: var(--grad-gold);
  color: var(--ink);
  box-shadow: 0 16px 34px -16px rgba(217, 168, 78, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.card--featured::before { background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.4) 50%, transparent 70%); animation: sheen 4.5s 2.5s var(--ease) infinite; }
.card--featured:hover { border-color: transparent; box-shadow: 0 20px 40px -16px rgba(217, 168, 78, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.35); }
.card--featured .card__icon { background: rgba(23, 19, 12, 0.12); border-color: rgba(23, 19, 12, 0.14); color: var(--ink); }
.card--featured .card__sub { color: rgba(23, 19, 12, 0.72); }
.card--featured .card__badge { background: var(--ink); color: var(--gold-hi); }
.card--featured .card__arrow,
.card--featured:hover .card__arrow { border-color: rgba(23, 19, 12, 0.22); color: var(--ink); }

/* ---------- Formularz kontaktowy ---------- */
.contact { margin-top: 18px; scroll-margin-top: 70px; }
.contact .links__heading { margin-bottom: 12px; }
.contact__card {
  position: relative;
  padding: 18px 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(90% 60% at 50% 0%, rgba(217, 168, 78, 0.08), transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
}
.contact__form { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.contact__head { display: flex; align-items: center; gap: 14px; margin-bottom: 2px; }
.contact__title { font-weight: 600; font-size: 1.05rem; line-height: 1.3; }
.contact__sub { font-size: 0.84rem; color: var(--muted); line-height: 1.4; }
.contact__label {
  display: block;
  margin-bottom: 7px;
  padding: 0;
  font-family: var(--display);
  font-weight: 500;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact__label em { font-style: normal; letter-spacing: 0.08em; color: var(--faint); }
.contact__trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.contact__topics { margin: 0; padding: 0; border: 0; display: flex; flex-wrap: wrap; gap: 8px; min-width: 0; }
.contact__topics legend { float: left; width: 100%; }
.chip { position: relative; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-block;
  padding: 8px 13px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: var(--surface);
  font-size: 0.84rem;
  color: var(--muted);
  transition: color 0.25s, border-color 0.25s, background 0.25s, transform 0.25s var(--ease);
}
.chip:hover span { color: var(--text); border-color: rgba(217, 168, 78, 0.45); }
.chip input:checked + span {
  border-color: transparent;
  background: var(--grad-gold);
  color: var(--ink);
  font-weight: 600;
  box-shadow: 0 8px 20px -12px rgba(217, 168, 78, 0.7);
}
.chip input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }

.field { display: block; }
.field__input {
  display: block;
  width: 100%;
  padding: 12px 14px;
  border-radius: 13px;
  border: 1px solid var(--line-2);
  background: rgba(0, 0, 0, 0.28);
  color: var(--text);
  font: inherit;
  font-size: 1rem; /* ≥16px — bez auto-zoomu na iOS */
  line-height: 1.45;
  transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
}
textarea.field__input { resize: vertical; min-height: 112px; }
.field__input::placeholder { color: var(--faint); }
.field__input:hover { border-color: rgba(255, 255, 255, 0.22); }
.field__input:focus {
  outline: none;
  border-color: rgba(217, 168, 78, 0.7);
  background: rgba(0, 0, 0, 0.36);
  box-shadow: 0 0 0 3px rgba(217, 168, 78, 0.16);
}
.was-validated .field__input:invalid { border-color: rgba(248, 113, 113, 0.65); }
.was-validated .field__input:invalid:focus { box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.16); }
.field__input:-webkit-autofill {
  -webkit-text-fill-color: var(--text);
  -webkit-box-shadow: 0 0 0 40px #1a1814 inset;
  caret-color: var(--text);
}

.contact__error {
  padding: 10px 13px;
  border-radius: 12px;
  border: 1px solid rgba(248, 113, 113, 0.3);
  background: rgba(248, 113, 113, 0.08);
  color: #fca5a5;
  font-size: 0.86rem;
  line-height: 1.4;
}

.contact__submit {
  position: relative;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px;
  margin-top: 2px;
  border: 0;
  border-radius: 14px;
  background: var(--grad-gold);
  color: var(--ink);
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 16px 34px -16px rgba(217, 168, 78, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}
.contact__submit::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.4) 50%, transparent 70%);
  transform: translateX(-110%);
  transition: transform 0.8s var(--ease);
}
.contact__submit:hover { transform: translateY(-2px); box-shadow: 0 20px 40px -16px rgba(217, 168, 78, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.35); }
.contact__submit:hover::before { transform: translateX(110%); }
.contact__submit:active { transform: scale(0.985); }
.contact__submit:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 3px; }
.contact__submit:disabled { cursor: progress; }
.contact__spinner {
  display: none;
  width: 18px; height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(23, 19, 12, 0.25);
  border-top-color: var(--ink);
  animation: spin 0.8s linear infinite;
}
.is-sending .contact__spinner { display: block; }
.is-sending .contact__submit-text { opacity: 0.7; }

.contact__done {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 18px 6px 6px;
  text-align: center;
  outline: none;
  animation: rise 0.6s var(--ease) both;
}
.contact__form[hidden], .contact__done[hidden] { display: none; }
.contact__done .redirect__cancel { margin-top: 14px; }
.contact__check { width: 64px; height: 64px; margin-bottom: 8px; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.contact__check circle { stroke: var(--gold); stroke-width: 2; stroke-dasharray: 151; stroke-dashoffset: 151; animation: draw 0.7s var(--ease) forwards; }
.contact__check path { stroke: var(--gold-hi); stroke-width: 3.5; stroke-dasharray: 36; stroke-dashoffset: 36; animation: draw 0.45s 0.55s var(--ease) forwards; }

/* ---------- Kroki formularza: potwierdzenie i sprawdzenie ---------- */
.form-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }
.form-actions .contact__submit { margin-top: 0; }
.form-back,
.form-link {
  min-height: 48px;
  border-radius: 14px;
  border: 1px solid var(--line-2);
  background: transparent;
  color: var(--muted);
  font-size: 0.92rem;
  transition: color 0.25s, border-color 0.25s;
}
.form-back:hover { color: var(--text); border-color: var(--muted); }
.form-link { min-height: 0; margin-top: 14px; padding: 6px; border: 0; color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.form-link:hover { color: var(--gold-hi); }
.form-back:focus-visible, .form-link:focus-visible, .picker__option:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.form-review { outline: none; animation: rise 0.45s var(--ease) both; display: flex; flex-direction: column; }
.form-review[hidden] { display: none; }
.form-review__head .contact__title { margin-bottom: 14px; font-size: 1.2rem; }
.form-review__form {
  display: flex; flex-direction: column; gap: 6px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(217, 168, 78, 0.35);
  background: rgba(217, 168, 78, 0.08);
}
.form-review__form-label { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.form-review__form-row { display: flex; align-items: center; gap: 10px; color: var(--gold-hi); font-size: 1.02rem; }
.form-review__form-icon svg { width: 20px; height: 20px; display: block; }
.form-review__list {
  margin: 16px 0;
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}
.form-review__list dt {
  padding: 10px 14px 0;
  font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint);
  border-top: 1px solid var(--line);
}
.form-review__list dt:first-child { border-top: 0; }
.form-review__list dd { margin: 2px 0 0; padding: 0 14px 10px; color: var(--text); overflow-wrap: anywhere; white-space: pre-wrap; }
.form-review .contact__error { margin-bottom: 12px; }

.picker { display: flex; flex-direction: column; outline: none; animation: rise 0.45s var(--ease) both; }
.picker__q { margin: 0 44px 16px 0; font-size: 1.2rem; }
.picker__chosen {
  display: flex; align-items: flex-start; gap: 14px;
  margin-bottom: 18px;
  padding: 16px;
  border-radius: var(--radius);
  border: 1px solid rgba(217, 168, 78, 0.45);
  background: linear-gradient(180deg, rgba(217, 168, 78, 0.12), rgba(217, 168, 78, 0.04));
  box-shadow: 0 14px 30px -20px rgba(217, 168, 78, 0.6);
}
.picker__title { font-weight: 600; font-size: 1.05rem; color: var(--gold-hi); margin-bottom: 2px; }
.picker__or { margin-top: 22px; }
.picker__list { display: flex; flex-direction: column; gap: 8px; }
.picker__option {
  display: flex; align-items: center; gap: 12px;
  width: 100%;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--surface);
  text-align: left;
  font-size: 0.95rem;
  transition: border-color 0.25s, background 0.25s;
}
.picker__option:hover { border-color: rgba(217, 168, 78, 0.45); background: rgba(217, 168, 78, 0.06); }
.picker__option > span:nth-child(2) { flex: 1; }
.picker__option-icon, .picker__option-arrow { display: grid; place-items: center; color: var(--gold); }
.picker__option-icon svg { width: 20px; height: 20px; }
.picker__option-arrow { color: var(--muted); }
.picker__option-arrow svg { width: 16px; height: 16px; }
.picker__note {
  margin-bottom: 14px;
  padding: 10px 13px;
  border-radius: 12px;
  border: 1px solid rgba(217, 168, 78, 0.3);
  background: rgba(217, 168, 78, 0.07);
  color: var(--gold-hi);
  font-size: 0.86rem;
}

/* ---------- Okno „Napisz do mnie” ---------- */
.contact-box { gap: 14px; }
.contact-box .contact__head { margin-bottom: 2px; }
.contact-box__how { margin: 6px 0 -4px; }
.contact-ways { display: flex; flex-direction: column; gap: 10px; }
.contact-way {
  display: flex; align-items: center; gap: 14px;
  min-height: 68px;
  padding: 12px 14px;
  border-radius: var(--radius);
  border: 1px solid var(--line-2);
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.25s var(--ease), border-color 0.25s, background 0.25s, box-shadow 0.25s;
}
.contact-way:hover { transform: translateY(-2px); border-color: rgba(217, 168, 78, 0.5); background: rgba(217, 168, 78, 0.06); }
.contact-way:active { transform: scale(0.985); }
.contact-way:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.contact-way__icon {
  flex: none;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 13px;
  background: rgba(217, 168, 78, 0.1);
  border: 1px solid rgba(217, 168, 78, 0.22);
  color: var(--gold);
}
.contact-way__icon svg { width: 22px; height: 22px; }
.contact-way__text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.contact-way__text strong { font-weight: 600; font-size: 1rem; }
.contact-way__text span { font-size: 0.84rem; color: var(--muted); overflow-wrap: anywhere; }
.contact-way__arrow { flex: none; color: var(--muted); display: grid; place-items: center; }
.contact-way__arrow svg { width: 16px; height: 16px; }
.contact-way--mail {
  border-color: transparent;
  background: var(--grad-gold);
  color: var(--ink);
  box-shadow: 0 16px 34px -16px rgba(217, 168, 78, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.contact-way--mail:hover { border-color: transparent; background: var(--grad-gold); }
.contact-way--mail .contact-way__icon { background: rgba(23, 19, 12, 0.12); border-color: rgba(23, 19, 12, 0.14); color: var(--ink); }
.contact-way--mail .contact-way__text span, .contact-way--mail .contact-way__arrow { color: rgba(23, 19, 12, 0.72); }
.contact-box__note { font-size: 0.78rem; color: var(--faint); line-height: 1.45; }

.contact__lock { width: 54px; height: 54px; margin-bottom: 8px; color: var(--gold); stroke-width: 1.6; }
.contact__done--locked .contact__sub { max-width: 40ch; }

/* ---------- Wysuwany panel z formularzem ---------- */
.sheet {
  position: fixed; inset: 0; z-index: 80;
  display: flex; align-items: flex-end; justify-content: center;
  visibility: hidden;
  transition: visibility 0s 0.4s;
}
.sheet.is-active { visibility: visible; transition: none; }
.sheet__backdrop {
  position: absolute; inset: 0;
  background: rgba(5, 5, 6, 0.72);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}
.sheet.is-active .sheet__backdrop { opacity: 1; }
.sheet__panel {
  position: relative;
  width: 100%;
  max-width: 560px;
  max-height: calc(100dvh - 24px - env(safe-area-inset-top));
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 22px 16px calc(22px + env(safe-area-inset-bottom));
  border: 1px solid var(--line-2);
  border-bottom: 0;
  border-radius: 24px 24px 0 0;
  background:
    radial-gradient(90% 40% at 50% 0%, rgba(217, 168, 78, 0.12), transparent 70%),
    var(--bg-2);
  box-shadow: 0 -20px 60px -20px rgba(0, 0, 0, 0.8);
  transform: translateY(104%);
  transition: transform 0.4s var(--ease);
}
.sheet__panel::before {
  content: "";
  position: absolute; top: 8px; left: 50%;
  width: 40px; height: 4px; margin-left: -20px;
  border-radius: 4px;
  background: var(--line-2);
}
.sheet.is-active .sheet__panel { transform: none; }
.sheet__panel:focus { outline: none; }
.sheet__close {
  position: absolute; top: 14px; right: 14px; z-index: 1;
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(18, 18, 20, 0.8);
  color: var(--muted);
  transition: color 0.25s, border-color 0.25s;
}
.sheet__close svg { width: 18px; height: 18px; }
.sheet__close:hover { color: var(--text); border-color: var(--muted); }
.sheet__close:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.sheet .contact__head { padding-right: 44px; }

/* ---------- Motto + stopka ---------- */
.motto {
  margin-top: 34px;
  padding: 24px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(80% 120% at 50% 0%, rgba(217, 168, 78, 0.09), transparent 70%),
    var(--surface);
  text-align: center;
}
.motto__icon { width: 28px; height: 28px; color: var(--gold); stroke-width: 2; }
.motto blockquote {
  margin-top: 10px;
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.22rem;
  line-height: 1.32;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-wrap: balance;
}

.footer { margin-top: 28px; text-align: center; font-size: 0.8rem; color: var(--faint); }
.footer__sub { margin-top: 2px; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; }

.noscript { margin-top: 20px; text-align: center; color: var(--muted); }
.noscript a { color: var(--gold); }

/* ---------- Przycisk udostępniania ---------- */
.share {
  position: fixed;
  top: calc(14px + env(safe-area-inset-top));
  right: 14px;
  z-index: 20;
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(18, 18, 20, 0.7);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: border-color 0.25s, color 0.25s, transform 0.25s var(--ease);
}
.share svg { width: 18px; height: 18px; }
.share:hover { color: var(--gold-hi); border-color: rgba(217, 168, 78, 0.5); transform: translateY(-1px); }

/* ---------- Animacja wejścia ---------- */
body.is-loading .reveal { opacity: 0; }
body.is-ready .reveal { animation: rise 0.75s var(--ease) backwards; animation-delay: var(--d, 0ms); }
.hero.reveal { --d: 0ms; }
.stats.reveal { --d: 140ms; }
.links .reveal { --d: calc(var(--i, 0) * 55ms + 220ms); }
.contact.reveal { --d: 600ms; }
.motto.reveal { --d: 650ms; }
.footer.reveal { --d: 750ms; }

/* =====================================================================
   Animowane ludziki (SVG)
   ===================================================================== */
.figure { display: block; width: 100%; height: 100%; overflow: visible; }
.figure .fig-limb { fill: none; stroke: var(--text); stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; }
.figure .fig-torso { stroke-width: 8.5; }
.figure .fig-upper { stroke-width: 8; }
.figure .fig-head, .figure .fig-hand { fill: var(--text); stroke: none; }
.figure .fig-shadow { fill: var(--gold); opacity: 0.18; stroke: none; }
.figure .bar-steel { stroke: var(--steel); stroke-width: 3.5; stroke-linecap: round; }
.figure .bar-collar { fill: #8b8e95; stroke: none; }
.figure .plate { fill: var(--gold-lo); stroke: none; }
.figure .plate--big { fill: var(--gold); }
.figure .fig-bicep { fill: var(--text); stroke: var(--text); stroke-width: 3; stroke-linejoin: round; }
.figure .fig-back { opacity: 0.32; }
.figure .fig-pump { fill: var(--gold); stroke: var(--gold); }
.figure .fig-plus { fill: var(--gold-hi); stroke: none; font-family: var(--display); font-weight: 700; font-size: 17px; }

/* ---------- Ekran ładowania ---------- */
.loader {
  position: fixed; inset: 0; z-index: 100;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 24px;
  background:
    radial-gradient(55% 40% at 50% 42%, rgba(217, 168, 78, 0.13), transparent 70%),
    var(--bg);
  cursor: pointer;
  transition: opacity 0.6s var(--ease), visibility 0.6s;
  /* zabezpieczenie: gdyby JS nie zadziałał, loader i tak zniknie */
  animation: failsafe 0.4s 9s forwards;
}
.loader.is-done { opacity: 0; visibility: hidden; }
.loader.is-done .loader__stage { transform: scale(1.08) translateY(-6px); }
.loader__stage {
  position: relative;
  width: min(210px, 56vw);
  aspect-ratio: 1;
  transition: transform 0.6s var(--ease);
}
.loader__stage::after {
  content: "";
  position: absolute; left: 4%; right: 4%; bottom: 8.6%;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, rgba(217, 168, 78, 0.55), transparent);
}
.loader__label {
  position: relative;
  margin-top: 14px;
  font-family: var(--display);
  font-weight: 500;
  font-size: 0.82rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text);
  min-height: 1.4em;
}
.loader__dots { position: absolute; left: calc(100% - 0.2em); bottom: 0; width: 0; overflow: hidden; animation: dots 1.2s steps(4) infinite; }
.loader__dots::before { content: "..."; }
.loader__bar {
  margin-top: 14px;
  width: 170px; height: 3px;
  border-radius: 3px;
  background: var(--line);
  overflow: hidden;
}
.loader__bar span { display: block; width: 0; height: 100%; border-radius: inherit; background: var(--grad-gold); box-shadow: 0 0 12px rgba(217, 168, 78, 0.6); }
.loader__hint { margin-top: 18px; font-size: 0.7rem; color: var(--faint); letter-spacing: 0.08em; }

/* ---------- Przekierowanie ---------- */
.redirect {
  position: fixed; inset: 0; z-index: 90;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 24px;
  background: rgba(9, 9, 10, 0.88);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  opacity: 0; visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s;
}
.redirect.is-active { opacity: 1; visibility: visible; }
.redirect__stage {
  width: min(190px, 52vw);
  aspect-ratio: 1;
  transform: scale(0.9);
  transition: transform 0.45s var(--ease);
}
.redirect.is-active .redirect__stage { transform: none; }
.redirect__label {
  margin-top: 8px;
  font-family: var(--display);
  font-size: 0.75rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--muted);
}
.redirect__title {
  margin-top: 4px;
  max-width: 90vw;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.8rem, 8vw, 2.4rem);
  line-height: 1.1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-align: center;
}
.redirect__bar { margin-top: 18px; width: 200px; height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; }
.redirect__bar span { display: block; width: 0; height: 100%; background: var(--grad-gold); box-shadow: 0 0 12px rgba(217, 168, 78, 0.6); }
.redirect__cancel {
  margin-top: 22px;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: transparent;
  color: var(--muted);
  font-size: 0.82rem;
  transition: color 0.2s, border-color 0.2s;
}
.redirect__cancel:hover { color: var(--text); border-color: var(--muted); }

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: calc(22px + env(safe-area-inset-bottom));
  z-index: 95;
  max-width: calc(100vw - 32px);
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(217, 168, 78, 0.35);
  background: rgba(24, 22, 19, 0.95);
  color: var(--text);
  font-size: 0.88rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.6);
  opacity: 0;
  transform: translate(-50%, 16px);
  pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Klatki kluczowe ---------- */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes ping { 0% { transform: scale(1); opacity: 0.7; } 80%, 100% { transform: scale(2.6); opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes sheen { 0% { transform: translateX(-110%); } 30%, 100% { transform: translateX(110%); } }
@keyframes dots { to { width: 1.2em; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes failsafe { to { opacity: 0; visibility: hidden; pointer-events: none; } }

/* ---------- Większe ekrany ---------- */
@media (min-width: 640px) {
  .page { padding-top: 80px; }
  .card { padding: 15px 16px; }
  .stat__value { font-size: 1.75rem; }
  .contact__card { padding: 22px 20px; }
  .sheet { align-items: center; padding: 24px; }
  .sheet__panel { padding: 26px 24px; border-bottom: 1px solid var(--line-2); border-radius: 24px; transform: translateY(24px) scale(0.98); opacity: 0; transition: transform 0.4s var(--ease), opacity 0.3s; }
  .sheet__panel::before { display: none; }
  .sheet.is-active .sheet__panel { opacity: 1; }
  .contact__form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact__form > * { grid-column: 1 / -1; }
  .contact__form > .field--half { grid-column: auto; }
}

/* ---------- Ograniczony ruch ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .loader { animation: failsafe 0.01ms 9s forwards !important; }
}
