/* DANIKA — wersja jasna, redakcyjna: krem + bordo, wąski szeryf w nagłówkach. */
:root {
  --bordo: #5C1A24;
  --bordo-ciemny: #4A121B;
  --karmin: #8E1118;
  --czern: #0E0D0D;
  --krem: #F7F4EE;
  --papier: #E9E6DE;

  --tusz: #2B2020;                       /* tekst na kremie */
  --cichy: rgba(43, 32, 32, .68);
  --linia: rgba(43, 32, 32, .18);
  --linia-j: rgba(247, 244, 238, .26);   /* linie na bordo */

  --serif: "Instrument Serif", "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(18px, 4vw, 56px);
  --sec: clamp(84px, 11vw, 170px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--krem); }
.hero { background: var(--bordo-ciemny); }
body {
  margin: 0;
  background: var(--krem);
  color: var(--tusz);
  font-family: var(--sans);
  font-size: .9rem;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; width: 100%; height: auto; }
figure, blockquote { margin: 0; }
a { color: inherit; }
p { margin: 0 0 1.1em; }
ul, dl, dd { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
[id] { scroll-margin-top: 56px; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: 900px; }
.sec { padding-top: var(--sec); }

/* ───── Typografia ───── */
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 400; text-wrap: balance; }
h2 {
  font-size: clamp(2.3rem, 5vw, 4.4rem);
  line-height: .92;
  letter-spacing: .005em;
  text-transform: uppercase;
}
h2.soft { text-transform: none; line-height: 1; letter-spacing: -.005em; }
h3 { font-size: clamp(1.9rem, 3.5vw, 3.1rem); line-height: .94; text-transform: uppercase; }

.eyebrow, .piece__meta, .plain__tag, .facts li, .rows dt, .bar, .hero__nav, .foot__nav, .foot__copy,
.link, summary, .wait__form label, .btn {
  font-family: var(--sans);
  font-weight: 600;
  font-size: .64rem;
  line-height: 1.6;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.eyebrow { margin: 0 0 1.6em; }

.link {
  display: inline-block;
  padding-bottom: .55em;
  border-bottom: 1px solid currentColor;
  text-decoration: none;
  transition: opacity .2s;
}
.link:hover { opacity: .6; }

.lang { display: inline-flex; gap: 2px; }
.lang button {
  padding: 4px 5px;
  border: 0; background: none; cursor: pointer;
  font: inherit; letter-spacing: inherit;
  color: inherit; opacity: .55;
}
.lang button[aria-pressed="true"] { opacity: 1; text-decoration: underline; text-underline-offset: 5px; }

/* ───── Hero ───── */
.hero {
  position: relative;
  display: flex; flex-direction: column;
  min-height: min(100svh, 1000px);
  color: var(--krem);
  overflow: hidden;
  isolation: isolate;
}
.hero__bg {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 22%;
  filter: brightness(.6) saturate(.8) contrast(1.05);
  animation: hero-in 1.8s cubic-bezier(.2, .7, .2, 1) both;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(48, 10, 16, .55) 0%, rgba(48, 10, 16, .12) 45%, rgba(20, 6, 8, .78) 100%),
    rgba(74, 18, 27, .28);
}
@keyframes hero-in { from { transform: scale(1.06); } }

/* Napis DANIKA — tymczasowy; docelowe logo będzie inne */
.hero__word {
  display: block;
  margin: clamp(10px, 1.6vw, 26px) 0 0;
  font-family: var(--serif);
  font-size: 34vw;
  line-height: .8;
  letter-spacing: 0;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
}
.hero__nav {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  padding: clamp(14px, 1.6vw, 24px) var(--gutter) 0;
  font-size: .6rem;
}
.hero__nav > div { display: flex; flex-direction: column; align-items: flex-start; gap: .5em; }
.hero__nav > div:nth-child(2) { align-items: center; }
.hero__nav > div:nth-child(3) { align-items: flex-end; }
.hero__nav a { text-decoration: none; transition: opacity .2s; }
.hero__nav a:hover { opacity: .6; }
.hero__nav .lang button { padding: 0 0 0 8px; }

.hero__text {
  margin-top: auto;
  padding: clamp(56px, 8vw, 120px) var(--gutter) clamp(34px, 5vw, 72px);
  padding-left: clamp(18px, 10vw, 150px);
  max-width: 44rem;
}
.hero h1 { font-size: clamp(1.9rem, 3.2vw, 3rem); line-height: 1; text-transform: uppercase; max-width: 13em; }
.hero__lead { margin: 1em 0 1.8em; font-family: var(--serif); font-style: italic; font-size: clamp(1.2rem, 1.6vw, 1.5rem); line-height: 1.2; }

/* ───── Pasek ───── */
.bar {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; gap: 22px;
  padding: 11px var(--gutter);
  background: var(--bordo);
  color: var(--krem);
  font-size: .6rem;
}
.bar a { text-decoration: none; }
.bar__brand { margin-right: auto; }
.bar__links { display: flex; }
.bar__links a { padding: 0 1.2em; border-right: 1px solid var(--linia-j); transition: opacity .2s; }
.bar__links a:hover { opacity: .6; }

/* ───── Kim jesteśmy ───── */
.who h2 { text-align: center; margin-bottom: clamp(22px, 3vw, 40px); }
.strip { display: grid; grid-template-columns: repeat(4, 1fr); }
.strip img { aspect-ratio: 3 / 4.4; object-fit: cover; }
.strip img:nth-child(1) { object-position: 50% 18%; }
.strip img:nth-child(3) { object-position: 60% 80%; }
.strip img:nth-child(4) { object-position: 35% 85%; }
.who__text { max-width: 36rem; margin-top: clamp(24px, 3vw, 40px); }
.who__text p:last-child { color: var(--cichy); }
.facts {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 2.4vw, 32px);
  margin-top: clamp(40px, 6vw, 80px);
  counter-reset: fact;
}
.facts li { padding-top: 1.2em; border-top: 1px solid var(--tusz); counter-increment: fact; }
.facts li::before {
  content: "0" counter(fact);
  display: block; margin-bottom: .5em;
  font: 400 1.9rem/1 var(--serif); letter-spacing: 0; color: var(--bordo);
}

/* ───── Dlaczego ───── */
.why__top { display: grid; grid-template-columns: 1fr clamp(150px, 20%, 230px); gap: 8%; align-items: start; }
.why h2 { font-size: clamp(2.6rem, 6vw, 5.2rem); max-width: 9em; }
.why__lead { max-width: 30rem; margin: clamp(26px, 3.4vw, 48px) 0 0; }
.why__small { aspect-ratio: 1; object-fit: cover; object-position: 50% 12%; margin-top: -20px; }
.why__bottom { display: grid; grid-template-columns: minmax(0, 22rem) 1fr; gap: 6%; align-items: start; margin-top: clamp(40px, 6vw, 84px); }
.why__quote p { font-size: .84rem; }
.why__quote footer { font-family: var(--serif); font-style: italic; font-size: 1.25rem; color: var(--bordo); }
.why__quote footer::before { content: "— "; }

.collage { position: relative; isolation: isolate; }
.collage img { position: absolute; object-fit: cover; }
.collage--why { aspect-ratio: 1.42; margin-top: clamp(0px, 3vw, 44px); }
.collage--why .c1 { left: 0; top: 32%; width: 34%; height: 40%; object-position: 50% 14%; }
.collage--why .c2 { left: 30%; top: 0; width: 40%; height: 82%; object-position: 50% 12%; z-index: -1; }
.collage--why .c3 { right: 0; bottom: 0; width: 26%; height: 44%; }

/* ───── Misja ───── */
.mission__grid { display: grid; grid-template-columns: 5fr 6fr; gap: 9%; align-items: center; }
.mission__left { position: relative; }
.mission__left h2 { position: relative; z-index: 1; margin: 0 -40% -.48em 0; max-width: 8.5em; mix-blend-mode: multiply; }
.mission__left img { width: 86%; margin-left: 4%; aspect-ratio: 3 / 3.8; object-fit: cover; object-position: 50% 16%; }
.mission__big { font-family: var(--serif); font-style: italic; font-size: clamp(1.5rem, 2.3vw, 2.1rem); line-height: 1.16; color: var(--bordo); margin-bottom: 1em; }
.mission__body p:not(.mission__big) { max-width: 31rem; font-size: .84rem; }
.mission__body .link { margin-top: 1em; }

/* ───── Inspiracje ───── */
.insp { display: grid; grid-template-columns: 1fr minmax(0, 45%); align-items: stretch; }
.insp__left { padding: 0 6% clamp(40px, 6vw, 80px) max(var(--gutter), calc((100vw - 1120px) / 2 + var(--gutter))); }
.insp__left h2 { font-size: clamp(2rem, 3.6vw, 3.3rem); }
.collage--insp { aspect-ratio: .96; margin-top: clamp(26px, 4vw, 54px); max-width: 520px; }
.collage--insp .c1 { left: 0; top: 0; width: 44%; height: 66%; object-position: 50% 10%; }
.collage--insp .c2 { right: 6%; top: 18%; width: 34%; height: 38%; }
.collage--insp .c3 { left: 30%; bottom: 0; width: 26%; height: 30%; object-position: 50% 70%; }
.insp__panel {
  background: var(--bordo); color: var(--krem);
  padding: clamp(40px, 6vw, 84px) max(var(--gutter), 7%) clamp(40px, 6vw, 84px) clamp(26px, 4.5vw, 64px);
  display: flex; align-items: center;
}
.rows > div + div { margin-top: clamp(22px, 2.8vw, 38px); }
.rows dt { margin-bottom: .9em; }
.rows dd { max-width: 27rem; font-size: .82rem; opacity: .86; }

/* ───── Kolekcja ───── */
.coll { margin-top: var(--sec); }
.band {
  padding: clamp(52px, 7vw, 100px) var(--gutter);
  background: var(--bordo); color: var(--krem);
  text-align: center;
}
.band h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
.band p:last-child { max-width: 30rem; margin: 1.6em auto 0; font-size: .84rem; opacity: .88; }

.piece {
  display: grid; grid-template-columns: 1fr 1fr; gap: 9%;
  align-items: center;
  margin-top: clamp(72px, 10vw, 150px);
}
.piece--flip .piece__media { order: 2; }
.piece__media { position: relative; padding: 5% 0; }
.piece__media .shot { width: 66%; margin-left: 20%; aspect-ratio: 3 / 4.1; object-fit: cover; object-position: 50% 14%; }
.piece--flip .piece__media .shot { margin-left: 12%; }
.shot-s { position: absolute; object-fit: cover; box-shadow: 0 0 0 5px var(--krem); }
.shot-s--a { left: 4%; bottom: 0; width: 30%; aspect-ratio: 1; object-position: 55% 85%; }
.shot-s--b { right: 2%; top: 0; width: 27%; aspect-ratio: 4 / 5; object-position: 50% 30%; }
.shot-s--c { left: 0; bottom: 3%; width: 25%; aspect-ratio: 1; object-position: 50% 40%; }
.piece--flip .shot-s--b { right: 6%; }

.piece__meta { display: flex; align-items: baseline; gap: 1.2em; margin: 0 0 1.4em; color: var(--bordo); }
.piece__meta .no, .made .no { font: 400 1.9rem/1 var(--serif); letter-spacing: 0; }
.piece__meta--next { margin-top: 3.4em; padding-top: 2em; border-top: 1px solid var(--linia); }
.piece__info h3 { margin-bottom: .55em; max-width: 9em; }
.piece__info h3.h3--small { font-size: clamp(1.6rem, 2.4vw, 2.2rem); }
.piece__info > p:not([class]), .plain article > p:not([class]) { max-width: 29rem; font-size: .84rem; }

details { margin-top: 1.4em; }
summary { cursor: pointer; width: fit-content; padding: .3em 0; }
details p { max-width: 29rem; margin: .7em 0 0; font-size: .82rem; color: var(--cichy); }

.buy { display: flex; flex-wrap: wrap; align-items: baseline; gap: .5em 1.8em; margin: 1.8em 0 0; }
.price { font: 400 1.7rem/1 var(--serif); white-space: nowrap; }

.coll__note {
  margin: clamp(64px, 9vw, 130px) 0 0;
  font-family: var(--serif); font-style: italic;
  font-size: clamp(1.7rem, 3.4vw, 3rem); line-height: 1.05;
  text-align: center; color: var(--bordo);
}

.plain {
  display: grid; grid-template-columns: 1fr 1fr;
  margin-top: clamp(72px, 10vw, 150px);
  border-top: 2px solid var(--tusz);
}
.plain article { padding: clamp(24px, 3vw, 40px) clamp(20px, 4vw, 56px) 0 0; }
.plain article + article { padding-left: clamp(20px, 4vw, 56px); padding-right: 0; border-left: 1px solid var(--linia); }
.plain__no { margin: 0 0 .2em; font: 400 clamp(3.4rem, 6vw, 5.4rem)/1 var(--serif); color: var(--bordo); }
.plain h3 { font-size: clamp(1.5rem, 2.3vw, 2.1rem); text-transform: none; line-height: 1.02; }
.plain__tag { margin: 1.2em 0 1.6em; padding-bottom: 1.4em; border-bottom: 1px solid var(--linia); color: var(--bordo); }
.plain__colors { font-size: .82rem; color: var(--cichy); }

/* ───── Jak powstają ───── */
.made {
  margin-top: var(--sec);
  padding: clamp(60px, 8vw, 120px) 0;
  background: var(--bordo); color: var(--krem);
}
.made h2 { font-size: clamp(2rem, 3.6vw, 3.2rem); max-width: 10em; }
.made__grid { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(36px, 5vw, 68px); border-top: 1px solid var(--linia-j); }
.made__grid > div { padding: clamp(22px, 2.6vw, 36px) clamp(16px, 2vw, 28px) 0; border-left: 1px solid var(--linia-j); }
.made__grid > div:first-child { padding-left: 0; border-left: 0; }
.made .no { display: block; opacity: .7; }
.made h3 { margin: 1.1em 0 .8em; font-style: italic; font-size: clamp(1.4rem, 1.9vw, 1.75rem); line-height: 1.02; }
.made p { margin: 0; font-size: .82rem; opacity: .86; }

/* ───── Lista oczekujących ───── */
.wait {
  display: grid; grid-template-columns: 1fr 2.4fr 1fr; gap: 10px;
  padding: 10px 0;
}
.wait__photo img { height: 100%; min-height: 420px; object-fit: cover; object-position: 50% 12%; }
.wait__photo--side img { object-position: 60% 80%; }
.wait__body {
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  padding: clamp(48px, 7vw, 110px) clamp(22px, 5vw, 80px);
  background: var(--bordo); color: var(--krem);
  text-align: center;
}
.wait__body h2 { font-size: clamp(2rem, 3.6vw, 3.3rem); max-width: 9em; }
.wait__body > p { max-width: 27rem; margin: 1.6em 0 2.2em; font-size: .84rem; opacity: .9; }
.wait__form { width: 100%; max-width: 30rem; text-align: left; }
.wait__form label { display: block; margin-bottom: .4em; font-size: .58rem; opacity: .8; }
.wait__row { display: flex; align-items: flex-end; gap: 14px; }
.wait__row input {
  flex: 1; min-width: 0;
  padding: .7em 0;
  border: 0; border-bottom: 1px solid var(--linia-j); border-radius: 0;
  background: transparent;
  font: 400 1rem/1.2 var(--sans);
  color: var(--krem);
}
.wait__row input:focus { outline: none; border-color: var(--krem); }
.wait__row input::placeholder { color: rgba(247, 244, 238, .42); }
.btn {
  padding: 1.15em 1.6em;
  border: 1px solid var(--krem); border-radius: 0;
  background: var(--krem); color: var(--bordo);
  cursor: pointer; white-space: nowrap;
  transition: background .25s, color .25s;
}
.btn:hover { background: transparent; color: var(--krem); }
.wait__status { min-height: 1.6em; margin: 1.1em 0 0; font-size: .8rem; }

/* ───── Stopka ───── */
.foot {
  padding: clamp(44px, 6vw, 80px) var(--gutter) 22px;
  background: var(--bordo); color: var(--krem);
}
.foot > * { max-width: 860px; margin-left: auto; margin-right: auto; }
.foot__links { display: flex; justify-content: center; gap: 12px; }
.foot__links a { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--linia-j); border-radius: 50%; transition: border-color .2s; }
.foot__links a:hover { border-color: var(--krem); }
.foot__nav {
  display: flex; flex-wrap: wrap; justify-content: center; gap: .4em 0;
  margin-top: clamp(28px, 4vw, 44px); padding: 1.3em 0;
  border-top: 1px solid var(--linia-j); border-bottom: 1px solid var(--linia-j);
  font-size: .58rem;
}
.foot__nav a { padding: 0 1.4em; text-decoration: none; transition: opacity .2s; }
.foot__nav a + a { border-left: 1px solid var(--linia-j); }
.foot__nav a:hover { opacity: .6; }
.foot__main { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-top: clamp(28px, 4vw, 48px); }
.foot__mark { display: block; font: 400 clamp(4.4rem, 8vw, 6.6rem)/.8 var(--serif); }
.foot__brand p { margin: .9em 0 0; font-family: var(--serif); font-style: italic; font-size: 1.15rem; line-height: 1.2; opacity: .9; }
.foot__side { text-align: right; font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; }
.foot__made { margin: 0 0 .8em; font: 400 italic 1.15rem/1.2 var(--serif); letter-spacing: 0; text-transform: none; }
.foot__copy { margin-top: clamp(28px, 4vw, 48px); margin-bottom: 0; padding-top: 1.4em; border-top: 1px solid var(--linia-j); font-size: .56rem; opacity: .7; }

/* ───── Telefon i tablet ───── */
@media (max-width: 860px) {
  .bar__links { display: none; }

  .hero { min-height: 92svh; }
  .hero__bg { object-position: 50% 0; }
  .hero__nav { font-size: .54rem; letter-spacing: .14em; }
  .hero__text { padding-left: var(--gutter); }

  .strip { grid-template-columns: 1fr 1fr; }
  .facts { grid-template-columns: 1fr 1fr; }

  .why__top { grid-template-columns: 1fr; }
  .why__small { display: none; }
  .why__bottom { grid-template-columns: 1fr; gap: 36px; }

  .mission__grid { grid-template-columns: 1fr; gap: 40px; }
  .mission__left h2 { margin-right: 0; }
  .mission__left img { width: 78%; margin-left: 22%; }

  .insp { grid-template-columns: 1fr; }
  .insp__left { padding: 0 var(--gutter) 44px; }
  .insp__panel { padding: 48px var(--gutter); }

  .piece { grid-template-columns: 1fr; gap: 34px; }
  .piece--flip .piece__media { order: 0; }
  .piece__media .shot, .piece--flip .piece__media .shot { width: 72%; margin-left: 20%; }
  .piece--flip .shot-s--b { right: 2%; }

  .plain { grid-template-columns: 1fr; }
  .plain article, .plain article + article { padding: 26px 0 0; border-left: 0; }
  .plain article + article { margin-top: 44px; border-top: 2px solid var(--tusz); }

  .made__grid { grid-template-columns: 1fr 1fr; border-top: 0; }
  .made__grid > div { padding: 22px 16px 26px 0; border-left: 0; border-top: 1px solid var(--linia-j); }

  .wait { grid-template-columns: 1fr 1fr; }
  .wait__body { grid-column: 1 / -1; grid-row: 1; }
  .wait__photo img { min-height: 0; aspect-ratio: 4 / 5; }
  .wait__row { flex-direction: column; align-items: stretch; }
  .wait__row .btn { text-align: center; }

  .foot__nav { gap: .9em 0; }
  .foot__nav a { padding: 0 1em; }
  .foot__nav a + a { border-left: 0; }
  .foot__main { flex-direction: column; align-items: flex-start; }
  .foot__side { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__bg { animation: none; }
  * { transition: none !important; }
}
