/* Czuć Miętę — wspólne style strony głównej i podstron realizacji */

:root {
  --cream: #EDE7D4;
  --paper: #E0D9C2;
  --ink: #1B1612;
  --berry: #7A0E22;
  --berry-deep: #4E0715;
  --mint: #A8B85E;
  --forest: #1F3B26;
  --muted: rgba(27, 22, 18, 0.62);
  --line: rgba(27, 22, 18, 0.16);

  --display: 'Fraunces', Georgia, serif;
  --mono: 'DM Mono', ui-monospace, monospace;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --gutter: clamp(20px, 4vw, 56px);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--display);
  font-variation-settings: 'SOFT' 50, 'WONK' 0;
  font-weight: 350;
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: var(--berry); color: var(--cream); }

/* ---------- shared bits ---------- */
.display {
  font-family: var(--display);
  font-variation-settings: 'SOFT' 100, 'WONK' 1, 'opsz' 144;
  font-weight: 500;
  line-height: 0.92;
  letter-spacing: -0.025em;
}
.display em {
  font-style: italic;
  font-weight: 300;
  color: var(--berry);
}
.label {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.spark {
  width: 0.9em; height: 0.9em;
  flex-shrink: 0;
  fill: currentColor;
}
.label .spark { color: var(--berry); }
.wrap { padding-left: var(--gutter); padding-right: var(--gutter); }

.btn {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 28px;
  border-radius: 999px;
  background: var(--berry);
  color: var(--cream);
  border: 1px solid var(--berry);
  transition: background 0.3s, color 0.3s, transform 0.3s var(--ease);
  cursor: pointer;
}
.btn:hover { background: var(--ink); border-color: var(--ink); transform: translateY(-2px); }
.btn .arrow { transition: transform 0.3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn--ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn--ghost:hover { background: var(--cream); color: var(--ink); border-color: var(--cream); }

:focus-visible { outline: 2px solid var(--berry); outline-offset: 3px; }

/* ---------- 8mm film grain ----------
   Coarse monochrome grain over the whole page, jumping ~8 times a second
   like a projector. Grain only: no flicker, vignette or scratches. */
.grain {
  position: fixed;
  inset: -50%;
  width: 200%; height: 200%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 300 300' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.62' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 300px 300px;
  mix-blend-mode: overlay;
  opacity: 0.48;
  pointer-events: none;
  z-index: 9990;
  animation: grain 0.75s steps(1) infinite;
}
@keyframes grain {
  0%     { transform: translate(0, 0); }
  16.6%  { transform: translate(-3%, 2%); }
  33.3%  { transform: translate(2%, -4%); }
  50%    { transform: translate(-4%, -1%); }
  66.6%  { transform: translate(3%, 3%); }
  83.3%  { transform: translate(-1%, 4%); }
}

/* ---------- nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px var(--gutter);
  color: var(--cream);
  transition: background 0.4s, color 0.4s, padding 0.4s var(--ease), box-shadow 0.4s;
}
/* The frosted background lives on a pseudo-element: a backdrop-filter on .nav itself
   would trap the full-screen phone menu (position: fixed) inside the bar. */
.nav::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(237, 231, 212, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--line);
  opacity: 0;
  transition: opacity 0.4s;
}
.nav.is-solid::before { opacity: 1; }
.nav.is-solid {
  color: var(--ink);
  padding-top: 12px; padding-bottom: 12px;
}
.logo { position: relative; z-index: 2; }
.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-family: var(--display);
  font-variation-settings: 'SOFT' 100, 'WONK' 1, 'opsz' 72;
  font-style: italic;
  font-weight: 500;
  font-size: 24px;
  letter-spacing: -0.01em;
  line-height: 1;
}
.logo .spark { color: var(--mint); width: 16px; height: 16px; transition: transform 0.6s var(--ease); }
.logo:hover .spark { transform: rotate(90deg) scale(1.15); }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-link {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 10px 14px;
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 14px; right: 14px; bottom: 6px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.nav-link:hover::after { transform: scaleX(1); }
.nav .btn { padding: 11px 20px; font-size: 11px; margin-left: 10px; }
.nav:not(.is-solid) .btn { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.nav:not(.is-solid) .btn:hover { background: var(--berry); color: var(--cream); border-color: var(--berry); }
.menu-toggle {
  display: none;
  background: none;
  border: 0;
  color: inherit;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 10px 0 10px 10px;
  cursor: pointer;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--cream);
  overflow: hidden;
  background: var(--ink);
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 40%;
  transform: scale(1.08);
  animation: heroZoom 2.4s var(--ease) forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse at 75% 20%, rgba(255, 170, 80, 0.18), transparent 55%),
    linear-gradient(to right, rgba(27,22,18,0.55) 0%, rgba(27,22,18,0) 55%),
    linear-gradient(to top, rgba(27,22,18,0.75) 0%, rgba(27,22,18,0) 45%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  padding: 140px var(--gutter) clamp(28px, 5vw, 56px);
}
.hero .label { color: var(--cream); opacity: 0.9; margin-bottom: 20px; }
.hero .label .spark { color: var(--mint); }
.hero-title {
  font-size: clamp(76px, 15vw, 240px);
  color: var(--cream);
}
.hero-title .line { display: block; overflow: hidden; padding: 0.1em 0 0.22em; margin: -0.1em 0 -0.16em; } /* room for Ć and ę */
.hero-title .line > span {
  display: inline-block;
  transform: translateY(105%);
  animation: rise 1.3s var(--ease) forwards;
}
.hero-title .line:nth-child(2) > span { animation-delay: 0.12s; }
.hero-title em { color: var(--mint); padding-left: 0.5em; }
@keyframes rise { to { transform: translateY(0); } }

.hero-foot {
  margin-top: clamp(28px, 4vw, 48px);
  padding-top: 24px;
  border-top: 1px solid rgba(237, 231, 212, 0.3);
  display: flex;
  justify-content: flex-end;
  opacity: 0;
  animation: fade 1s ease 1s forwards;
}
@keyframes fade { to { opacity: 1; } }
.hero-tagline {
  font-style: italic;
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.45;
  max-width: 460px;
  text-align: right;
  text-wrap: balance;
}

/* ---------- marquee ---------- */
.marquee {
  background: var(--berry);
  color: var(--cream);
  overflow: hidden;
  padding: 18px 0;
  border-block: 1px solid var(--berry-deep);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 32s linear infinite;
}
.marquee-group { display: flex; align-items: center; flex-shrink: 0; }
.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 36px;
  padding-right: 36px;
  font-family: var(--display);
  font-variation-settings: 'SOFT' 100, 'WONK' 1;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(22px, 2.4vw, 32px);
  white-space: nowrap;
}
.marquee-item .spark { width: 18px; height: 18px; color: var(--mint); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- intro / about ---------- */
.about {
  padding-top: clamp(96px, 12vw, 180px);
  padding-bottom: clamp(96px, 12vw, 180px);
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(48px, 7vw, 120px);
  align-items: center;
}
.about h2 { font-size: clamp(46px, 6vw, 96px); margin: 24px 0 40px; }
.about p { color: var(--ink); max-width: 520px; }
.about p + p { margin-top: 18px; }
.about-closing {
  margin-top: 24px;
  font-style: italic;
  font-size: clamp(19px, 1.6vw, 22px);
  line-height: 1.45;
  color: var(--berry) !important;
}
/* two prints lying on top of each other */
.about-visual { position: relative; aspect-ratio: 1 / 1.15; } /* height follows width, so the prints always overlap */
.print {
  position: absolute;
  background: #F8F5ED;
  padding: 14px 14px 40px;
  box-shadow: 0 30px 60px -28px rgba(27,22,18,0.55);
  transition: transform 0.8s var(--ease);
}
.print img { width: 100%; height: auto; object-fit: cover; display: block; filter: sepia(0.08); }
.print--main { width: 68%; right: 0; top: 0; transform: rotate(2.5deg); }
.print--main img { aspect-ratio: 4 / 5; object-position: 45% 50%; }
.print--side { width: 58%; left: 0; bottom: 0; transform: rotate(-4deg); }
.print--side img { aspect-ratio: 3 / 2; }
.print--side::before {
  content: '';
  position: absolute;
  top: -12px; left: 50%;
  width: 90px; height: 26px;
  margin-left: -45px;
  background: rgba(122, 14, 34, 0.78);
  transform: rotate(3deg);
}
.about-visual:hover .print--main { transform: rotate(1deg); }
.about-visual:hover .print--side { transform: rotate(-2deg); }

/* ---------- portfolio ---------- */
.work { padding-bottom: clamp(96px, 12vw, 160px); }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  flex-wrap: wrap;
  padding-bottom: 32px;
  margin-bottom: clamp(32px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
}
.section-head h2 { font-size: clamp(46px, 6.5vw, 104px); margin-top: 18px; }
.section-head p { max-width: 360px; color: var(--muted); font-size: 16px; }

.gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(12px, 1.6vw, 24px);
}
.frame {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  display: block;
  cursor: pointer;
  text-decoration: none;
  background: var(--paper);
  border: 0;
  padding: 0;
  color: var(--cream);
  text-align: left;
}
.frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease), filter 0.6s;
  filter: sepia(0.08);
}
.frame:hover img { transform: scale(1.04); filter: sepia(0); }
.frame-cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 48px 20px 16px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: linear-gradient(to top, rgba(27,22,18,0.6), transparent);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s, transform 0.5s var(--ease);
}
.frame:hover .frame-cap, .frame:focus-visible .frame-cap { opacity: 1; transform: translateY(0); }
.frame-cap span:first-child { font-family: var(--display); font-style: italic; font-size: 20px; letter-spacing: 0; text-transform: none; }
.g1 { grid-column: span 7; aspect-ratio: 3 / 2; }
.g2 { grid-column: span 5; aspect-ratio: auto; }
.g3 { grid-column: span 4; aspect-ratio: auto; } /* stretches to the height of .g4 next to it */
.g4 { grid-column: span 8; aspect-ratio: 3 / 2; }
.g5 { grid-column: span 12; aspect-ratio: 2 / 1; }
.g6 { grid-column: span 7; aspect-ratio: 4 / 3; }
.g7 { grid-column: span 5; aspect-ratio: auto; }
.g5 img { object-position: 50% 6%; }
.g7 img { object-position: 58% 30%; }
.g6 img { object-position: 50% 15%; }
.g2 img { object-position: 55% 40%; }
.g3 img { object-position: 60% 50%; }

.work-more {
  margin-top: 48px;
  display: flex;
  justify-content: center;
}

/* ---------- showreel ---------- */
.reel {
  background: var(--ink);
  color: var(--cream);
  padding-top: clamp(80px, 10vw, 140px);
  padding-bottom: clamp(80px, 10vw, 140px);
}
.reel .section-head { border-color: rgba(237, 231, 212,0.18); }
.reel .section-head p { color: rgba(237, 231, 212,0.65); }
.reel .display em { color: var(--mint); }
.reel .label .spark { color: var(--mint); }
.filmstrip {
  position: relative;
  background: #0E0B09;
  padding: 34px 0;
  border-radius: 8px;
}
.filmstrip::before, .filmstrip::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 14px;
  background-image: radial-gradient(circle at 50% 50%, transparent 0, transparent 0), linear-gradient(to right, var(--cream) 0 14px, transparent 14px 34px);
  background-size: 34px 14px;
  background-repeat: repeat-x;
  opacity: 0.85;
  border-radius: 2px;
  mask-image: linear-gradient(to right, transparent, #000 4%, #000 96%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 4%, #000 96%, transparent);
}
.filmstrip::before { top: 10px; }
.filmstrip::after { bottom: 10px; }
.reel-screen {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #000;
}
.reel-screen img { width: 100%; height: 100%; object-fit: cover; opacity: 0.78; transition: opacity 0.5s, transform 1.2s var(--ease); }
.reel-screen iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.reel-play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: clamp(88px, 10vw, 128px);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 0;
  background: var(--cream);
  color: var(--berry);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform 0.5s var(--ease), background 0.3s, color 0.3s;
}
.reel-play svg { width: 28%; height: 28%; margin-left: 6%; fill: currentColor; }
.reel-screen:hover .reel-play { transform: scale(1.08); background: var(--berry); color: var(--cream); }
.reel-screen:hover img { opacity: 0.9; transform: scale(1.02); }
.reel-caption {
  position: absolute;
  left: 24px; bottom: 20px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  pointer-events: none;
}
.reel-rec {
  position: absolute;
  right: 24px; top: 20px;
  display: flex; align-items: center; gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  pointer-events: none;
}
.reel-rec::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #E0442F; animation: blink 1.4s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* ---------- offer ---------- */
.offer {
  background: var(--forest);
  color: var(--cream);
  padding-top: clamp(96px, 12vw, 160px);
  padding-bottom: clamp(96px, 12vw, 160px);
  position: relative;
  overflow: hidden;
}
.offer .section-head { border-color: rgba(237, 231, 212,0.2); }
.offer .section-head p { color: rgba(237, 231, 212,0.72); }
.offer .display em { color: var(--mint); }
.offer .label .spark { color: var(--mint); }
.tickets {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}
.ticket {
  --notch: 14px;
  position: relative;
  min-width: 0; /* the tier carousel inside must not stretch the ticket */
  background: var(--cream);
  color: var(--ink);
  border-radius: 14px;
  padding: 36px 32px 32px;
  display: flex;
  flex-direction: column;
  transition: transform 0.5s var(--ease);
  /* perforated "ticket" notches on both sides */
  -webkit-mask: radial-gradient(circle var(--notch) at 0 62%, transparent 98%, #000) left / 51% 100% no-repeat,
                radial-gradient(circle var(--notch) at 100% 62%, transparent 98%, #000) right / 51% 100% no-repeat;
          mask: radial-gradient(circle var(--notch) at 0 62%, transparent 98%, #000) left / 51% 100% no-repeat,
                radial-gradient(circle var(--notch) at 100% 62%, transparent 98%, #000) right / 51% 100% no-repeat;
}
.ticket:hover { transform: translateY(-6px) rotate(-0.4deg); }
.ticket--featured { background: var(--mint); }
.ticket-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; }
.ticket-no { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; color: var(--muted); }
.ticket-badge {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--berry);
  color: var(--cream);
  padding: 6px 12px;
  border-radius: 999px;
  white-space: nowrap;
}
.ticket h3 { font-size: clamp(32px, 3vw, 44px); margin-bottom: 12px; }
.ticket-lead { color: var(--muted); font-size: 16px; margin-bottom: 22px; }
.ticket--featured .ticket-lead, .ticket--featured .ticket-no, .ticket--featured li { color: rgba(27,22,18,0.75); }

/* three tiers per ticket: horizontal carousel on desktop, vertical swipe on phones */
.tiers {
  min-width: 0;
  margin-top: auto; /* pinned to the bottom, so the tiers and prices line up across tickets */
  padding-top: 18px;
  border-top: 1px dashed rgba(27,22,18,0.3);
  display: flex;
  flex-direction: column;
}
.tier-nav { display: flex; align-items: center; gap: 6px; margin-bottom: 14px; }
.tier-dot {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  padding: 5px 9px;
  border-radius: 999px;
  border: 1px solid rgba(27,22,18,0.35);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.tier-dot:hover { border-color: var(--ink); }
.tier-dot.is-active { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.tier-hint { margin-left: auto; font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.tier-hint--y { display: none; }
.tier-track {
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}
.tier-track::-webkit-scrollbar { display: none; }
.tier {
  flex: 0 0 100%;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  padding-bottom: 8px;
}
.tier-name {
  font-family: var(--display);
  font-variation-settings: 'SOFT' 100, 'WONK' 1;
  font-style: italic;
  font-size: 22px;
  color: var(--berry);
  margin-bottom: 12px;
}
.tier ul {
  list-style: none;
  display: grid;
  gap: 8px;
  font-size: 15px;
  color: var(--muted);
  flex-grow: 1;
}
.ticket li { display: flex; gap: 10px; align-items: baseline; }
.ticket li::before { content: '✦'; color: var(--berry); font-size: 11px; }
.ticket-price {
  margin-top: 20px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.ticket-price small { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.ticket-price strong { font-family: var(--display); font-variation-settings: 'SOFT' 100, 'WONK' 1; font-weight: 500; font-size: 30px; letter-spacing: -0.01em; }
.ticket-tabs { display: none; }
.offer-note {
  margin-top: 40px;
  text-align: center;
  font-style: italic;
  color: rgba(237, 231, 212,0.75);
}
.offer-note a { color: var(--mint); }

/* ---------- dessert (extras) ---------- */
.dessert {
  padding-top: clamp(96px, 12vw, 160px);
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: clamp(40px, 7vw, 112px);
  align-items: center;
}
.dessert-media {
  position: relative;
  aspect-ratio: 1;
  border-radius: 14px;
  overflow: hidden;
  background: var(--ink);
  transform: rotate(-1.5deg);
  box-shadow: 0 40px 70px -35px rgba(27,22,18,0.55);
  transition: transform 0.8s var(--ease);
}
.dessert-media:hover { transform: rotate(0deg); }
.dessert-media video { width: 100%; height: 100%; object-fit: cover; display: block; }
.dessert-caption {
  position: absolute;
  left: 16px; top: 16px;
  background: var(--cream);
  color: var(--ink);
  padding: 8px 14px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.dessert-sound {
  position: absolute;
  right: 16px; bottom: 16px;
  border: 0;
  background: rgba(237, 231, 212,0.92);
  color: var(--ink);
  padding: 9px 14px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
}
.dessert-sound:hover, .dessert-sound[aria-pressed="true"] { background: var(--berry); color: var(--cream); }
.dessert h2 { font-size: clamp(42px, 5.2vw, 84px); margin: 20px 0 24px; }
.dessert-lead { color: var(--muted); max-width: 460px; }
.extras { list-style: none; margin: 36px 0 40px; border-top: 1px solid var(--line); }
.extras li {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 8px 16px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.extras-num { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; color: var(--berry); padding-top: 9px; }
.extras h3 { font-size: clamp(24px, 2.2vw, 30px); line-height: 1.1; }
.extras p { grid-column: 2; color: var(--muted); font-size: 16px; }

/* ---------- process ---------- */
.process {
  padding-top: clamp(96px, 12vw, 160px);
  padding-bottom: clamp(48px, 6vw, 80px);
}
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(24px, 3vw, 40px);
  counter-reset: step;
}
.step { border-top: 1px solid var(--ink); padding-top: 24px; }
.step-num {
  font-family: var(--display);
  font-variation-settings: 'SOFT' 100, 'WONK' 1, 'opsz' 144;
  font-style: italic;
  font-weight: 300;
  font-size: 64px;
  line-height: 1;
  color: var(--berry);
  margin-bottom: 20px;
}
.step h3 { font-size: 28px; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 16px; }

/* ---------- testimonials ---------- */
.words {
  padding-top: clamp(64px, 8vw, 120px);
  padding-bottom: clamp(96px, 12vw, 160px);
}
.quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.quote {
  background: var(--paper);
  border-radius: 14px;
  padding: 36px 32px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  transition: transform 0.5s var(--ease), background 0.4s;
}
.quote:nth-child(2) { transform: translateY(32px); }
.quote:hover { background: #D7CDB2; }
.quote blockquote {
  font-family: var(--display);
  font-variation-settings: 'SOFT' 100, 'WONK' 1;
  font-style: italic;
  font-weight: 350;
  font-size: clamp(20px, 1.7vw, 24px);
  line-height: 1.4;
}
.quote blockquote::before {
  content: '“';
  display: block;
  font-size: 72px;
  line-height: 0.6;
  margin-bottom: 12px;
  color: var(--berry);
  font-style: normal;
}
.quote footer { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.quote footer b { display: block; color: var(--ink); font-weight: 400; margin-bottom: 4px; }

/* ---------- faq ---------- */
.faq {
  padding-bottom: clamp(96px, 12vw, 160px);
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}
.faq h2 { font-size: clamp(46px, 5.5vw, 88px); margin-top: 18px; }
.faq-list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  font-family: var(--display);
  font-variation-settings: 'SOFT' 100, 'WONK' 1;
  font-weight: 400;
  font-size: clamp(20px, 1.8vw, 26px);
  line-height: 1.25;
  transition: color 0.3s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--berry); }
.faq summary::after {
  content: '+';
  font-family: var(--mono);
  font-size: 22px;
  flex-shrink: 0;
  transition: transform 0.4s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq-more { margin-top: 28px; color: var(--muted); font-style: italic; }
.faq-more a { color: var(--berry); }
.faq details p { color: var(--muted); padding: 0 48px 28px 0; max-width: 640px; }

/* ---------- contact ---------- */
.contact {
  background: var(--berry);
  color: var(--cream);
  padding-top: clamp(96px, 12vw, 160px);
  padding-bottom: clamp(96px, 12vw, 160px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 7vw, 120px);
  position: relative;
  overflow: hidden;
}
.contact .label .spark { color: var(--mint); }
.contact h2 { font-size: clamp(56px, 8vw, 132px); margin: 20px 0 32px; }
.contact h2 em { color: var(--mint); }
.contact-lead { color: rgba(237, 231, 212,0.8); max-width: 440px; }
.contact-direct { margin-top: 48px; display: grid; gap: 0; max-width: 440px; }
.contact-direct a {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(237, 231, 212,0.22);
  text-decoration: none;
  font-size: 18px;
  transition: color 0.3s, padding 0.4s var(--ease);
}
.contact-direct a:hover { color: var(--mint); padding-left: 6px; }
.contact-direct small { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.65; }

.form {
  background: var(--cream);
  color: var(--ink);
  border-radius: 18px;
  padding: clamp(28px, 3vw, 44px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 18px;
  align-self: start;
  box-shadow: 0 40px 80px -40px rgba(0,0,0,0.5);
}
.field { display: grid; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea {
  font: inherit;
  font-size: 17px;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(27,22,18,0.35);
  padding: 8px 0 10px;
  border-radius: 0;
  transition: border-color 0.3s;
  width: 100%;
}
.field textarea { resize: vertical; min-height: 96px; }
.field select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 12px) 55%, calc(100% - 7px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 24px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--berry); }
.form .btn { grid-column: 1 / -1; justify-content: center; margin-top: 8px; }
.form-note { grid-column: 1 / -1; font-size: 13px; color: var(--muted); text-align: center; }
.form-note.is-error { color: var(--berry); }
.form-note a { color: inherit; }
.form-trap { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }
.form { position: relative; }
.form [hidden] { display: none !important; } /* fields use display: grid, which would override [hidden] */
.form-done { grid-column: 1 / -1; text-align: center; padding: 40px 0 24px; }
.form-done .spark { width: 34px; height: 34px; color: var(--berry); margin: 0 auto 16px; display: block; }
.form-done h3 { font-size: clamp(40px, 4vw, 56px); margin-bottom: 12px; }
.form-done p { color: var(--muted); max-width: 320px; margin: 0 auto; }
.btn:disabled { opacity: 0.7; cursor: wait; transform: none; }

/* custom date picker */
.date-field { position: relative; }
.date-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  font: inherit;
  font-size: 17px;
  color: var(--ink);
  text-align: left;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(27,22,18,0.35);
  padding: 8px 0 10px;
  cursor: pointer;
  transition: border-color 0.3s;
}
.date-trigger:hover, .date-trigger[aria-expanded="true"] { border-color: var(--berry); }
.date-trigger:focus-visible { outline: none; border-color: var(--berry); }
.date-value { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.date-value.is-empty { color: rgba(27,22,18,0.45); }
.date-icon { width: 18px; height: 18px; flex-shrink: 0; fill: none; stroke: var(--berry); stroke-width: 1.6; stroke-linecap: round; }
.cal {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 20;
  width: 300px;
  padding: 16px;
  background: #F8F5ED;
  color: var(--ink);
  border-radius: 14px;
  box-shadow: 0 24px 60px -20px rgba(27,22,18,0.45), 0 0 0 1px var(--line);
  animation: calIn 0.25s var(--ease);
}
.cal[hidden] { display: none; }
@keyframes calIn { from { opacity: 0; transform: translateY(-6px); } }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.cal-title {
  font-family: var(--display);
  font-variation-settings: 'SOFT' 100, 'WONK' 1;
  font-style: italic;
  font-size: 21px;
}
.cal-nav {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  font-family: var(--mono);
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
}
.cal-nav:hover:not(:disabled) { background: var(--ink); color: var(--cream); }
.cal-nav:disabled { opacity: 0.3; cursor: default; }
.cal-week, .cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; text-align: center; }
.cal-week span { font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); padding: 6px 0; }
.cal-week span:nth-child(6) { color: var(--berry); }
.cal-grid button {
  aspect-ratio: 1;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  font-family: var(--display);
  font-size: 15px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.cal-grid button:hover:not(:disabled) { background: var(--paper); }
.cal-grid button:focus-visible { outline: 2px solid var(--berry); outline-offset: -2px; }
.cal-grid button.is-saturday { color: var(--berry); font-weight: 500; }
.cal-grid button.is-today { box-shadow: inset 0 0 0 1px var(--ink); }
.cal-grid button.is-picked { background: var(--berry); color: var(--cream); }
.cal-grid button:disabled { color: rgba(27,22,18,0.22); cursor: default; }
.cal-unknown {
  width: 100%;
  margin-top: 10px;
  padding: 10px;
  border: 1px dashed rgba(27,22,18,0.3);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}
.cal-unknown:hover { border-style: solid; border-color: var(--ink); }

/* ---------- footer ---------- */
.site-footer {
  background: var(--ink);
  color: var(--cream);
  padding-top: clamp(64px, 8vw, 100px);
  padding-bottom: 32px;
  overflow: hidden;
}
.footer-word {
  font-size: clamp(64px, 17vw, 300px);
  white-space: nowrap;
  color: var(--cream);
  display: flex;
  align-items: center;
  gap: 0.12em;
}
.footer-word em { color: var(--mint); }
.footer-word .spark { width: 0.35em; height: 0.35em; color: var(--berry); }
.footer-bar {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(237, 231, 212,0.18);
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(237, 231, 212,0.6);
}
.footer-bar nav { display: flex; gap: 28px; flex-wrap: wrap; }
.footer-bar a { text-decoration: none; transition: color 0.3s; }
.footer-bar a:hover { color: var(--mint); }

/* ---------- lightbox ---------- */
.lightbox {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: 100vw;
  max-height: 100vh;
  width: 100vw;
  height: 100vh;
  color: var(--cream);
}
.lightbox::backdrop { background: rgba(14, 11, 9, 0.94); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox img {
  max-width: min(92vw, 1800px);
  max-height: 84vh;
  object-fit: contain;
  border-radius: 4px;
  animation: fade 0.4s ease;
}
.lb-btn {
  position: fixed;
  background: none;
  border: 1px solid rgba(237, 231, 212,0.4);
  color: var(--cream);
  width: 52px; height: 52px;
  border-radius: 50%;
  font-family: var(--mono);
  font-size: 18px;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
}
.lb-btn:hover { background: var(--cream); color: var(--ink); }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 20px; top: 50%; translate: 0 -50%; }
.lb-next { right: 20px; top: 50%; translate: 0 -50%; }
.lb-count { position: fixed; bottom: 24px; left: 0; right: 0; text-align: center; font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity 0.9s ease, transform 1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.quote.reveal.is-in:nth-child(2) { transform: translateY(32px); }
[data-delay="1"] { transition-delay: 0.1s; }
[data-delay="2"] { transition-delay: 0.2s; }
[data-delay="3"] { transition-delay: 0.3s; }

/* ---------- realizations page (/realizacje/) ---------- */
.real-intro {
  padding-top: clamp(140px, 16vw, 220px);
  padding-bottom: clamp(56px, 7vw, 96px);
  border-bottom: 1px solid var(--line);
}
.real-intro h1 { font-size: clamp(56px, 9vw, 150px); margin: 20px 0 28px; }
.real-intro > p { color: var(--ink); max-width: 560px; font-size: clamp(18px, 1.5vw, 21px); }
.real-index { list-style: none; margin-top: 40px; display: flex; flex-wrap: wrap; gap: 10px; }
.real-index a {
  display: inline-flex; align-items: baseline; gap: 10px;
  padding: 10px 18px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  text-decoration: none;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  transition: background 0.3s, color 0.3s;
}
.real-index a b { font-family: var(--display); font-style: italic; font-weight: 400; font-size: 17px; letter-spacing: 0; text-transform: none; }
.real-index a:hover { background: var(--ink); color: var(--cream); }

.real {
  padding-top: clamp(72px, 9vw, 130px);
  padding-bottom: clamp(72px, 9vw, 130px);
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 30px;
}
.real-head {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: end;
  margin-bottom: clamp(36px, 5vw, 64px);
}
.real-num { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; color: var(--berry); }
.real-head h2 { font-size: clamp(48px, 7vw, 116px); margin: 14px 0 22px; }
.real-story { color: var(--ink); max-width: 560px; }
.real-facts { border-top: 1px solid var(--line); }
.real-facts div {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 18px;
}
.real-facts dt { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.real-facts dd { text-align: right; }
.real-film {
  position: relative;
  max-width: 640px;
  aspect-ratio: 1;
  margin: 0 auto clamp(40px, 5vw, 72px);
  border-radius: 14px;
  overflow: hidden;
  background: var(--ink);
  box-shadow: 0 40px 70px -35px rgba(27,22,18,0.55);
}
.real-film video { width: 100%; height: 100%; object-fit: cover; display: block; }
.real-film .dessert-sound { right: 16px; bottom: 16px; top: auto; }
.real-grid { columns: 3; column-gap: clamp(10px, 1.4vw, 20px); }
.real-grid figure {
  break-inside: avoid;
  margin-bottom: clamp(10px, 1.4vw, 20px);
  border-radius: 6px;
  overflow: hidden;
  background: var(--paper);
  cursor: zoom-in;
}
.real-grid img { width: 100%; height: auto; display: block; filter: sepia(0.08); transition: transform 1.2s var(--ease), filter 0.6s; }
.real-grid figure:hover img { transform: scale(1.03); filter: sepia(0); }
.real-grid figure:focus-visible { outline: 2px solid var(--berry); outline-offset: 3px; }

.real-cta {
  background: var(--berry);
  color: var(--cream);
  text-align: center;
  padding-top: clamp(96px, 12vw, 160px);
  padding-bottom: clamp(96px, 12vw, 160px);
}
.real-cta .label .spark { color: var(--mint); }
.real-cta h2 { font-size: clamp(48px, 7vw, 112px); margin: 20px auto 24px; }
.real-cta h2 em { color: var(--mint); }
.real-cta p { max-width: 460px; margin: 0 auto 36px; color: rgba(237, 231, 212,0.85); }

@media (max-width: 860px) {
  .real-head { grid-template-columns: 1fr; align-items: start; }
  .real-grid { columns: 2; column-gap: 10px; }
  .real-grid figure { margin-bottom: 10px; }
}

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .tickets, .quotes { grid-template-columns: minmax(0, 1fr); max-width: 560px; margin-inline: auto; }
  /* phones/tablets: one ticket at a time, picked with tabs; tiers swipe sideways */
  .ticket-tabs {
    display: flex;
    gap: 6px;
    max-width: 560px;
    margin: 0 auto 18px;
    padding: 5px;
    border: 1px solid rgba(237, 231, 212,0.25);
    border-radius: 999px;
  }
  .ticket-tabs button {
    flex: 1;
    padding: 10px 6px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--cream);
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.3s, color 0.3s;
  }
  .ticket-tabs button.is-active { background: var(--cream); color: var(--ink); }
  .tickets .ticket:not(.is-active) { display: none; }
  .ticket { padding: 28px 24px 24px; }
  .ticket:hover { transform: none; }
  .tier-hint--x { display: none; }
  .tier-hint--y { display: inline; }
  .tier-track {
    display: block;
    overflow-x: hidden;
    overflow-y: auto;
    scroll-snap-type: y mandatory;
  }
  .tier { height: 100%; }
  .tier-track.is-measuring .tier { height: auto; }
  .quote:nth-child(2), .quote.reveal.is-in:nth-child(2) { transform: none; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 48px; }
}
@media (max-width: 860px) {
  .dessert { grid-template-columns: 1fr; }
  .dessert-media { max-width: 520px; width: 100%; margin-inline: auto; }
  /* phone menu: full-screen cream sheet, big italic links, button at the bottom */
  .nav-links {
    position: fixed;
    inset: 0;
    z-index: 1;
    background: var(--cream);
    color: var(--ink);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 104px var(--gutter) 32px;
    counter-reset: menu;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s, visibility 0s 0.35s;
  }
  .nav.menu-open .nav-links { opacity: 1; visibility: visible; transition: opacity 0.35s; }
  .nav-links .nav-link {
    display: flex;
    align-items: baseline;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font-family: var(--display);
    font-variation-settings: 'SOFT' 100, 'WONK' 1;
    font-style: italic;
    font-size: clamp(32px, 9vw, 44px);
    line-height: 1.1;
    letter-spacing: -0.01em;
    text-transform: none;
    transform: translateY(12px);
    opacity: 0;
    transition: transform 0.5s var(--ease), opacity 0.4s;
  }
  .nav-links .nav-link::before {
    counter-increment: menu;
    content: counter(menu, decimal-leading-zero);
    font-family: var(--mono);
    font-style: normal;
    font-size: 11px;
    letter-spacing: 0.14em;
    color: var(--berry);
  }
  .nav-links .nav-link::after { display: none; }
  .nav.menu-open .nav-link { transform: none; opacity: 1; }
  .nav.menu-open .nav-link:nth-child(2) { transition-delay: 0.04s; }
  .nav.menu-open .nav-link:nth-child(3) { transition-delay: 0.08s; }
  .nav.menu-open .nav-link:nth-child(4) { transition-delay: 0.12s; }
  .nav.menu-open .nav-link:nth-child(5) { transition-delay: 0.16s; }
  .nav-links .btn,
  .nav:not(.is-solid) .nav-links .btn { margin: auto 0 0; justify-content: center; padding: 18px 28px; font-size: 12px; background: var(--berry); color: var(--cream); border-color: var(--berry); }
  .nav.menu-open { color: var(--ink); }
  .nav.menu-open::before { opacity: 0; }
  .menu-toggle { display: block; position: relative; z-index: 2; }
  .about, .faq, .contact { grid-template-columns: 1fr; }
  .about-visual { max-width: 460px; margin-inline: auto; width: 100%; aspect-ratio: 1 / 1.1; }
  .print--main { width: 76%; }
  .print--side { width: 62%; bottom: 4%; }
  /* phone/tablet: compact 2-column grid instead of a long single column */
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .g1 { grid-column: 1 / -1; aspect-ratio: 3 / 2; }
  .g2, .g3, .g4, .g5, .g6, .g7 { grid-column: auto; aspect-ratio: 4 / 5; }
  .g2 img { object-position: 50% 30%; }
  .g3 img { object-position: 72% 40%; }
  .g4 img { object-position: 86% 50%; }
  .g5 img { object-position: 52% 25%; }
  .g6 img { object-position: 50% 20%; }
  .g7 img { object-position: 55% 30%; }
  .frame-cap { opacity: 1; transform: none; flex-direction: column; align-items: flex-start; gap: 2px; padding: 40px 12px 10px; font-size: 9px; }
  .frame-cap span:first-child { font-size: 16px; }
  .g1 .frame-cap { flex-direction: row; justify-content: space-between; align-items: flex-end; padding: 48px 16px 14px; font-size: 10px; }
  .g1 .frame-cap span:first-child { font-size: 19px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .steps { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; }
  .cal { width: 100%; min-width: 280px; }
  .hero-title em { padding-left: 0.2em; }
  .lb-prev, .lb-next { top: auto; bottom: 16px; translate: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .grain { animation: none; }
}
