/* CUKRZANA — minimalistyczna rama, osobowość niosą zdjęcia */

:root {
  --bg: #FAF6F1;
  --ink: #26211D;
  --ink-soft: #6E655D;
  --rose: #B96E93;
  --rose-soft: #F3E2E9;
  --line: #E8DFD6;
  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-body: "Inter", -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { display: block; width: 100%; height: auto; }

a { color: inherit; }

/* ——— Nawigacja ——— */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px clamp(20px, 4vw, 48px);
  mix-blend-mode: difference;
  color: #fff;
}
.nav a { text-decoration: none; }
.nav .wordmark {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0.28em;
  font-weight: 500;
}
.nav .nav-link {
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ——— Hero ——— */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero img {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20, 14, 10, 0.72) 0%, rgba(20, 14, 10, 0.45) 42%, rgba(20, 14, 10, 0.06) 62%, rgba(20, 14, 10, 0.14) 100%);
}
.hero-content { text-shadow: 0 2px 24px rgba(20, 14, 10, 0.35); }
.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  padding: clamp(24px, 5vw, 64px);
  width: 100%;
}
.hero-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(46px, 13.5vw, 200px);
  line-height: 0.95;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.hero-sub {
  margin-top: 14px;
  font-size: clamp(15px, 1.6vw, 19px);
  max-width: 460px;
  color: rgba(255, 255, 255, 0.92);
}

/* ——— Sekcje ——— */
.section {
  padding: clamp(72px, 12vw, 160px) clamp(20px, 6vw, 80px);
  max-width: 1200px;
  margin: 0 auto;
}
.section--narrow { max-width: 680px; }

.kicker {
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 20px;
}

h2.entry-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(40px, 6vw, 76px);
  line-height: 1.05;
}

.lead {
  font-size: clamp(18px, 2vw, 21px);
  color: var(--ink-soft);
  max-width: 560px;
  margin-top: 24px;
}

/* ——— Wejścia (strona główna) ——— */
.entries { border-top: 1px solid var(--line); }
.entry {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  padding: clamp(36px, 6vw, 64px) clamp(20px, 6vw, 80px);
  max-width: 1200px;
  margin: 0 auto;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  transition: background 0.3s ease;
}
.entry:hover { background: var(--rose-soft); }
.entry-num {
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--rose);
  display: block;
  margin-bottom: 10px;
}
.entry-name {
  font-family: var(--font-display);
  font-size: clamp(34px, 5vw, 60px);
  font-weight: 500;
  line-height: 1.05;
}
.entry-desc {
  margin-top: 10px;
  color: var(--ink-soft);
  font-size: 15px;
  max-width: 440px;
}
.entry-arrow {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 48px);
  color: var(--rose);
  transition: transform 0.3s ease;
}
.entry:hover .entry-arrow { transform: translateX(8px); }

/* ——— Obrazki treści ——— */
.photo-full { margin: clamp(48px, 8vw, 110px) 0; }
.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(12px, 2vw, 28px);
  margin: clamp(48px, 8vw, 110px) 0;
}
.photo-grid img, .photo-full img { border-radius: 4px; }
.caption {
  margin-top: 14px;
  font-size: 14px;
  color: var(--ink-soft);
  font-style: italic;
  font-family: var(--font-display);
  font-size: 17px;
}

/* ——— O mnie (dwa bloki) ——— */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}
.split img { border-radius: 4px; }

/* ——— CTA ——— */
.cta-button {
  display: inline-block;
  background: var(--ink);
  color: #FAF6F1;
  font-family: var(--font-body);
  font-size: 15px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 20px 44px;
  border-radius: 999px;
  transition: background 0.25s ease, transform 0.25s ease;
}
.cta-button:hover { background: var(--rose); transform: translateY(-2px); }
.cta-button--disabled,
.cta-button--disabled:hover {
  background: var(--ink-soft);
  opacity: 0.55;
  cursor: default;
  transform: none;
  pointer-events: none;
}

.price-line {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.4vw, 38px);
  margin: 28px 0 22px;
}

.cta-block {
  text-align: center;
  padding: clamp(80px, 14vw, 180px) clamp(20px, 6vw, 80px);
}
.cta-block .cta-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(44px, 7vw, 96px);
  line-height: 1.02;
}
.cta-block .cta-meta {
  margin: 22px 0 36px;
  color: var(--ink-soft);
  font-size: 16px;
  letter-spacing: 0.06em;
}

/* ——— Info praktyczne ——— */
.facts {
  border-top: 1px solid var(--line);
  margin-top: clamp(32px, 5vw, 64px);
}
.fact {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.fact dt {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rose);
  padding-top: 4px;
}
.fact dd { font-size: 17px; }

/* ——— Stopka ——— */
.footer {
  border-top: 1px solid var(--line);
  padding: 40px clamp(20px, 6vw, 80px);
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--ink-soft);
}
.footer a { text-decoration: none; }
.footer a:hover { color: var(--rose); }
.footer .footer-word {
  font-family: "Bodoni Moda", var(--font-display);
  letter-spacing: 0.08em;
  font-size: 17px;
  color: var(--ink);
}

/* ——— Polityka prywatności ——— */
.legal h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 500;
  margin-bottom: 32px;
}
.legal h2 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  margin: 36px 0 12px;
}
.legal p, .legal li { color: var(--ink-soft); margin-bottom: 10px; }
.legal ul { padding-left: 22px; }
.legal .todo {
  background: var(--rose-soft);
  border-radius: 4px;
  padding: 2px 8px;
  color: var(--rose);
  font-weight: 600;
}

/* ——— V3: Hero strony głównej — Kasia w kadrze, wordmark na dole ——— */
.hero--home { justify-content: center; text-align: center; }
.hero--home img { object-position: 50% 55%; }
.hero-brand {
  position: relative;
  z-index: 2;
  color: #fff;
  padding: clamp(24px, 5vw, 64px);
  width: 100%;
  text-align: center;
  text-shadow: 0 2px 24px rgba(20, 14, 10, 0.45);
}
.hero-wordmark {
  font-family: "Bodoni Moda", var(--font-display);
  font-style: normal;
  font-weight: 400;
  font-size: clamp(64px, 13vw, 160px);
  line-height: 1;
  letter-spacing: 0.01em;
}
.hero-tagline {
  margin-top: 18px;
  font-size: clamp(11px, 1.3vw, 14px);
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.94);
}
.hero-tagline span + span::before {
  content: "·";
  margin: 0 14px;
  color: rgba(255, 255, 255, 0.55);
}
.hero-hint {
  margin-top: clamp(28px, 4vw, 44px);
  font-size: 22px;
  color: rgba(255, 255, 255, 0.85);
}

/* ——— V3: Hero strony eventu — rytm pionowy ——— */
.hero--event .hero-title {
  font-size: clamp(38px, 8.5vw, 118px);
  line-height: 1.02;
}
.hero--event .hero-sub { margin-top: clamp(20px, 2.6vw, 30px); }
.hero--event .hero-content p:last-child { margin-top: clamp(24px, 3vw, 34px); }

/* ——— V4 (brief Kasi 2026-09-10): jedna dluga strona, editorial ——— */

/* Hero: zaokraglone gorne rogi, wordmark szeryf prosty */
.hero--home { border-radius: 28px 28px 0 0; }
.hero--home .hero-tagline { text-transform: uppercase; }

/* Sekcja eventu: duze zdjecie z napisem */
.event-photo {
  position: relative;
  overflow: hidden;
  min-height: 92svh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.event-photo img {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
}
.event-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 55% at 50% 50%, rgba(20, 14, 10, 0.34) 0%, rgba(20, 14, 10, 0.10) 70%, transparent 100%),
    linear-gradient(to bottom, rgba(20, 14, 10, 0.34) 0%, rgba(20, 14, 10, 0.16) 35%, rgba(20, 14, 10, 0.18) 65%, rgba(20, 14, 10, 0.38) 100%);
}
.event-photo-text {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  padding: clamp(24px, 5vw, 64px);
  text-shadow: 0 2px 22px rgba(20, 14, 10, 0.5);
}
.event-date {
  font-size: clamp(17px, 2.2vw, 26px);
  font-weight: 600;
  letter-spacing: 0.3em;
}
.event-place {
  margin-top: 10px;
  font-size: clamp(13px, 1.6vw, 17px);
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
}
.event-divider {
  margin: clamp(18px, 3vw, 30px) 0;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 300;
}
.event-headline {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(26px, 4.6vw, 58px);
  letter-spacing: 0.34em;
  text-transform: uppercase;
  line-height: 1.5;
}

/* Zaproszenie: kremowy blok, tekst Kasi */
.invite {
  text-align: center;
  padding: clamp(72px, 11vw, 150px) clamp(24px, 7vw, 80px);
  max-width: 760px;
  margin: 0 auto;
}
.invite p {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.55;
  color: var(--ink);
}
.invite p + p { margin-top: clamp(22px, 3vw, 34px); }
.invite-accent {
  margin-top: clamp(40px, 6vw, 64px) !important;
  font-family: var(--font-body) !important;
  font-size: clamp(13px, 1.5vw, 16px) !important;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #9E3A52;
  line-height: 2 !important;
}
.invite-accent::before {
  content: "";
  display: block;
  width: 44px;
  height: 1px;
  background: #9E3A52;
  opacity: 0.55;
  margin: 0 auto clamp(24px, 3.5vw, 36px);
}

/* Kafel informacji i skladki — skompresowany (v2) */
.plan { padding: 0 clamp(20px, 6vw, 80px) clamp(56px, 8vw, 100px); }
.plan-inner {
  max-width: 720px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: clamp(24px, 3.6vw, 42px) clamp(22px, 4vw, 48px);
}
.plan .facts { margin-top: 0; }
.plan .fact { padding: 14px 0; }
.plan-label {
  margin-top: clamp(22px, 3.4vw, 34px);
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--rose);
}
.plan-list {
  list-style: none;
  margin-top: 14px;
  columns: 2;
  column-gap: 32px;
}
.plan-list li {
  font-size: 16px;
  padding: 5px 0 5px 20px;
  position: relative;
  break-inside: avoid;
}
.plan-list li::before {
  content: "·";
  position: absolute;
  left: 4px;
  color: var(--rose);
  font-weight: 600;
}
.plan-skladka {
  margin-top: clamp(24px, 3.6vw, 36px);
  font-size: 17px;
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
  padding-top: clamp(22px, 3.2vw, 32px);
}
.plan-skladka strong { color: var(--ink); }
.plan-strong {
  margin-top: 18px;
  text-align: center;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}
.plan-cta { text-align: center; margin-top: clamp(24px, 3.4vw, 34px); }
.plan-note {
  text-align: center;
  margin-top: 18px;
  font-size: 13.5px;
  color: var(--ink-soft);
}
.photo-grid--plan {
  max-width: 720px;
  margin: clamp(28px, 4vw, 44px) auto 0;
  grid-template-columns: 1fr 1fr;
}

/* ——— V5 (update Kasi 2026-09-10): O Cukrzanej jako historia w scrollu ——— */
.story {
  padding: clamp(64px, 9vw, 120px) clamp(20px, 6vw, 80px);
  max-width: 1200px;
  margin: 0 auto;
}
.story-kicker { text-align: center; margin-bottom: clamp(48px, 7vw, 90px); }
.story-part {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}
.story-part--rev .story-img { order: -1; }
.story-img img {
  border-radius: 6px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  height: 100%;
}
.story-headline {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(34px, 4.6vw, 60px);
  line-height: 1.08;
  margin-bottom: 20px;
}
.story-text {
  color: var(--ink-soft);
  font-size: clamp(16px, 1.6vw, 19px);
  max-width: 460px;
}
.story-full { margin: 0; }
.story-full img {
  width: 100%;
  height: min(80svh, 840px);
  object-fit: cover;
  object-position: 50% 60%;
}
.story-part--center {
  display: block;
  text-align: center;
  margin-top: clamp(64px, 9vw, 120px);
}
.story-part--center .story-text { margin: 0 auto clamp(28px, 4vw, 44px); }
.story-part--center .story-img { max-width: 560px; margin: 0 auto; }
.story-close { padding-top: clamp(64px, 9vw, 120px); }
.story-close p {
  font-family: var(--font-display);
  font-size: clamp(25px, 3.4vw, 42px);
  line-height: 1.4;
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}

/* Galeria: element scrollowania, dwa obok siebie tez na mobile */
.gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(10px, 1.6vw, 22px);
  padding: 0 clamp(20px, 6vw, 80px) clamp(72px, 10vw, 130px);
  max-width: 1400px;
  margin: 0 auto;
}
.gallery img {
  border-radius: 6px;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 5;
}

/* ——— V3: Nawigacja strony głównej (bez blendu, hamburger na mobile) ——— */
.nav--home { justify-content: center; z-index: 12; }
.nav--home .nav-menu { display: flex; gap: clamp(24px, 4vw, 52px); }
.nav--home .nav-menu a {
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-shadow: 0 1px 10px rgba(20, 14, 10, 0.55);
  padding-bottom: 6px;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}
.nav--home .nav-menu a:hover { border-bottom-color: rgba(255, 255, 255, 0.75); }
.menu-toggle { display: none; }
.menu-button {
  display: none;
  position: absolute;
  right: clamp(20px, 4vw, 48px);
  top: 22px;
  width: 30px;
  cursor: pointer;
  z-index: 12;
}
.menu-button span {
  display: block;
  height: 1px;
  background: #fff;
  margin: 7px 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.menu-overlay {
  position: fixed;
  inset: 0;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 34px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  z-index: 11;
}
.menu-overlay a {
  font-family: var(--font-display);
  font-size: 34px;
  color: var(--ink);
  text-decoration: none;
}
.menu-toggle:checked ~ .menu-overlay { opacity: 1; visibility: visible; }
.menu-toggle:checked ~ .nav--home .menu-button span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle:checked ~ .nav--home .menu-button span:nth-child(2) { opacity: 0; }
.menu-toggle:checked ~ .nav--home .menu-button span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ——— V3: Sekcja „Najbliższe spotkanie" ——— */
.event-strip {
  text-align: center;
  padding: clamp(72px, 11vw, 140px) clamp(20px, 6vw, 80px);
  border-bottom: 1px solid var(--line);
}
.event-strip .event-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.05;
}
.event-strip .event-num {
  display: block;
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 0.24em;
  color: var(--rose);
  margin-bottom: 14px;
}
.event-strip .event-meta {
  margin-top: 18px;
  font-size: 15px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.event-strip .event-desc {
  margin: 22px auto 34px;
  max-width: 460px;
  color: var(--ink-soft);
  font-size: 17px;
}

/* ——— Mobile ——— */
@media (max-width: 760px) {
  .nav--home .nav-menu { display: none; }
  .menu-button { display: block; }
  .hero--home img { object-position: 50% 22%; }
  .hero { border-radius: 20px 20px 0 0; }
  .nav { padding: 16px 20px; }
  .nav .wordmark { font-size: 16px; letter-spacing: 0.22em; }
  .nav .nav-link { font-size: 11px; letter-spacing: 0.1em; }
  .event-photo { min-height: 100svh; }
  .event-photo img { object-position: 50% 45%; }
  .event-headline { letter-spacing: 0.22em; line-height: 1.6; }
  .plan-list { columns: 1; }
  .split { grid-template-columns: 1fr; }
  .story-part { grid-template-columns: 1fr; gap: 24px; }
  .story-part--rev .story-img { order: 0; }
  .story-full img { height: 64svh; }
  .entry { grid-template-columns: 1fr; gap: 8px; }
  .entry-arrow { display: none; }
  .fact { grid-template-columns: 1fr; gap: 4px; }
}
