/* ==========================================================================
   Amber Bear — propozycja nowego wyglądu (2026)
   Jeden arkusz dla obu światów. Motyw wybiera klasa na <body>:
   .w-leather  jasny, papierowy, koniakowy akcent
   .w-it       ciemny grafit, limonkowy akcent
   .w-gate     ekran wyboru
   ========================================================================== */

/* --- Fonty (z własnego serwera, bez Google) ------------------------
   Playfair Display, Geist, Geist Mono — licencja SIL OFL 1.1,
   patrz assets/fonts/LICENSE.txt. Tylko znaki łacińskie z polskimi. */
@font-face {
  font-family: "Geist"; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url("../fonts/geist-normal-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Geist"; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url("../fonts/geist-normal-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;
}
@font-face {
  font-family: "Geist Mono"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/geist-mono-normal-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Geist Mono"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/geist-mono-normal-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;
}
@font-face {
  font-family: "Geist Mono"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/geist-mono-normal-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Geist Mono"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/geist-mono-normal-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;
}
@font-face {
  font-family: "Playfair Display"; font-style: italic; font-weight: 400 700; font-display: swap;
  src: url("../fonts/playfair-display-italic-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Playfair Display"; font-style: italic; font-weight: 400 700; font-display: swap;
  src: url("../fonts/playfair-display-italic-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;
}
@font-face {
  font-family: "Playfair Display"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("../fonts/playfair-display-normal-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Playfair Display"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("../fonts/playfair-display-normal-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;
}

/* --- Tokens ------------------------------------------------------------- */
:root {
  --ff-display: "Playfair Display", "Bodoni 72", Didot, Georgia, serif;
  --ff-body:    "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ff-mono:    "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --pad-x: clamp(16px, 4.5vw, 56px);
  --maxw:  1360px;
  --r-xl:  28px;
  --r-lg:  18px;
  --r-md:  12px;
  --r-sm:  8px;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-spring: cubic-bezier(.34, 1.4, .64, 1);

  --z-head: 30;
  --z-grain: 40;
  --z-dialog: 50;
}

.w-leather, .w-gate {
  --bg:       #f2ece3;
  --bg-2:     #e9e0d2;
  --surface:  #fbf8f3;
  --ink:      #1d1712;
  --ink-2:    #4a3e33;
  --muted:    #7a6a5b;
  --line:     rgba(42, 30, 20, .12);
  --line-2:   rgba(42, 30, 20, .22);
  --accent:   #5c0f08;          /* oxblood z logo */
  --accent-2: #e2b39c;          /* jasny akcent na ciemnym tle */
  --on-accent:#fbf8f3;
  --shadow:   0 1px 0 rgba(255,255,255,.6) inset, 0 30px 60px -30px rgba(70, 18, 10, .35);
  --deep:     #2a0d09;          /* ciemne tło kart: przygaszony oxblood */
  color-scheme: light;
}

.w-it {
  --bg:       #0e100f;
  --bg-2:     #151816;
  --surface:  #191c1a;
  --ink:      #e9ece6;
  --ink-2:    #b9beb5;
  --muted:    #828a80;
  --line:     rgba(233, 236, 230, .09);
  --line-2:   rgba(233, 236, 230, .18);
  --accent:   #c9e46a;          /* limonka, przygaszona */
  --accent-2: #e0f29a;
  --on-accent:#0e100f;
  --shadow:   0 1px 0 rgba(255,255,255,.05) inset, 0 30px 60px -30px rgba(0,0,0,.7);
  color-scheme: dark;
}

/* --- Reset -------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--ff-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
p { margin: 0; text-wrap: pretty; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; text-wrap: balance; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, textarea { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--accent); color: var(--on-accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.skip {
  position: fixed; top: 12px; left: 12px; z-index: 100;
  padding: 10px 16px; border-radius: 999px;
  background: var(--ink); color: var(--bg);
  transform: translateY(-200%); transition: transform 200ms var(--ease-out);
}
.skip:focus { transform: none; }

/* Ziarno — zdejmuje cyfrową płaskość z jasnego tła */
.w-leather::after, .w-gate::after {
  content: "";
  position: fixed; inset: 0; z-index: var(--z-grain);
  pointer-events: none;
  opacity: .32;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .45  0 0 0 0 .32  0 0 0 0 .2  0 0 0 .22 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* Przejścia między stronami (Chrome, Edge, Safari 18+) */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: 260ms var(--ease-out) both vt-out; }
::view-transition-new(root) { animation: 420ms var(--ease-out) both vt-in; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-8px); } }
@keyframes vt-in  { from { opacity: 0; transform: translateY(12px); } }

/* --- Typografia --------------------------------------------------------- */
.label {
  font-family: var(--ff-mono);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}
.label--accent { color: var(--accent); }
.w-leather .label, .w-gate .label {
  font-family: var(--ff-body); font-weight: 500; font-size: 11.5px; letter-spacing: .22em;
}

.display {
  font-family: var(--ff-display);
  font-weight: 400;
  font-size: clamp(46px, 9.6vw, 156px);
  line-height: 1.04;
  letter-spacing: -.025em;
}
.display em {
  font-style: italic;
  color: var(--accent);
}

.h2 {
  font-family: var(--ff-display);
  font-weight: 400;
  font-size: clamp(34px, 5.4vw, 76px);
  line-height: 1.02;
  letter-spacing: -.02em;
}
.h2 em { font-style: italic; color: var(--accent); }

.h3 {
  font-family: var(--ff-display);
  font-weight: 450;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.1;
  letter-spacing: -.015em;
}

.lead {
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 44ch;
}
.body { color: var(--ink-2); max-width: 62ch; }
.muted { color: var(--muted); }

.w-it .display, .w-it .h2, .w-it .h3 {
  font-family: var(--ff-body);
  font-weight: 500;
  letter-spacing: -.045em;
}
.w-it .display { font-size: clamp(44px, 8.6vw, 136px); line-height: .92; }
.w-it .h3 { font-weight: 550; letter-spacing: -.02em; }
.w-it .display em, .w-it .h2 em {
  font-family: var(--ff-display);
  font-weight: 350;
  letter-spacing: -.03em;
}

/* --- Układ -------------------------------------------------------------- */
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad-x); }
.section { padding-block: clamp(80px, 12vw, 168px) clamp(88px, 13vw, 184px); }
.section--tint { background: var(--bg-2); }
.section__head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: clamp(40px, 6vw, 80px);
}
@media (min-width: 900px) {
  .section__head { grid-template-columns: 1fr 1fr; align-items: end; }
  .section__head > :last-child { justify-self: end; }
}

/* --- Nagłówek: pływająca kapsuła --------------------------------------- */
.head {
  position: sticky; top: 12px; z-index: var(--z-head);
  margin: 12px auto 0;
  width: min(calc(100% - 24px), 980px);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 8px 8px 8px 18px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 72%, transparent);
  border: 1px solid var(--line);
  box-shadow: 0 10px 30px -18px rgba(0,0,0,.35);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
}
.mark {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--ff-display); font-size: 19px; letter-spacing: -.02em;
}
.mark__ab {
  display: grid; place-items: center;
  width: 32px; height: 32px; border-radius: 10px;
  background: var(--ink); color: var(--bg);
}
.w-it .mark { font-family: var(--ff-mono); font-size: 15px; letter-spacing: -.02em; }
.w-it .mark b { color: var(--accent); font-weight: 500; }
.w-it .mark__ab { background: var(--accent); color: var(--on-accent); font-style: normal; font-family: var(--ff-mono); font-size: 12px; }

.nav { display: flex; align-items: center; gap: 2px; }
.nav a {
  padding: 9px 14px; border-radius: 999px;
  font-size: 14px; color: var(--ink-2);
  transition: background 200ms ease, color 200ms ease;
}
.nav a:hover { background: var(--line); color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); background: var(--line); }
.nav .nav__lang {
  font-family: var(--ff-mono); font-size: 12px; letter-spacing: .04em;
  color: var(--muted);
}
.nav .nav__switch {
  margin-left: 6px;
  background: var(--ink); color: var(--bg);
}
.nav .nav__switch:hover { background: var(--accent); color: var(--on-accent); }
.nav__hide { display: none; }
@media (min-width: 720px) { .nav__hide { display: inline; } }
@media (max-width: 600px) {
  .nav__opt { display: none; }          /* kontakt jest i tak w treści strony */
  .hero__badge { display: none; }
}
@media (max-width: 560px) {
  .head { padding-left: 10px; }
  .mark__name { display: none; }
  .nav a { padding: 9px 11px; font-size: 13px; }
}

/* --- Przyciski ---------------------------------------------------------- */
.btn {
  --btn-bg: var(--ink); --btn-fg: var(--bg);
  position: relative;
  display: inline-flex; align-items: center; gap: 12px;
  min-height: 52px;
  padding: 6px 6px 6px 24px;
  border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg);
  font-size: 15px; font-weight: 500;
  transition: transform 300ms var(--ease-spring), background 200ms ease;
}
.btn__ico {
  display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: color-mix(in srgb, var(--btn-fg) 14%, transparent);
  transition: transform 400ms var(--ease-spring);
}
.btn:hover .btn__ico { transform: translateX(3px) rotate(-45deg); }
.btn:active { transform: scale(.97); }
.btn--accent { --btn-bg: var(--accent); --btn-fg: var(--on-accent); }
.btn--line {
  --btn-bg: transparent; --btn-fg: var(--ink);
  border: 1px solid var(--line-2);
  padding-right: 24px;
}
.btn--line:hover { border-color: var(--ink); }
.btn:disabled { opacity: .45; cursor: not-allowed; }

.link {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--ff-mono); font-size: 13px; letter-spacing: .04em; text-transform: uppercase;
  color: var(--ink);
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  padding-bottom: 3px;
  transition: background-size 400ms var(--ease-out);
}
.link:hover { background-size: 100% 1px; }

.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 12px; border-radius: var(--r-sm);
  border: 1px solid var(--line-2);
  font-family: var(--ff-mono); font-size: 12px; color: var(--ink-2);
}
.chip--dot::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: currentColor;
}
.chip--ready { color: #3f7a3a; border-color: rgba(63,122,58,.35); }
.chip--order { color: var(--accent); border-color: color-mix(in srgb, var(--accent) 40%, transparent); }
.w-it .chip--ready { color: var(--accent); border-color: color-mix(in srgb, var(--accent) 40%, transparent); }
.w-it .chip--order { color: #e8b26a; border-color: rgba(232,178,106,.35); }

/* --- Pojawianie się przy przewijaniu ----------------------------------
   Czysty CSS (animation-timeline). Starsze przeglądarki po prostu
   pokazują treść bez animacji.                                         */
@supports (animation-timeline: view()) {
  .reveal {
    animation: reveal linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 55%;
  }
  .reveal-img {
    animation: reveal-img linear both;
    animation-timeline: view();
    animation-range: entry 0% cover 40%;
  }
}
@keyframes reveal { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
@keyframes reveal-img { from { clip-path: inset(18% 8% 0 8% round var(--r-xl)); transform: scale(1.06); } to { clip-path: inset(0 0 0 0 round var(--r-xl)); transform: none; } }

.rise { animation: rise 900ms var(--ease-out) both; }
.rise:nth-child(2) { animation-delay: 90ms; }
.rise:nth-child(3) { animation-delay: 180ms; }
.rise:nth-child(4) { animation-delay: 270ms; }
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }

/* ==========================================================================
   EKRAN WYBORU
   ========================================================================== */
.gate {
  display: grid;
  grid-template-rows: 1fr 1fr;
  min-height: 100dvh;
  padding: 12px;
  gap: 12px;
  background: var(--bg);
}
.gate__panel {
  position: relative;
  display: flex; flex-direction: column; justify-content: space-between;
  min-height: 46dvh;
  padding: clamp(20px, 3.2vw, 44px);
  border-radius: var(--r-xl);
  overflow: hidden;
  isolation: isolate;
  transition: flex-grow 700ms var(--ease-out);
}
.gate__panel picture { position: absolute; inset: 0; z-index: -2; }
.gate__panel img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1200ms var(--ease-out), filter 700ms ease;
}
.gate__panel::before { content: ""; position: absolute; inset: 0; z-index: -1; }
.gate__panel:hover img { transform: scale(1.05); }

.gate__panel--leather { color: #fbf6ef; }
.gate__panel--leather::before { background: linear-gradient(180deg, rgba(36,20,8,.15) 0%, rgba(36,20,8,.2) 40%, rgba(36,20,8,.82) 100%); }
.gate__panel--it { color: #e9ece6; background: #0e100f; }
.gate__panel--it img { filter: grayscale(1) contrast(1.1) brightness(.5); }
.gate__panel--it::before { background: linear-gradient(180deg, rgba(14,16,15,.4), rgba(14,16,15,.9)); }

.gate__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.gate__label {
  font-family: var(--ff-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
  padding: 7px 12px; border-radius: 999px;
  background: rgba(255,255,255,.14); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.gate__panel--it .gate__label { color: #c9e46a; background: rgba(201,228,106,.1); }

.gate__arrow {
  display: grid; place-items: center;
  width: 52px; height: 52px; border-radius: 50%;
  background: #fbf6ef; color: #1d1712;
  transition: transform 500ms var(--ease-spring);
}
.gate__panel--it .gate__arrow { background: #c9e46a; color: #0e100f; }
.gate__panel:hover .gate__arrow { transform: rotate(-45deg) scale(1.08); }

.gate__word {
  font-family: var(--ff-display);
  font-weight: 350;
  font-style: italic;
  font-size: clamp(56px, 11.5vw, 200px);
  line-height: .82;
  letter-spacing: -.045em;
}
.gate__panel--it .gate__word {
  font-family: var(--ff-mono); font-style: normal; font-weight: 400;
  letter-spacing: -.08em;
}
.gate__panel--it .gate__word b { color: #c9e46a; font-weight: 400; }
.gate__desc { max-width: 34ch; margin-top: 14px; font-size: 15px; line-height: 1.5; opacity: .82; }

.gate__bar {
  position: absolute; left: 50%; top: 24px; z-index: 5;
  transform: translateX(-50%);
  display: flex; align-items: center; gap: 14px;
  padding: 6px 6px 6px 8px; border-radius: 999px;
  background: rgba(251,248,243,.82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line);
  color: #1d1712;
}
.gate__lang { display: flex; gap: 2px; font-family: var(--ff-mono); font-size: 12px; }
.gate__lang a, .gate__lang span { padding: 7px 10px; border-radius: 999px; }
.gate__lang span { background: #1d1712; color: #fbf8f3; }


/* Telefon: pasek z logo leży nad pierwszym panelem — etykieta schodzi niżej */
@media (max-width: 859px) {
  .gate__panel--leather { padding-top: 84px; }
}

@media (min-width: 860px) {
  .gate { display: flex; padding: 16px; gap: 16px; }
  .gate__panel { flex: 1 1 0; min-height: auto; padding-top: 96px; }
  .gate:has(.gate__panel--leather:hover) .gate__panel--leather,
  .gate:has(.gate__panel--it:hover) .gate__panel--it { flex-grow: 1.45; }
}

.gate-intro { padding-block: clamp(72px, 10vw, 140px); }
.gate-intro__grid { display: grid; gap: clamp(32px, 5vw, 80px); }
@media (min-width: 900px) { .gate-intro__grid { grid-template-columns: 5fr 7fr; } }
.gate-intro .body + .body { margin-top: 18px; }
.gate-intro strong { color: var(--ink); font-weight: 600; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* ==========================================================================
   LEATHER — strona główna
   ========================================================================== */
.hero { padding-top: clamp(48px, 9vw, 120px); padding-bottom: clamp(56px, 8vw, 120px); }
.hero__top { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: clamp(28px, 4vw, 48px); }
.hero__title { max-width: 12ch; }
.hero__title .indent { display: block; padding-left: clamp(0px, 9vw, 200px); }
.hero__grid {
  display: grid; gap: clamp(28px, 4vw, 56px);
  margin-top: clamp(36px, 5vw, 72px);
}
@media (min-width: 900px) {
  .hero__grid { grid-template-columns: 4fr 8fr; align-items: end; }
}
.hero__side { display: grid; gap: 28px; align-content: end; }
.hero__media {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  box-shadow: var(--shadow);
}
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__badge {
  position: absolute; left: 16px; bottom: 16px;
  display: flex; gap: 14px; align-items: center;
  padding: 10px 16px 10px 10px; border-radius: 999px;
  background: rgba(251,248,243,.86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  font-size: 13px; color: var(--ink);
}
.hero__badge b { font-family: var(--ff-display); font-weight: 450; font-size: 18px; }
.hero__badge .mark__ab { width: 38px; height: 38px; border-radius: 50%; background: var(--accent); color: #fff; }

/* Pasek z hasłami */
.ticker {
  overflow: hidden;
  border-block: 1px solid var(--line);
  padding-block: 18px;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.ticker__track {
  display: flex; gap: 48px; width: max-content;
  animation: ticker 40s linear infinite;
  font-family: var(--ff-display); font-style: italic; font-size: clamp(22px, 2.6vw, 34px);
  color: var(--ink-2);
}
.ticker__track span::after { content: "✳"; font-style: normal; color: var(--accent); margin-left: 48px; font-size: .7em; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* O mnie */
.about { display: grid; gap: clamp(36px, 6vw, 96px); }
@media (min-width: 900px) { .about { grid-template-columns: 5fr 7fr; } }
.about__quote {
  font-family: var(--ff-display); font-weight: 350;
  font-size: clamp(26px, 3vw, 40px); line-height: 1.18; letter-spacing: -.02em;
  max-width: 24ch;
}
.about__quote em { color: var(--accent); }
.notes { display: grid; gap: 0; margin-top: clamp(32px, 4vw, 56px); }
.note {
  display: grid; grid-template-columns: 56px 1fr; gap: 8px 20px;
  padding-block: 28px;
  border-top: 1px solid var(--line-2);
}
.note:last-child { border-bottom: 1px solid var(--line-2); }
.note__n { font-family: var(--ff-mono); font-size: 13px; color: var(--accent); padding-top: 6px; }
.note .h3 { margin-bottom: 10px; }
.note .body { grid-column: 2; }

/* Szew siodlarski */
.craft { display: grid; gap: clamp(32px, 5vw, 80px); align-items: center; }
@media (min-width: 900px) { .craft { grid-template-columns: 7fr 5fr; } }
.craft__media {
  position: relative; display: block; width: 100%;
  border-radius: var(--r-xl); overflow: hidden;
  aspect-ratio: 4 / 5;
}
.craft__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease-out); }
.craft__media:hover img { transform: scale(1.04); }
.zoom {
  position: absolute; right: 16px; top: 16px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px;
  background: rgba(251,248,243,.88); color: #1d1712;
  font-family: var(--ff-mono); font-size: 12px;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.stitch { width: 100%; height: 24px; margin-block: 28px; color: var(--accent); }
.stitch line { stroke-dasharray: 10 8; }
@supports (animation-timeline: view()) {
  .stitch line {
    stroke-dashoffset: 0;
    animation: stitch linear both;
    animation-timeline: view();
    animation-range: entry 20% cover 60%;
  }
}
@keyframes stitch { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
.specs {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  background: var(--line-2); border: 1px solid var(--line-2); border-radius: var(--r-lg); overflow: hidden;
  margin-top: 32px;
}
.specs div { background: var(--bg); padding: 18px 20px; }
.specs b { display: block; font-family: var(--ff-display); font-weight: 400; font-size: 30px; letter-spacing: -.02em; }
.specs span { font-size: 13px; color: var(--muted); }

/* Produkty — siatka bento */
.bento {
  display: grid; gap: 16px;
  grid-template-columns: 1fr;
}
@media (min-width: 680px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) {
  .bento { grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(240px, auto); }
  .bento .prod--hero { grid-column: span 2; grid-row: span 2; }
  .bento .prod--wide { grid-column: span 2; }
}
.prod {
  position: relative;
  display: flex; flex-direction: column;
  border-radius: var(--r-xl);
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 500ms var(--ease-out), box-shadow 500ms var(--ease-out);
}
.prod:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.prod__media { display: block; width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-2); }
.prod--hero .prod__media { aspect-ratio: auto; flex: 1; min-height: 360px; }
.prod__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease-out); }
.prod:hover .prod__media img { transform: scale(1.05); }
.prod__body { display: grid; gap: 10px; padding: 20px 22px 22px; }
.prod__row { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.prod__price { font-family: var(--ff-mono); font-size: 14px; font-variant-numeric: tabular-nums; }
.prod__meta { font-size: 14px; color: var(--muted); max-width: 42ch; }
.prod__order { margin-top: 6px; justify-self: start; min-height: 46px; }
.prod__order .btn__ico { width: 34px; height: 34px; }
.prod__order.btn--line { padding: 6px 6px 6px 20px; }
.prod__count {
  position: absolute; top: 14px; left: 14px;
  padding: 5px 10px; border-radius: 999px;
  background: rgba(251,248,243,.88); color: #1d1712;
  font-family: var(--ff-mono); font-size: 11px;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.w-it .prod__count { background: rgba(14,16,15,.7); color: var(--ink); }

/* Proces — karty, które się nakładają przy przewijaniu */
.process { display: grid; gap: 16px; }
.step {
  position: sticky;
  top: calc(96px + var(--i) * 18px);
  display: grid; gap: 16px 40px;
  grid-template-columns: 1fr;
  padding: clamp(24px, 4vw, 48px);
  border-radius: var(--r-xl);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 -18px 40px -30px rgba(74,44,20,.35);
}
@media (min-width: 800px) {
  .step { grid-template-columns: 120px 1fr 1fr; align-items: start; }
}
.step__n {
  font-family: var(--ff-display); font-style: italic; font-weight: 300;
  font-size: clamp(56px, 7vw, 96px); line-height: .8; color: var(--accent);
}
.step .h3 { font-size: clamp(26px, 3vw, 40px); }

/* Kontakt */
.contact {
  display: grid; gap: clamp(32px, 5vw, 72px);
  padding: clamp(24px, 5vw, 72px);
  border-radius: var(--r-xl);
  background: var(--deep); color: var(--bg);
}
.w-it .contact { background: var(--surface); color: var(--ink); border: 1px solid var(--line); }
@media (min-width: 960px) { .contact { grid-template-columns: 5fr 6fr; } }
.contact .h2 em { color: var(--accent-2); }
.contact__lead { margin-top: 20px; max-width: 40ch; opacity: .72; }
.contact__links { display: grid; gap: 4px; margin-top: 40px; }
.contact__links a {
  display: flex; justify-content: space-between; align-items: center;
  padding-block: 16px; border-bottom: 1px solid color-mix(in srgb, currentColor 18%, transparent);
  font-size: clamp(17px, 1.8vw, 22px);
  transition: padding 300ms var(--ease-out), color 200ms ease;
}
.contact__links a:hover { padding-left: 10px; color: var(--accent-2); }
.contact__links a span { font-family: var(--ff-mono); font-size: 12px; opacity: .55; text-transform: uppercase; }

.form { display: grid; gap: 12px; align-content: start; }
.form__row { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.field { position: relative; display: block; }
.field input, .field textarea {
  width: 100%;
  padding: 26px 18px 12px;
  border-radius: var(--r-md);
  border: 1px solid color-mix(in srgb, currentColor 18%, transparent);
  background: color-mix(in srgb, currentColor 5%, transparent);
  font-size: 16px;
  transition: border-color 200ms ease, background 200ms ease;
}
.field textarea { min-height: 150px; resize: vertical; }
.field span {
  position: absolute; left: 19px; top: 9px;
  font-family: var(--ff-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase;
  opacity: .6; pointer-events: none;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent-2); background: color-mix(in srgb, currentColor 8%, transparent); }
.field input:user-invalid { border-color: #d9744f; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 13px; line-height: 1.5; opacity: .75; cursor: pointer; }
.consent input { width: 18px; height: 18px; margin: 1px 0 0; flex: none; accent-color: var(--accent); }
.form__actions { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; margin-top: 6px; }
.contact .btn { --btn-bg: var(--accent-2); --btn-fg: #1d1712; }
.w-it .contact .btn { --btn-bg: var(--accent); --btn-fg: var(--on-accent); }
.form__note { font-family: var(--ff-mono); font-size: 12px; opacity: .7; }
.form__note[data-state="error"] { color: #f0a080; opacity: 1; }

.social {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 28px;
  font-family: var(--ff-mono); font-size: 13px; opacity: .8;
}
.social:hover { opacity: 1; color: var(--accent-2); }

/* Stopka */
.foot { padding-block: clamp(56px, 8vw, 96px) 28px; }
.foot__big {
  font-family: var(--ff-display); font-style: italic; font-weight: 300;
  font-size: clamp(64px, 17vw, 260px); line-height: .8; letter-spacing: -.05em;
  color: var(--ink);
  opacity: .92;
}
.w-it .foot__big { font-family: var(--ff-mono); font-style: normal; letter-spacing: -.09em; font-size: clamp(44px, 13vw, 200px); }
.w-it .foot__big b { color: var(--accent); font-weight: 400; }
.foot__bar {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line-2);
  font-size: 13px; color: var(--muted);
}
.foot__bar nav { display: flex; gap: 20px; flex-wrap: wrap; }
.foot__bar a:hover { color: var(--ink); }

/* ==========================================================================
   WYROBY — galeria
   ========================================================================== */
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.filters button {
  padding: 10px 16px; border-radius: 999px;
  border: 1px solid var(--line-2);
  font-size: 14px; color: var(--ink-2);
  transition: background 200ms ease, color 200ms ease, border-color 200ms ease;
}
.filters button:hover { border-color: var(--ink); }
.filters button[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.filters sup { font-family: var(--ff-mono); font-size: 10px; margin-left: 4px; opacity: .6; }

.works { columns: 1; column-gap: 16px; }
@media (min-width: 640px)  { .works { columns: 2; } }
@media (min-width: 1040px) { .works { columns: 3; } }
.works .prod { break-inside: avoid; margin-bottom: 16px; }
.works .prod__media { aspect-ratio: auto; }
.works .prod:nth-child(3n+1) .prod__media { aspect-ratio: 4 / 5; }
.works .prod:nth-child(3n+2) .prod__media { aspect-ratio: 1 / 1; }
.works .prod:nth-child(3n)   .prod__media { aspect-ratio: 4 / 3; }
.works .prod[hidden] { display: none; }

.cta-band {
  display: grid; gap: 24px; align-items: center;
  margin-top: clamp(48px, 7vw, 96px);
  padding: clamp(28px, 4vw, 56px);
  border-radius: var(--r-xl);
  background: var(--bg-2);
}
@media (min-width: 800px) { .cta-band { grid-template-columns: 1fr auto; } }

/* ==========================================================================
   IT
   ========================================================================== */
.w-it .hero__title { max-width: 14ch; }
.it-hero__grid { display: grid; gap: clamp(28px, 4vw, 56px); margin-top: clamp(40px, 6vw, 80px); }
@media (min-width: 960px) { .it-hero__grid { grid-template-columns: 5fr 7fr; align-items: end; } }

.terminal {
  border-radius: var(--r-lg);
  background: #0a0b0a;
  border: 1px solid var(--line-2);
  box-shadow: var(--shadow), 0 0 0 6px rgba(201,228,106,.04);
  font-family: var(--ff-mono); font-size: clamp(13px, 1.25vw, 15px); line-height: 1.75;
  overflow: hidden;
}
.terminal__bar {
  display: flex; align-items: center; gap: 7px;
  padding: 12px 16px; border-bottom: 1px solid var(--line);
  font-size: 11px; color: var(--muted);
}
.terminal__bar i { width: 10px; height: 10px; border-radius: 50%; background: #2a2e2b; }
.terminal__bar span { margin-left: 10px; }
.terminal pre { margin: 0; padding: 20px 22px 24px; white-space: pre-wrap; color: var(--ink-2); }
.t-k { color: #e8b26a; }
.t-s { color: var(--accent); }
.t-c { color: #5f675e; }
.caret { display: inline-block; width: .6em; height: 1.1em; vertical-align: -3px; background: var(--accent); animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-2); }
.stats div { padding: 20px 16px 0 0; }
.stats b { display: block; font-size: clamp(30px, 3.4vw, 48px); font-weight: 500; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.stats span { font-size: 13px; color: var(--muted); }

/* Usługi — bento */
.svc { display: grid; gap: 16px; }
@media (min-width: 900px) { .svc { grid-template-columns: repeat(6, 1fr); } }
.svc__card {
  position: relative;
  display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
  min-height: 280px;
  padding: clamp(22px, 3vw, 36px);
  border-radius: var(--r-xl);
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
}
/* Obramowanie, które podąża za kursorem */
.svc__card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 0%), rgba(201,228,106,.55), transparent 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity 300ms ease;
  pointer-events: none;
}
.svc__card:hover::before { opacity: 1; }
@media (min-width: 900px) {
  .svc__card:nth-child(1) { grid-column: span 4; }
  .svc__card:nth-child(2) { grid-column: span 2; }
  .svc__card:nth-child(3) { grid-column: span 6; }
}
.svc__card--accent { background: var(--accent); color: var(--on-accent); border-color: transparent; }
.svc__card--accent .body, .svc__card--accent .label { color: color-mix(in srgb, var(--on-accent) 72%, transparent); }
.svc__top { display: flex; justify-content: space-between; align-items: start; gap: 12px; }
.svc__card .h3 { font-size: clamp(26px, 3vw, 44px); margin-bottom: 12px; }
.flow { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; font-family: var(--ff-mono); font-size: 12px; }
.flow span { padding: 7px 11px; border-radius: var(--r-sm); background: rgba(14,16,15,.1); }
.flow i { font-style: normal; opacity: .5; }

/* Doświadczenie */
.exp { display: grid; gap: clamp(32px, 5vw, 80px); }
@media (min-width: 960px) {
  .exp { grid-template-columns: 4fr 8fr; }
  .exp__aside { position: sticky; top: 110px; align-self: start; }
}
.job {
  display: grid; gap: 10px 32px;
  padding-block: 32px;
  border-top: 1px solid var(--line-2);
}
.job:last-child { border-bottom: 1px solid var(--line-2); }
@media (min-width: 720px) { .job { grid-template-columns: 170px 1fr; } }
.job__period { font-family: var(--ff-mono); font-size: 13px; color: var(--muted); padding-top: 6px; font-variant-numeric: tabular-nums; }
.job__org { font-size: 14px; color: var(--accent); margin-top: 4px; }
.job .body { margin-top: 14px; }
.job .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.job .tags li { padding: 4px 9px; border-radius: 6px; background: var(--bg-2); border: 1px solid var(--line); font-family: var(--ff-mono); font-size: 11.5px; color: var(--ink-2); }
.job--now .job__period { color: var(--accent); }
.job--now .job__period::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(201,228,106,.15); vertical-align: 1px; }

/* Aplikacje */
.apps { display: grid; gap: 16px; }
@media (min-width: 900px) { .apps { grid-template-columns: 7fr 5fr; } }
.app {
  display: flex; flex-direction: column; gap: 18px;
  padding: clamp(22px, 3vw, 40px);
  border-radius: var(--r-xl);
  background: var(--surface); border: 1px solid var(--line);
  min-height: 340px;
}
.app__head { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.app .h3 { font-size: clamp(30px, 3.6vw, 52px); margin-top: auto; }
.app--wip { background: repeating-linear-gradient(-45deg, var(--surface) 0 14px, var(--bg-2) 14px 28px); }
.stores { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.store {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 18px 10px 12px; border-radius: var(--r-md);
  background: var(--ink); color: var(--bg);
  transition: transform 300ms var(--ease-spring);
}
.store:hover { transform: translateY(-2px); }
.store small { display: block; font-size: 10px; opacity: .7; }
.store b { display: block; font-size: 15px; font-weight: 600; line-height: 1.1; }
.store img { width: 22px; height: 22px; }

/* ==========================================================================
   Lightbox (<dialog>)
   ========================================================================== */
.lb {
  width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh;
  margin: 0; padding: 0; border: 0;
  background: #120d0a; color: #f2ece3;
}
.lb::backdrop { background: transparent; }
.lb[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; animation: rise 400ms var(--ease-out); }
.lb__head { display: flex; justify-content: space-between; align-items: center; padding: 16px var(--pad-x); }
.lb__title { font-family: var(--ff-display); font-size: 24px; }
.lb__count { font-family: var(--ff-mono); font-size: 12px; opacity: .6; margin-left: 12px; }
.lb__btn {
  display: grid; place-items: center;
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255,255,255,.1); color: inherit; font-size: 20px;
  transition: background 200ms ease;
}
.lb__btn:hover { background: rgba(255,255,255,.2); }
/* Obszar zdjęcia ma stałą wysokość (środkowy wiersz siatki), a zdjęcie
   wypełnia go z object-fit: contain — nigdy nie wchodzi na nagłówek ani miniatury. */
.lb__stage { position: relative; min-height: 0; overflow: hidden; padding: 0 clamp(64px, 7vw, 96px); }
.lb__frame { width: 100%; height: 100%; overflow: hidden; border-radius: var(--r-md); }
.lb__stage img {
  display: block; width: 100%; height: 100%;
  object-fit: contain;
  transition: transform 250ms var(--ease-out);
}
.lb__stage.is-zoomable img { cursor: zoom-in; }
.lb__stage.is-zoomed img { transform: scale(2.4); cursor: zoom-out; transition: none; }
.lb__tools { display: flex; gap: 8px; }
.lb__btn[aria-pressed="true"] { background: #f2ece3; color: #120d0a; }
@media (max-width: 600px) { .lb__stage { padding: 0 12px; } .lb__prev { left: 6px; } .lb__next { right: 6px; } }
.lb__prev, .lb__next { position: absolute; top: 50%; transform: translateY(-50%); }
.lb__prev { left: 16px; } .lb__next { right: 16px; }
.lb__thumbs { display: flex; gap: 8px; justify-content: center; padding: 16px; overflow-x: auto; }
.lb__thumbs button { width: 56px; height: 56px; border-radius: 10px; overflow: hidden; opacity: .45; transition: opacity 200ms ease; flex: none; }
.lb__thumbs button[aria-current="true"] { opacity: 1; outline: 2px solid #f2ece3; outline-offset: 2px; }
.lb__thumbs img { width: 100%; height: 100%; object-fit: cover; }

/* --- Ograniczony ruch -------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}


/* ==========================================================================
   LOGO — monogram AB i napis AMBER BEAR (wg pliku logo)
   A nachodzi na obniżone B; obrys w kolorze tła wycina B pod nóżką A.
   ========================================================================== */
.ab {
  --ab-bg: var(--bg);
  display: inline-flex; align-items: flex-start;
  font-family: "Playfair Display", Didot, Georgia, serif;
  font-weight: 400; font-style: normal;
  line-height: .8;
  color: var(--accent);
  padding-bottom: .2em;
}
.ab > span:first-child {
  position: relative; z-index: 1;
  text-shadow: .03em 0 0 var(--ab-bg), -.03em 0 0 var(--ab-bg), 0 .03em 0 var(--ab-bg), 0 -.03em 0 var(--ab-bg),
               .025em .025em 0 var(--ab-bg), -.025em .025em 0 var(--ab-bg);
}
.ab > span:last-child { margin-left: -.24em; transform: translateY(.2em); font-size: .96em; }

.wordmark {
  font-family: "Playfair Display", Didot, Georgia, serif;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: .42em;
  margin-right: -.42em;          /* optycznie wyśrodkowany mimo rozstrzelenia */
  color: var(--accent);
}

.lockup { display: inline-grid; justify-items: center; gap: .9em; }
.lockup .ab { font-size: 3.4em; }

/* Logo w nagłówku */
.mark { font-family: inherit; }
.mark .ab { font-size: 36px; margin-top: -2px; }
.mark .wordmark { font-size: 12px; letter-spacing: .36em; }
.w-it .mark .ab { --ab-bg: var(--surface); color: var(--accent); }
.w-it .mark .ab { --ab-bg: #1a1d1b; }

/* Obietnice pod hero */
.promises {
  display: grid; gap: 0;
  border-top: 1px solid var(--line-2);
}
@media (min-width: 900px) { .promises { grid-template-columns: repeat(3, 1fr); } }
.promise { padding: 28px 0; border-bottom: 1px solid var(--line-2); }
@media (min-width: 900px) {
  .promise { padding: 32px 32px 36px; border-bottom: 0; border-left: 1px solid var(--line-2); }
  .promise:first-child { border-left: 0; padding-left: 0; }
}
.promise .h3 { font-size: clamp(22px, 2vw, 28px); margin-block: 14px 10px; }
.promise .body { font-size: 15px; }

/* Portret w „O mnie” */
.maker { display: flex; align-items: center; gap: 18px; margin-top: 36px; }
.maker img { width: 76px; height: 76px; border-radius: 22px; object-fit: cover; }
.maker b { display: block; font-family: var(--ff-display); font-weight: 400; font-size: 22px; }
.maker span { font-size: 13px; color: var(--muted); }

/* Pielęgnacja i FAQ */
.care { display: grid; gap: clamp(36px, 5vw, 80px); }
@media (min-width: 960px) { .care { grid-template-columns: 5fr 7fr; } }
.care__box {
  padding: clamp(24px, 3vw, 40px);
  border-radius: var(--r-xl);
  background: var(--surface); border: 1px solid var(--line);
  align-self: start;
}
.care__list { display: grid; gap: 18px; margin-top: 24px; }
.care__list li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; color: var(--ink-2); }
.care__list li::before {
  content: ""; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%;
  border: 1.5px dashed var(--accent);
}
.faq { display: grid; }
.faq__item {
  display: grid; gap: 8px 32px;
  padding-block: 24px;
  border-top: 1px solid var(--line-2);
}
.faq__item:last-child { border-bottom: 1px solid var(--line-2); }
@media (min-width: 720px) { .faq__item { grid-template-columns: 2fr 3fr; } }
.faq__item h3 { font-family: var(--ff-display); font-size: 21px; line-height: 1.25; }
.faq__item p { color: var(--ink-2); }

/* Stopka z logo */
.foot__logo {
  display: grid; justify-items: center; text-align: center;
  padding-block: clamp(48px, 8vw, 96px) clamp(24px, 4vw, 48px);
  font-size: clamp(14px, 2.2vw, 26px);
}
.foot__logo .ab { font-size: clamp(64px, 9vw, 120px); }
.foot__logo .wordmark { font-size: clamp(16px, 2.4vw, 30px); margin-top: .6em; }

/* Informacja o kosztach wysyłki pod cenami */
.price-note {
  margin-top: 20px;
  font-size: 13px; color: var(--muted);
}
.price-note::before { content: "* "; color: var(--accent); }
.price-note + .price-note { margin-top: 6px; }
.price-note--ai::before { content: "** "; }

/* ==========================================================================
   CV (cv.html, en/cv.html — generowane przez tools/build-cv.py)
   ========================================================================== */
.cv-top {
  display: grid; gap: clamp(24px, 4vw, 56px); align-items: end;
  padding-block: clamp(48px, 8vw, 112px) clamp(40px, 6vw, 80px);
  border-bottom: 1px solid var(--line-2);
}
@media (min-width: 760px) { .cv-top { grid-template-columns: auto 1fr; } }
.cv-top__photo {
  width: clamp(120px, 16vw, 168px); aspect-ratio: 1;
  border-radius: 28px; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line-2);
  display: grid; place-items: center;
}
.cv-top__photo img { width: 100%; height: 100%; object-fit: cover; }
.cv-top__photo .ab { font-size: 64px; --ab-bg: var(--surface); }
.cv-top__name { font-size: clamp(44px, 8vw, 112px); margin-top: 14px; }
.cv-top__role {
  margin-top: 16px;
  font-family: var(--ff-mono); font-size: clamp(12px, 1.3vw, 14px); color: var(--ink-2);
}
.cv-top__contact { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.cv-top__contact .chip { transition: border-color 200ms ease, color 200ms ease; }
.cv-top__contact .chip:hover { border-color: var(--accent); color: var(--ink); }
.cv-top__pdf { margin-top: 28px; }

.cv-sec {
  display: grid; gap: 20px clamp(32px, 5vw, 80px);
  padding-block: clamp(40px, 6vw, 72px);
  border-bottom: 1px solid var(--line);
}
@media (min-width: 960px) {
  .cv-sec { grid-template-columns: 3fr 9fr; }
  .cv-sec__head { position: sticky; top: 110px; align-self: start; }
}
.cv-sec__head { display: grid; gap: 10px; }
.cv-sec__head .h3 { font-size: clamp(26px, 2.6vw, 36px); }
.cv-sec .job:first-child { border-top: 0; padding-top: 0; }
.cv-sec .job:last-child { border-bottom: 0; }

.cv-skills { display: grid; gap: 12px; }
@media (min-width: 680px) { .cv-skills { grid-template-columns: 1fr 1fr; } }
.cv-skill {
  padding: 22px 24px; border-radius: var(--r-lg);
  background: var(--surface); border: 1px solid var(--line);
}
.cv-skill p { margin-top: 12px; color: var(--ink-2); font-size: 15px; line-height: 1.6; }

.cv-bullets { display: grid; gap: 8px; margin-top: 16px; color: var(--ink-2); font-size: 15px; }
.cv-bullets li { position: relative; padding-left: 20px; }
.cv-bullets li::before { content: ""; position: absolute; left: 0; top: .7em; width: 8px; height: 1px; background: var(--accent); }

.cv-row {
  display: flex; justify-content: space-between; align-items: baseline; gap: 8px 24px; flex-wrap: wrap;
  padding-block: 16px; border-bottom: 1px solid var(--line);
}
.cv-row:first-child { padding-top: 0; }
.cv-row:last-child { border-bottom: 0; }
.cv-row b { font-weight: 550; }
.cv-row__desc { font-size: 14px; color: var(--muted); }
.cv-row__when { font-family: var(--ff-mono); font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }

.w-cv .app { min-height: 0; }
.w-cv .app .h3 { margin-top: 8px; font-size: clamp(26px, 2.8vw, 36px); }
.w-cv .store { padding: 10px 16px; }

/* Wydruk: biała kartka, bez nawigacji i przycisków */
@media print {
  .w-cv { --bg: #fff; --surface: #fff; --bg-2: #fff; --ink: #111; --ink-2: #333; --muted: #555;
          --line: #ddd; --line-2: #ccc; --accent: #5c0f08; background: #fff; color: #111; }
  .w-cv .head, .w-cv .skip, .w-cv .cv-top__pdf, .w-cv .foot, .w-cv .link { display: none !important; }
  .w-cv .cv-sec__head { position: static; }
  .w-cv .cv-sec, .w-cv .job, .w-cv .app { break-inside: avoid; }
  .w-cv .app--wip { background: #fff; }
  .w-cv .store { background: #fff; color: #111; border: 1px solid #ccc; }
}
@media (min-width: 720px) { .w-cv .job { grid-template-columns: 200px 1fr; } }

/* Polityka prywatności — długi tekst do czytania */
.legal { max-width: 820px; padding-block: clamp(48px, 8vw, 104px); }
.legal .h3 { margin-top: 48px; margin-bottom: 14px; }
.legal p { color: var(--ink-2); line-height: 1.7; max-width: 68ch; }
.legal p + p { margin-top: 14px; }
.legal p a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.legal b { color: var(--ink); font-weight: 600; }
.consent a { text-decoration: underline; text-underline-offset: 2px; }
