:root {
  --black: #08090a;
  --graphite: #17191c;
  --panel: #24262a;
  --ink: #141518;
  --muted: #5d6269;
  --silver: #f3f4f6;
  --line: #dce0e5;
  --white: #fff;
  --radius: 26px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font: 16px/1.58 -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
p { margin: 0 0 1.2em; }
h1, h2, h3 { margin: 0 0 .5em; line-height: 1.07; letter-spacing: -.052em; font-weight: 700; }
h1 { font-size: clamp(3.5rem, 8vw, 7.6rem); }
h2 { font-size: clamp(2.6rem, 5.7vw, 5.6rem); }
h3 { font-size: clamp(1.45rem, 2vw, 2rem); }
.container { width: min(1200px, calc(100% - 48px)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; padding: 12px; z-index: 100; background: #fff; }
.skip:focus { left: 12px; }

/* Navigation */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(8,9,10,.94); border-bottom: 1px solid #2d2e30; backdrop-filter: blur(18px); color: #f7f7f7; }
.header-inner { height: 64px; display: flex; align-items: center; gap: 24px; }
.logo { font-size: 1.08rem; font-weight: 800; letter-spacing: .08em; white-space: nowrap; }
.nav { display: flex; align-items: center; gap: 23px; margin-left: auto; font-size: .85rem; font-weight: 520; }
.nav a { color: #d1d1d5; }
.nav a:hover, .footer a:hover, .text-link:hover { color: #fff; text-decoration: underline; text-underline-offset: 5px; }
.header-cta { display: inline-flex; align-items: center; min-height: 34px; padding: 0 15px; border-radius: 50px; background: #f6f6f7; color: #111; font-size: .79rem; font-weight: 700; white-space: nowrap; }
.header-cta:hover { background: #dadde1; }
.menu-toggle { display: none; margin-left: auto; color: #fff; background: none; border: 0; font-size: 1.5rem; }
.product-bar { position: sticky; top: 64px; z-index: 40; background: rgba(20,21,23,.88); border-bottom: 1px solid #35373b; backdrop-filter: blur(16px); color: #fff; }
.product-bar-inner { min-height: 48px; display: flex; align-items: center; justify-content: space-between; font-size: .8rem; }
.product-bar nav { display: flex; gap: 22px; color: #c7c9cd; }
.product-bar a:hover { color: #fff; }

/* Buttons and shared sections */
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 23px; border: 1px solid #fff; border-radius: 50px; background: #fff; color: #111; font-size: .87rem; font-weight: 680; transition: transform .2s, background .2s; }
.button:hover { transform: translateY(-2px); background: #e1e4e8; }
.button.ghost { background: transparent; color: #fff; border-color: #707277; }
.button.outline { background: transparent; color: var(--ink); border-color: #999fa5; }
.button.dark-button, .callout .button, .prose .button { background: var(--ink); color: #fff; border-color: var(--ink); }
.button.dark-button:hover, .callout .button:hover, .prose .button:hover { background: #383b40; }
.eyebrow { margin-bottom: 20px; color: #818690; font-size: .73rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.section { padding: 110px 0; }
.section.soft { background: var(--silver); }
.section.dark { background: var(--graphite); color: #fff; }
.section-intro { max-width: 790px; margin-bottom: 44px; }
.section-intro p, .lead { max-width: 720px; color: var(--muted); font-size: 1.18rem; }
.dark .section-intro p, .dark .lead { color: #aeb2b9; }
.grid { display: grid; gap: 20px; }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card { padding: 36px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.card p, .image-card p { color: var(--muted); }
.card .number { display: block; margin-bottom: 48px; color: #8c929c; font-size: .8rem; }
.card h3 { margin-bottom: 12px; }
.text-link { font-size: .91rem; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.text-link:hover { color: #50545b; }
.image-card { overflow: hidden; border-radius: var(--radius); background: #f1f2f4; }
.image-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.image-card-body { padding: 30px; }
.tag { color: #7d838d; font-size: .72rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 7%; align-items: center; }
.split img { width: 100%; aspect-ratio: 1.15; object-fit: cover; border-radius: var(--radius); }
.split .copy { max-width: 520px; }
.split .copy p { color: var(--muted); }
.visual-note { margin-top: 10px; color: #737780; font-size: .76rem; }
.callout { padding: 70px; border-radius: var(--radius); background: #e8ebef; }
.callout h2 { max-width: 760px; }

/* Cinematic homepage */
.showcase-hero { position: relative; overflow: hidden; background: #060708; color: #fff; text-align: center; }
.showcase-copy { position: relative; z-index: 2; padding-top: clamp(82px, 9vw, 150px); }
.showcase-hero .eyebrow { color: #b9bec7; }
.showcase-hero h1 { margin-bottom: .03em; font-size: clamp(3.5rem, 8.5vw, 8rem); }
.showcase-tagline { margin: 0 0 20px; color: #e4e5e8; font-size: clamp(2rem, 4.8vw, 4.9rem); font-weight: 650; letter-spacing: -.05em; line-height: 1.1; }
.showcase-lead { margin: 0 auto 26px; max-width: 640px; color: #b8bbc1; font-size: clamp(1rem, 1.8vw, 1.25rem); }
.hero-actions { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.showcase-image { position: relative; max-width: 1680px; margin: 35px auto 0; }
.showcase-image::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, #060708 0%, transparent 26%, transparent 83%, #060708 100%); pointer-events: none; }
.showcase-image img { width: 100%; aspect-ratio: 16/8.4; object-fit: cover; }
.showcase-caption { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); color: #9ca1a9; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; }
.feature-section { padding: 115px 0 125px; background: var(--graphite); color: #fff; }
.section-heading { margin-bottom: 55px; }
.section-heading h2 { max-width: 900px; }
.section-heading p { max-width: 650px; color: #aeb2b8; font-size: 1.17rem; }
.feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.feature-tile { position: relative; display: block; overflow: hidden; min-height: 410px; border-radius: 24px; background: #34363b; }
.feature-tile.large { grid-column: span 2; min-height: 540px; }
.feature-tile img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; transition: transform .6s ease; }
.feature-tile:hover img { transform: scale(1.035); }
.feature-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 40%, rgba(0,0,0,.75)); }
.feature-tile:nth-child(2)::after { background: linear-gradient(to bottom, transparent 42%, rgba(10,12,15,.68)); }
.feature-overlay { position: absolute; z-index: 1; bottom: 30px; left: 34px; right: 34px; display: grid; gap: 8px; color: #fff; }
.feature-overlay small { font-size: .72rem; font-weight: 800; letter-spacing: .16em; }
.feature-overlay strong { font-size: clamp(1.65rem, 3.3vw, 3.6rem); line-height: 1.1; letter-spacing: -.045em; }
.feature-arrow { position: absolute; bottom: 0; right: 0; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: #fff; color: #111; font-size: 1.2rem; }
.on-dark { color: #969ba5; }
.manifesto-section { padding: 155px 0 145px; background: #fff; }
.manifesto-section h2 { max-width: 1100px; font-size: clamp(3.2rem, 7.1vw, 7.4rem); }
.manifesto-section h2 span { color: #9ca1a9; }
.manifesto-section > .container > p { max-width: 730px; margin: 30px 0 80px; color: #565c65; font-size: clamp(1.1rem, 1.8vw, 1.35rem); }
.manifesto-grid, .process-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.manifesto-grid > div { padding-top: 25px; border-top: 1px solid #cfd3d9; }
.manifesto-grid span, .process-row span { display: block; margin-bottom: 55px; color: #868c96; font-size: .83rem; font-weight: 700; }
.manifesto-grid p { color: var(--muted); }
.editorial-section { padding: 110px 0; background: #edf0f3; }
.editorial-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 8%; align-items: center; }
.editorial-image { overflow: hidden; border-radius: 24px; }
.editorial-image img { width: 100%; aspect-ratio: 1.1; object-fit: cover; }
.editorial-copy p { max-width: 450px; margin-bottom: 26px; color: var(--muted); font-size: 1.1rem; }
.process-showcase { padding: 135px 0; background: #090a0b; color: #fff; }
.process-showcase h2 { max-width: 900px; margin-bottom: 75px; }
.process-row { margin-bottom: 65px; }
.process-row > div { padding-top: 25px; border-top: 1px solid #55585e; }
.process-row h3 { color: #fff; }
.process-row p { color: #aeb3bc; }

/* Inner pages */
.page-hero { padding: 90px 0 105px; background: #f1f2f4; }
.page-hero h1 { max-width: 980px; }
.page-hero p { max-width: 700px; color: var(--muted); font-size: 1.2rem; }
.breadcrumb { margin-bottom: 38px; color: #737983; font-size: .79rem; }
.breadcrumb a { text-decoration: underline; text-underline-offset: 3px; }
.prose { max-width: 790px; }
.prose h2 { margin-top: 1.6em; font-size: clamp(2rem, 3.5vw, 3.4rem); }
.prose h3 { margin-top: 1.7em; letter-spacing: -.025em; }
.prose ul { padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.prose p, .prose li { color: #40454d; }
.steps { counter-reset: step; }
.step { display: grid; grid-template-columns: 60px 1fr; gap: 20px; padding: 24px 0; border-top: 1px solid var(--line); }
.step::before { counter-increment: step; content: "0" counter(step); color: #8b929d; font-weight: 700; }
.step p { margin: 0; color: var(--muted); }
.faq details { padding: 20px 0; border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; gap: 20px; list-style: none; cursor: pointer; font-size: 1.12rem; font-weight: 650; }
.faq summary::after { content: '+'; }
.faq details[open] summary::after { content: '−'; }
.faq details p { max-width: 780px; margin: 15px 0 0; color: var(--muted); }
.contact-prompt { padding: 24px; border-radius: 16px; background: var(--silver); }
.contact-prompt p:last-child { margin-bottom: 0; }

/* Footer and privacy controls */
.footer { padding: 70px 0 30px; background: #090a0b; color: #fff; }
.footer-grid { display: grid; grid-template-columns: 2fr repeat(3,1fr); gap: 30px; }
.footer p, .footer a { color: #aeb2b9; }
.footer strong { display: block; margin-bottom: 16px; }
.footer a { display: block; margin: 8px 0; font-size: .9rem; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; margin-top: 60px; padding-top: 24px; border-top: 1px solid #383a3f; color: #9fa3aa; font-size: .78rem; }
.cookie-banner { position: fixed; z-index: 100; bottom: 20px; left: 20px; right: 20px; max-width: 860px; margin: auto; padding: 24px; border: 1px solid #cbd0d6; border-radius: 20px; background: #fff; box-shadow: 0 14px 60px #0004; }
.cookie-banner[hidden], .cookie-settings[hidden] { display: none; }
.cookie-banner h2 { margin: 0 0 8px; font-size: 1.2rem; letter-spacing: -.02em; }
.cookie-banner p { margin-bottom: 15px; color: var(--muted); font-size: .88rem; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.cookie-actions button, .cookie-settings button { padding: 10px 18px; border: 1px solid var(--ink); border-radius: 50px; background: #fff; color: var(--ink); font-size: .82rem; font-weight: 650; }
.cookie-actions button.primary, .cookie-settings button.primary { background: var(--ink); color: #fff; }
.cookie-settings { margin: 14px 0; padding-top: 14px; border-top: 1px solid var(--line); }
.cookie-settings label { display: block; margin: 10px 0; font-size: .88rem; }
.cookie-settings input { margin-right: 10px; }
.inline-link { text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 850px) {
  .menu-toggle { display: block; }
  .header-cta { display: none; }
  .nav { position: absolute; top: 64px; left: 0; right: 0; display: none; flex-direction: column; align-items: flex-start; gap: 14px; padding: 24px; background: #111214; box-shadow: 0 20px 30px #0005; }
  .nav.open { display: flex; }
  .grid.three { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 80px 0; }
  .split { gap: 25px; }
}
@media (max-width: 620px) {
  .container { width: min(100% - 28px, 1200px); }
  .product-bar nav { gap: 12px; font-size: .72rem; }
  .product-bar-inner { font-size: .72rem; }
  .showcase-copy { padding-top: 75px; }
  .showcase-hero h1 { font-size: clamp(3.1rem, 13vw, 4.5rem); }
  .showcase-tagline { font-size: clamp(1.8rem, 8vw, 2.7rem); }
  .showcase-image { margin-top: 50px; }
  .showcase-image img { aspect-ratio: 4/4.5; object-position: center; }
  .showcase-caption { white-space: nowrap; bottom: 12px; }
  .feature-section, .manifesto-section, .process-showcase { padding: 85px 0; }
  .feature-grid, .manifesto-grid, .process-row, .editorial-grid, .grid.two, .grid.three, .split { grid-template-columns: 1fr; }
  .feature-tile, .feature-tile.large { grid-column: auto; min-height: 400px; }
  .feature-overlay { left: 22px; right: 22px; bottom: 24px; }
  .feature-overlay strong { padding-right: 40px; }
  .manifesto-section > .container > p { margin-bottom: 50px; }
  .manifesto-grid span, .process-row span { margin-bottom: 25px; }
  .editorial-section { padding: 75px 0; }
  .editorial-grid { gap: 35px; }
  .page-hero { padding: 55px 0 70px; }
  .card { padding: 28px; }
  .callout { padding: 36px 26px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: span 2; }
  .footer-bottom { flex-direction: column; }
  .cookie-banner { left: 10px; right: 10px; bottom: 10px; padding: 18px; }
  .cookie-actions button { flex: 1; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

/* Motion: reveal only after JavaScript has initialized the observer. */
.motion-ready .will-reveal {
  opacity: 0;
  transform: translate3d(0, 30px, 0);
  transition: opacity .78s cubic-bezier(.2,.7,.2,1), transform .78s cubic-bezier(.2,.7,.2,1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
.motion-ready .will-reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  will-change: auto;
}
@keyframes intro-rise {
  from { opacity: 0; transform: translate3d(0, 26px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}
@keyframes image-arrive {
  from { opacity: .3; transform: scale(1.035); }
  to { opacity: 1; transform: scale(1); }
}
.showcase-copy .eyebrow { animation: intro-rise .7s both .05s; }
.showcase-copy h1 { animation: intro-rise .85s both .12s; }
.showcase-tagline { animation: intro-rise .85s both .24s; }
.showcase-lead { animation: intro-rise .85s both .34s; }
.showcase-copy .hero-actions { animation: intro-rise .85s both .43s; }
.showcase-image img { animation: image-arrive 1.25s both .18s; }
.feature-tile img, .image-card img, .editorial-image img {
  transition: transform .8s cubic-bezier(.2,.7,.2,1);
}
.feature-tile:hover img, .feature-tile:focus-visible img,
.image-card:hover img, .editorial-image:hover img { transform: scale(1.035); }
.card { transition: transform .35s ease, box-shadow .35s ease; }
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(17,20,24,.08); }
.feature-tile:focus-visible, .button:focus-visible, .nav a:focus-visible,
.card a:focus-visible, .product-bar a:focus-visible { outline: 3px solid #8ab4ff; outline-offset: 4px; }
#mozliwosci, #detale, #proces { scroll-margin-top: 125px; }
@media (prefers-reduced-motion: reduce) {
  .motion-ready .will-reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .showcase-copy .eyebrow, .showcase-copy h1, .showcase-tagline,
  .showcase-lead, .showcase-copy .hero-actions, .showcase-image img { animation: none !important; }
  .feature-tile img, .image-card img, .editorial-image img, .card { transition: none !important; }
  .feature-tile:hover img, .feature-tile:focus-visible img,
  .image-card:hover img, .editorial-image:hover img { transform: none !important; }
  .card:hover { transform: none !important; }
}

/* A small interactive light reveal over the kitchen photograph. */
.showcase-image.light-sequence img {
  animation: none;
  filter: brightness(.16) saturate(.6);
  transition: filter 1.15s cubic-bezier(.2,.7,.2,1);
}
.showcase-image.light-sequence.light-on img { filter: brightness(1.18) saturate(1); }
.light-dim, .light-beam, .light-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
}
.light-dim { z-index: 1; background: #000; transition: opacity 1.1s ease; }
.light-sequence .light-dim { opacity: .64; }
.light-sequence.light-on .light-dim { opacity: 0; }
.light-beam {
  z-index: 2;
  width: 58%;
  left: 21%;
  background: linear-gradient(to bottom, rgba(231,239,255,.24), rgba(225,236,255,.05) 58%, transparent 90%);
  clip-path: polygon(49% 8%, 51% 8%, 88% 95%, 12% 95%);
  mix-blend-mode: screen;
  transform: scaleY(.12);
  transform-origin: center 8%;
  filter: blur(42px);
  transition: opacity .9s ease, transform 1.2s cubic-bezier(.2,.7,.2,1);
}
.light-glow {
  z-index: 3;
  background: radial-gradient(ellipse 26% 35% at 50% 17%, rgba(236,243,255,.45), transparent 73%);
  mix-blend-mode: screen;
  transition: opacity .8s ease;
}
.light-sequence.light-on .light-beam { opacity: .34; transform: scaleY(1); }
.light-sequence.light-on .light-glow { opacity: 1; animation: lamp-flicker 1.1s ease-out both; }
@keyframes lamp-flicker {
  0%, 7% { opacity: 0; }
  9% { opacity: .85; }
  12% { opacity: .12; }
  17% { opacity: .78; }
  22% { opacity: .18; }
  32%, 100% { opacity: 1; }
}
.light-switch {
  display: none;
  position: absolute;
  z-index: 5;
  right: 36px;
  bottom: 38px;
  align-items: center;
  gap: 10px;
  min-height: 45px;
  padding: 8px 18px;
  border: 1px solid rgba(255,255,255,.44);
  border-radius: 50px;
  background: rgba(9,10,12,.65);
  backdrop-filter: blur(14px);
  color: #fff;
  font-size: .84rem;
  font-weight: 680;
}
.light-sequence .light-switch { display: inline-flex; }
.light-switch:hover { background: rgba(45,48,54,.82); }
.light-switch:focus-visible { outline: 3px solid #8ab4ff; outline-offset: 4px; }
.switch-icon { font-size: 1.25rem; line-height: 1; }
.light-on .switch-icon { color: #fff; text-shadow: 0 0 12px #fff, 0 0 24px #b9d4ff; }
@media (max-width: 620px) {
  .light-switch { right: 18px; bottom: 35px; padding: 7px 13px; font-size: .76rem; }
  .light-beam { width: 100%; left: 0; }
  .showcase-caption { left: 16px; transform: none; font-size: .63rem; }
}
@media (prefers-reduced-motion: reduce) {
  .showcase-image.light-sequence img, .light-dim, .light-beam, .light-glow { transition: none !important; animation: none !important; }
}

/* Zestawy linkow na podstronach SEO */
.link-cloud { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.link-cloud a { font-size: .95rem; font-weight: 650; text-decoration: underline; text-underline-offset: 4px; }
.link-cloud a:hover { color: #50545b; }
.link-cloud.small a { margin: 0; font-size: .85rem; font-weight: 500; text-decoration: none; }
.footer-extra { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 46px; padding-top: 30px; border-top: 1px solid #262a2e; }
.footer-extra .link-cloud { gap: 8px 18px; }
.footer-extra strong { margin-bottom: 12px; }
@media (max-width: 900px) { .footer-extra { grid-template-columns: 1fr; } }

/* Poradnik */
.article-card .number { margin-bottom: 20px; }
.article-card h3 { font-size: 1.22rem; line-height: 1.25; }
.article-card h3 a { text-decoration: none; }
.article-card h3 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.article-meta { margin-bottom: 28px; color: var(--muted); font-size: .88rem; }
.article-meta a { text-decoration: underline; text-underline-offset: 3px; }
.article-note { padding: 18px 20px; border-left: 3px solid var(--line); background: var(--silver); color: var(--muted); font-size: .92rem; }
.toc { margin: 0 0 36px; padding: 22px 26px; border-radius: 16px; background: var(--silver); }
.toc strong { display: block; margin-bottom: 10px; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: #6d727a; }
.toc ol { margin: 0; padding-left: 18px; }
.toc li { margin: 6px 0; color: var(--muted); }
.toc a { text-decoration: none; }
.toc a:hover { text-decoration: underline; text-underline-offset: 3px; }
.guide-more { margin-top: 28px; }
.prose h2 { scroll-margin-top: 90px; }
