/* ============================================================
   SPLOT · Atelier powolnej mody · wzór strony
   ============================================================ */

:root {
  --paper: #F1EDE6;
  --paper-2: #E7E0D3;
  --ink: #171310;
  --ink-soft: #575047;
  --clay: #B65C38;
  --clay-deep: #9C4B2C;
  --clay-text: #9C4B2C;
  --clay-deeper: #833F25;
  --line: rgba(23, 19, 16, 0.14);
  --radius-xl: 2rem;
  --radius-md: 1.25rem;
  --ease-out: cubic-bezier(0.32, 0.72, 0, 1);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --font-serif: "Instrument Serif", Georgia, serif;
  --font-sans: "Outfit", "Segoe UI", sans-serif;
  --nav-h: 64px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

[hidden] { display: none !important; }

.skip-link {
  position: fixed;
  top: 0.75rem; left: 0.75rem;
  z-index: 500;
  padding: 0.7rem 1.3rem;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.9rem;
  transform: translateY(-300%);
}
.skip-link:focus-visible { transform: translateY(0); }

html { scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  font-family: var(--font-sans);
  font-weight: 300;
  background: var(--paper);
  color: var(--ink);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.9s var(--ease-out), color 0.9s var(--ease-out);
}

body.is-loading { overflow: hidden; }

main { width: 100%; max-width: 100%; overflow-x: clip; }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
em { font-style: italic; }

::selection { background: var(--clay); color: var(--paper); }

:focus-visible {
  outline: 2px solid var(--clay-deep);
  outline-offset: 3px;
}
body.theme-dark :focus-visible { outline-color: #D08055; }

/* ---------- Theme dark (kapsuła Wieczór) ---------- */
body.theme-dark {
  background: #14100D;
  color: var(--paper);
  --line: rgba(241, 237, 230, 0.16);
  --ink-soft: rgba(241, 237, 230, 0.64);
  --clay-text: #D08055;
}
body.theme-dark .bento-text { box-shadow: inset 0 0 0 1px var(--line); }

/* ---------- Grain ---------- */
.grain {
  position: fixed; inset: -50%;
  width: 200%; height: 200%;
  pointer-events: none;
  z-index: 80;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain-shift 1.2s steps(3) infinite;
}
@keyframes grain-shift {
  0% { transform: translate(0, 0); }
  33% { transform: translate(-2%, 1%); }
  66% { transform: translate(1%, -2%); }
  100% { transform: translate(0, 0); }
}

/* ---------- Cursor ---------- */
.cursor-dot, .cursor-disc {
  position: fixed; top: 0; left: 0;
  pointer-events: none;
  z-index: 300;
  border-radius: 50%;
  transform: translate(-100px, -100px);
}
.cursor-dot {
  width: 8px; height: 8px;
  background: var(--clay);
}
.cursor-disc {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(182, 92, 56, 0);
  border: 1px solid rgba(182, 92, 56, 0.5);
  transition: width 0.45s var(--ease-out), height 0.45s var(--ease-out), background-color 0.45s var(--ease-out), border-color 0.45s var(--ease-out);
}
.cursor-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--paper);
  opacity: 0;
  transition: opacity 0.3s var(--ease-out);
  white-space: nowrap;
}
.cursor-disc.is-active {
  width: 84px; height: 84px;
  background: rgba(182, 92, 56, 0.92);
  border-color: transparent;
}
.cursor-disc.is-active .cursor-label { opacity: 1; }
@media (pointer: coarse) {
  .cursor-dot, .cursor-disc { display: none; }
}

/* ---------- Preloader ---------- */
.preloader {
  position: fixed; inset: 0;
  z-index: 400;
  background: var(--ink);
  color: var(--paper);
  display: flex; align-items: center; justify-content: center;
}
.preloader-name {
  font-family: var(--font-serif);
  font-size: clamp(4rem, 16vw, 12rem);
  line-height: 1;
  letter-spacing: 0.04em;
  overflow: hidden;
  display: flex;
}
.pl-letter { display: inline-block; transform: translateY(115%); }
.preloader-meta {
  position: absolute;
  left: clamp(1.25rem, 4vw, 3rem);
  right: clamp(1.25rem, 4vw, 3rem);
  bottom: clamp(1.25rem, 4vw, 2.5rem);
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(241, 237, 230, 0.6);
}
.preloader-count {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  letter-spacing: 0;
  color: var(--paper);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  border-radius: 999px;
  padding: 0.55rem 0.6rem 0.55rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  transition: background-color 0.6s var(--ease-out), color 0.6s var(--ease-out), border-color 0.6s var(--ease-out);
}
.btn:active { transform: scale(0.97); }
.btn-orb {
  width: 34px; height: 34px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex: none;
  transition: transform 0.6s var(--ease-out), background-color 0.6s var(--ease-out);
}
.btn-orb svg { width: 16px; height: 16px; }
.btn:hover .btn-orb { transform: translate(2px, -2px) scale(1.06); }

.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink .btn-orb { background: rgba(241, 237, 230, 0.16); }
.btn-ink:hover { background: #241E19; }

.btn-clay { background: var(--clay-deep); color: #FBF8F3; }
.btn-clay .btn-orb { background: rgba(251, 248, 243, 0.2); }
.btn-clay:hover { background: var(--clay-deeper); }

.btn-paper { background: var(--paper); color: var(--ink); }
.btn-paper .btn-orb { background: rgba(23, 19, 16, 0.1); }
.btn-paper:hover { background: #FFFDF8; }

.btn-ghost {
  border: 1px solid var(--line);
  padding: 0.8rem 1.6rem;
  background: transparent;
}
.btn-ghost:hover { border-color: var(--ink); }
body.theme-dark .btn-ghost:hover { border-color: var(--paper); }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 200;
  width: min(1200px, calc(100% - 2.5rem));
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
  padding: 0 0.75rem 0 1.4rem;
  border-radius: 999px;
  background: rgba(23, 19, 16, 0.92);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  color: var(--paper);
  box-shadow: 0 24px 60px -32px rgba(23, 19, 16, 0.55), inset 0 1px 1px rgba(255, 255, 255, 0.07);
  transition: transform 0.7s var(--ease-out), opacity 0.7s var(--ease-out);
}
.nav.is-hidden {
  transform: translate(-50%, -140%);
  visibility: hidden;
  transition: transform 0.7s var(--ease-out), visibility 0s 0.7s;
}

.nav-logo {
  display: flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  letter-spacing: 0.02em;
}
.nav-logo-mark {
  width: 22px; height: 12px;
  border-radius: 999px;
  background: var(--clay);
  position: relative;
  overflow: hidden;
}
.nav-logo-mark::after {
  content: "";
  position: absolute; inset: 3px 5px;
  border-radius: 999px;
  background: var(--paper);
}

.nav-links { display: flex; gap: 1.8rem; }
.nav-link {
  position: relative;
  font-size: 0.92rem;
  font-weight: 400;
  color: rgba(241, 237, 230, 0.78);
  transition: color 0.4s var(--ease-out);
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 100%; height: 1px;
  background: var(--clay);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s var(--ease-out);
}
.nav-link:hover { color: var(--paper); }
.nav-link:hover::after { transform: scaleX(1); transform-origin: left; }

.nav-right { display: flex; align-items: center; gap: 0.6rem; }
.nav-cta { font-size: 0.88rem; padding: 0.4rem 0.45rem 0.4rem 1.2rem; }
.nav-cta .btn-orb { width: 30px; height: 30px; }

.nav-burger {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: none;
  align-items: center; justify-content: center;
  flex-direction: column;
  gap: 5px;
  background: rgba(241, 237, 230, 0.1);
}
.burger-line {
  display: block;
  width: 18px; height: 1.5px;
  background: var(--paper);
  transition: transform 0.5s var(--ease-out);
}
.nav-burger.is-open .burger-line:nth-child(1) { transform: translateY(3.25px) rotate(45deg); }
.nav-burger.is-open .burger-line:nth-child(2) { transform: translateY(-3.25px) rotate(-45deg); }

/* ---------- Fullscreen menu ---------- */
.menu {
  position: fixed; inset: 0;
  z-index: 150;
  background: var(--paper-2);
  color: var(--ink);
  transform: translateY(-100%);
  visibility: hidden;
  overflow-y: auto;
}
.menu-inner {
  min-height: 100%;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2rem;
  align-items: center;
  padding: calc(var(--nav-h) + 3rem) clamp(1.5rem, 6vw, 6rem) 3rem;
  max-width: 1400px;
  margin: 0 auto;
}
.menu-nav { display: flex; flex-direction: column; gap: 0.4rem; }
.menu-link {
  display: flex; align-items: baseline; gap: 1.2rem;
  padding: 0.35rem 0;
}
.menu-link-idx {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--clay-text);
}
.menu-link-mask { overflow: hidden; display: block; }
.menu-link-text {
  display: inline-block;
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 7vh, 4.6rem);
  line-height: 1.05;
  transition: transform 0.6s var(--ease-out), color 0.6s var(--ease-out), font-style 0.4s;
}
.menu-link:hover .menu-link-text {
  transform: translateX(14px);
  color: var(--clay);
  font-style: italic;
}
.menu-side { display: flex; flex-direction: column; gap: 1.6rem; align-items: flex-start; }
.menu-figure {
  width: min(320px, 100%);
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--paper);
  padding: 0.5rem;
  box-shadow: 0 30px 60px -40px rgba(23, 19, 16, 0.4);
}
.menu-figure img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: calc(var(--radius-xl) - 0.5rem);
}
.menu-meta {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--ink-soft);
  display: flex; gap: 3rem;
}
.menu-meta a:hover { color: var(--clay); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  padding: calc(var(--nav-h) + 4.5rem) clamp(1.25rem, 5vw, 5rem) 3rem;
  display: flex;
  align-items: flex-end;
  background-image: radial-gradient(rgba(23, 19, 16, 0.07) 1px, transparent 1.4px);
  background-size: 26px 26px;
}
.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 90rem;
  margin: 0 auto;
}
.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: clamp(1.5rem, 3vh, 2.5rem);
}
.hero-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(3.2rem, 7.2vw, 7rem);
  line-height: 1.02;
  letter-spacing: -0.015em;
  max-width: 66rem;
}
.hero-pill {
  display: inline-block;
  width: clamp(4.2rem, 7.5vw, 7.5rem);
  height: clamp(2.4rem, 4vw, 4rem);
  margin: 0 0.18em;
  border-radius: 999px;
  background: url("../img/fabric-01.jpg") center / cover no-repeat;
  vertical-align: -12%;
  box-shadow: inset 0 0 0 3px var(--paper);
}
.hero-bottom {
  margin-top: clamp(2rem, 5vh, 3.5rem);
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  gap: clamp(2rem, 4vw, 4rem);
  flex-wrap: wrap;
  max-width: calc(100% - clamp(300px, 34vw, 500px));
}
.hero-lead {
  max-width: 26rem;
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--ink-soft);
}
.hero-ctas { display: flex; align-items: center; gap: 0.9rem; flex-wrap: wrap; }

.hero-media {
  position: absolute;
  right: clamp(1rem, 4vw, 4.5rem);
  top: calc(var(--nav-h) + 3.5rem);
  bottom: auto;
  z-index: 1;
  width: min(clamp(260px, 30vw, 430px), max(210px, calc((100vh - 260px) * 0.71)));
  width: min(clamp(260px, 30vw, 430px), max(210px, calc((100dvh - 260px) * 0.71)));
}
.hero-photo {
  border-radius: var(--radius-xl);
  padding: 0.55rem;
  background: rgba(23, 19, 16, 0.05);
  box-shadow: inset 0 0 0 1px rgba(23, 19, 16, 0.07);
}
.hero-photo img {
  width: 100%;
  aspect-ratio: 3 / 4.1;
  object-fit: cover;
  border-radius: calc(var(--radius-xl) - 0.55rem);
}
.hero-card {
  position: absolute;
  left: -26%;
  bottom: -7%;
  width: clamp(150px, 13vw, 200px);
  padding: 0.45rem 0.45rem 0.8rem;
  background: var(--paper);
  border-radius: var(--radius-md);
  box-shadow: 0 32px 60px -30px rgba(23, 19, 16, 0.45);
  transform: rotate(-4deg);
}
.hero-card img {
  aspect-ratio: 4 / 4.6;
  object-fit: cover;
  border-radius: calc(var(--radius-md) - 0.45rem);
}
.hero-card figcaption {
  margin-top: 0.6rem;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  text-align: center;
}

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 1.1rem 0;
  background: var(--paper);
  transition: background-color 0.9s var(--ease-out);
}
body.theme-dark .marquee { background: transparent; }
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 26s linear infinite;
}
.marquee-seg {
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 2.4vw, 2rem);
  white-space: nowrap;
  padding-right: 0.5ch;
}
.marquee-seg i { font-style: normal; color: var(--clay); padding: 0 0.4ch; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Manifest ---------- */
.manifest {
  padding: clamp(7rem, 16vh, 12rem) clamp(1.5rem, 6vw, 6rem);
  max-width: 74rem;
  margin: 0 auto;
}
.manifest-text {
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 4.4vw, 3.6rem);
  line-height: 1.22;
  letter-spacing: -0.01em;
}
.manifest-text .w { display: inline-block; }
.manifest-sig {
  display: inline-block;
  margin-top: 2.4rem;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ---------- Horizontal scroll (kolekcja) ---------- */
.hscroll { position: relative; }
.hscroll-pin {
  overflow: hidden;
  display: flex;
  align-items: center;
}
@media (min-width: 821px) {
  .hscroll-pin {
    height: 100vh;
    height: 100dvh;
  }
}
.hscroll-track {
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 3vw, 3rem);
  padding: 0 clamp(1.5rem, 6vw, 6rem);
  width: max-content;
  will-change: transform;
}

.h-intro { flex: none; width: min(420px, 80vw); }
.h-intro-eyebrow {
  font-size: 0.8rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--clay-text);
  margin-bottom: 1rem;
}
.h-intro-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(3.4rem, 6vw, 5.6rem);
  line-height: 0.98;
}
.h-intro-note {
  margin-top: 1.4rem;
  color: var(--ink-soft);
  line-height: 1.6;
}
.h-progress {
  margin-top: 2.2rem;
  width: 180px; height: 2px;
  background: var(--line);
  border-radius: 999px;
  overflow: hidden;
}
.h-progress span {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--clay);
  transform: scaleX(0);
  transform-origin: left;
}

.look-card { flex: none; width: clamp(300px, 26vw, 380px); }
.look-card-low { margin-top: clamp(3rem, 7vh, 5.5rem); }
.look-media {
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--paper-2);
  aspect-ratio: 3 / 4;
}
.look-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform 1s var(--ease-out);
  will-change: transform;
}
.look-card:hover .look-media img { transform: scale(1.07); }
.look-info {
  display: flex;
  align-items: baseline;
  gap: 0.9rem;
  padding: 1rem 0.4rem 0;
}
.look-idx {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: var(--clay-text);
}
.look-info h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.5rem;
  flex: 1;
}
.look-price { font-size: 0.92rem; color: var(--ink-soft); }

/* Mobile: natywne przewijanie poziome zamiast pinowania */
.hscroll.is-native .hscroll-pin {
  overflow-x: auto;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 4.5rem 0;
}
.hscroll.is-native .hscroll-pin::-webkit-scrollbar { display: none; }
.hscroll.is-native .look-card { scroll-snap-align: center; }
.hscroll.is-native .h-progress { display: none; }

.h-outro {
  flex: none;
  width: min(380px, 80vw);
  padding-right: clamp(2rem, 6vw, 6rem);
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
  align-items: flex-start;
}
.h-outro-text {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 2.6vw, 2.4rem);
  line-height: 1.2;
}

/* ---------- Sekcje wspólne ---------- */
.section-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
}

/* ---------- Materia (bento) ---------- */
.materia {
  padding: clamp(7rem, 16vh, 12rem) clamp(1.25rem, 5vw, 5rem);
  max-width: 96rem;
  margin: 0 auto;
}
.materia-head { margin-bottom: clamp(2.5rem, 6vh, 4.5rem); max-width: 50rem; }
.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: clamp(240px, 34vh, 330px);
  grid-auto-flow: dense;
  gap: 1rem;
}
.bento-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
}
.bento-text {
  grid-row: span 2;
  background: var(--ink);
  color: var(--paper);
  padding: clamp(1.6rem, 2.5vw, 2.4rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
}
.bento-kicker {
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #D08055;
}
.bento-copy {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 1.9vw, 1.8rem);
  line-height: 1.3;
}
.bento-list { list-style: none; display: flex; flex-direction: column; }
.bento-list li {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: 0.85rem 0;
  border-top: 1px solid rgba(241, 237, 230, 0.16);
  font-size: 0.92rem;
}
.bento-list li span:last-child { color: rgba(241, 237, 230, 0.55); }
.bento-wide { grid-column: span 2; }
.bento-img img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease-out);
  will-change: transform;
}
.bento-img:hover img { transform: scale(1.06); }
.bento-img figcaption {
  position: absolute;
  left: 0.8rem; right: 0.8rem; bottom: 0.8rem;
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: rgba(241, 237, 230, 0.82);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
}

/* ---------- Kapsuła Wieczór (dark) ---------- */
.dark-capsule {
  padding: clamp(8rem, 18vh, 13rem) clamp(1.25rem, 5vw, 5rem);
}
.dark-inner {
  max-width: 90rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(3rem, 6vw, 6rem);
  align-items: center;
}
.dark-eyebrow {
  font-size: 0.8rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--clay-text);
  margin-bottom: 1.4rem;
}
.dark-lead {
  margin: 1.8rem 0 2.4rem;
  max-width: 30rem;
  line-height: 1.7;
  color: var(--ink-soft);
}
.dark-media {
  position: relative;
  min-height: clamp(420px, 70vh, 640px);
}
.dark-photo {
  position: absolute;
  border-radius: var(--radius-xl);
  overflow: hidden;
  padding: 0.5rem;
  background: rgba(241, 237, 230, 0.06);
  box-shadow: inset 0 0 0 1px rgba(241, 237, 230, 0.08);
}
.dark-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: calc(var(--radius-xl) - 0.5rem);
}
.dark-photo:first-child {
  top: 0; right: 8%;
  width: min(62%, 400px);
  aspect-ratio: 3 / 4;
  z-index: 2;
}
.dark-photo-b {
  bottom: 0; left: 0;
  width: min(44%, 300px);
  aspect-ratio: 3 / 4;
  transform: rotate(3deg);
  z-index: 1;
}

/* ---------- Kapsuły (accordion) ---------- */
.capsules {
  padding: clamp(7rem, 16vh, 12rem) clamp(1.25rem, 5vw, 5rem);
  max-width: 96rem;
  margin: 0 auto;
}
.capsules-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: clamp(2.5rem, 6vh, 4rem);
  flex-wrap: wrap;
}
.capsules-note { color: var(--ink-soft); font-size: 0.9rem; }
.acc {
  display: flex;
  gap: 0.9rem;
  height: clamp(420px, 62vh, 560px);
}
.acc-item {
  position: relative;
  flex: 1 1 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  cursor: pointer;
  transition: flex-grow 0.9s var(--ease-out);
  will-change: flex-grow;
}
.acc-item.is-active { flex-grow: 2.4; }
.acc-item img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.acc-shade {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(23, 19, 16, 0.62), rgba(23, 19, 16, 0.05) 55%);
}
.acc-label {
  position: absolute;
  left: 1.4rem; bottom: 1.3rem;
  color: #FBF8F3;
  display: flex; align-items: baseline; gap: 0.8rem;
}
.acc-idx { font-size: 0.72rem; letter-spacing: 0.18em; opacity: 0.75; }
.acc-label h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(1.7rem, 2.6vw, 2.4rem);
}
.acc-desc {
  position: absolute;
  left: 1.5rem; right: 1.5rem; bottom: 4.6rem;
  max-width: 26rem;
  color: rgba(251, 248, 243, 0.92);
  font-size: 0.95rem;
  line-height: 1.6;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.7s var(--ease-out) 0.15s, transform 0.7s var(--ease-out) 0.15s;
}
.acc-item.is-active .acc-desc { opacity: 1; transform: translateY(0); }

/* ---------- Lookbook (bento) ---------- */
.lookbook {
  padding: clamp(7rem, 16vh, 12rem) clamp(1.25rem, 5vw, 5rem) clamp(5rem, 10vh, 8rem);
  max-width: 96rem;
  margin: 0 auto;
}
.lookbook-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: clamp(2.5rem, 6vh, 4rem);
  flex-wrap: wrap;
}
.lookbook-note { color: var(--ink-soft); font-size: 0.9rem; }
.lb-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: clamp(230px, 36vh, 340px);
  grid-auto-flow: dense;
  gap: 1rem;
}
.lb-tile {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.lb-tall { grid-row: span 2; }
.lb-wide { grid-column: span 2; }
.lb-tile img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease-out);
  will-change: transform;
}
.lb-tile:hover img { transform: scale(1.06); }
.lb-tile figcaption {
  position: absolute;
  left: 1.1rem; bottom: 1rem;
  display: flex; gap: 1rem;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #FBF8F3;
  text-shadow: 0 1px 10px rgba(23, 19, 16, 0.5);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.lb-tile:hover figcaption { opacity: 1; transform: translateY(0); }

/* ---------- Newsletter ---------- */
.newsletter {
  padding: clamp(7rem, 18vh, 13rem) clamp(1.5rem, 6vw, 6rem);
  text-align: center;
  max-width: 60rem;
  margin: 0 auto;
}
.news-eyebrow {
  font-size: 0.8rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--clay-text);
  margin-bottom: 1.4rem;
}
.news-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2.6rem, 6vw, 5rem);
  line-height: 1.05;
}
.news-form {
  margin: clamp(2.2rem, 5vh, 3.2rem) auto 0;
  max-width: 30rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.45rem 0.45rem 1.6rem;
  border-radius: 999px;
  background: rgba(23, 19, 16, 0.045);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: box-shadow 0.5s var(--ease-out);
}
.news-form:focus-within { box-shadow: inset 0 0 0 1.5px var(--clay); }
body.theme-dark .news-form { background: rgba(241, 237, 230, 0.06); }
.news-input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 1rem;
  color: inherit;
  outline: none;
  padding: 0.6rem 0;
}
.news-input::placeholder { color: var(--ink-soft); }
.news-submit {
  width: 48px; height: 48px;
  flex: none;
  border-radius: 50%;
  background: var(--clay-deep);
  color: #FBF8F3;
  display: flex; align-items: center; justify-content: center;
  transition: background-color 0.5s var(--ease-out);
}
.news-submit:hover { background: var(--clay-deeper); }
.news-submit:active { transform: scale(0.94); }
.news-submit svg { width: 18px; height: 18px; }
.news-note {
  margin-top: 1.3rem;
  font-size: 0.85rem;
  color: var(--ink-soft);
}
.news-thanks {
  margin-top: 1.6rem;
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--clay-text);
  outline: none;
}
.news-error {
  margin-top: 1.1rem;
  font-size: 0.9rem;
  color: #93331A;
}
body.theme-dark .news-error { color: #E29B77; }

/* ---------- Footer ---------- */
.footer {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(4rem, 8vh, 6rem) clamp(1.5rem, 5vw, 5rem) 2rem;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}
.footer-top {
  max-width: 90rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 2.5rem;
  padding-bottom: clamp(3rem, 7vh, 5rem);
}
.footer-brand p {
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 1.8vw, 1.7rem);
  line-height: 1.4;
  color: rgba(241, 237, 230, 0.85);
}
.footer-contact {
  margin-top: 1.4rem;
  font-style: normal;
  font-size: 0.95rem;
  line-height: 1.8;
  color: rgba(241, 237, 230, 0.72);
}
.footer-contact a { color: rgba(241, 237, 230, 0.88); }
.footer-contact a:hover { color: #D08055; }
.footer-col h4 {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(241, 237, 230, 0.5);
  margin-bottom: 1.1rem;
}
.footer-col a {
  display: block;
  padding: 0.3rem 0;
  font-size: 0.95rem;
  color: rgba(241, 237, 230, 0.82);
  transition: color 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}
.footer-col a:hover { color: var(--clay); transform: translateX(6px); }

.footer-word {
  overflow: hidden;
  display: flex;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: clamp(6rem, 21vw, 19rem);
  line-height: 0.95;
  letter-spacing: 0.03em;
  color: var(--paper);
  user-select: none;
}
.fw-letter {
  display: inline-block;
  transition: color 0.5s var(--ease-out);
}
.fw-letter:hover { color: var(--clay); }

.footer-bottom {
  max-width: 90rem;
  margin: 2.5rem auto 0;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(241, 237, 230, 0.14);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.78rem;
  color: rgba(241, 237, 230, 0.5);
}

/* ---------- Reveal helpers ---------- */
.line-mask { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.line-mask .line { display: block; }
.reveal-lines .rl-mask { display: block; overflow: hidden; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.reveal-lines .rl-line { display: block; }
.img-reveal { overflow: hidden; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .hero-media { width: clamp(220px, 30vw, 300px); }
}

@media (max-width: 820px) {
  .nav { top: 0.9rem; width: calc(100% - 1.5rem); padding-left: 1.1rem; }
  .nav-cta { display: none; }

  .hero {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding-bottom: 0;
  }
  .hero-inner { display: flex; flex-direction: column; }
  .hero-media {
    position: relative;
    inset: auto;
    width: 100%;
    margin-top: 3rem;
    order: 10;
  }
  .hero-photo img { aspect-ratio: 4 / 4.4; }
  .hero-card {
    left: auto; right: 4%;
    bottom: -6%;
    width: 132px;
  }
  .hero-bottom { margin-top: 1.8rem; max-width: 100%; }

  .menu-inner { grid-template-columns: 1fr; align-content: start; gap: 3rem; }
  .menu-figure { display: none; }
  .menu-meta { flex-direction: column; gap: 1rem; }

  .dark-inner { grid-template-columns: 1fr; }
  .dark-media { min-height: 480px; }

  .bento { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .bento-card { min-height: 300px; }
  .bento-text { grid-row: auto; }
  .bento-wide { grid-column: auto; }

  .lb-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: clamp(180px, 26vh, 240px); }
  .lb-wide { grid-column: span 2; }
  .lb-tile figcaption { opacity: 1; transform: none; }

  .acc { flex-direction: column; height: auto; }
  .acc-item { min-height: 130px; transition: min-height 0.9s var(--ease-out); }
  .acc-item.is-active { min-height: 340px; }
  .acc-desc { bottom: 4.2rem; }

  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
}

@media (max-width: 480px) {
  .hero-title { font-size: clamp(2.7rem, 12.5vw, 3.4rem); }
  .btn { padding-left: 1.2rem; }
  .lb-grid { grid-template-columns: 1fr; }
  .lb-wide, .lb-tall { grid-column: auto; grid-row: auto; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .grain { animation: none; }
  *, *::before, *::after {
    transition-duration: 0.001s !important;
    animation-duration: 0.001s !important;
  }
}
