    :root{
      --bg1:#F6F2EC;
      --bg2:#EFE8DE;

      --card: rgba(255,255,255,.72);
      --stroke: rgba(255,255,255,.85);

      --text:#1B1B1B;
      --muted:#6A6258;

      --accent:#8B7355;
      --accent2:#C8B79F;

      --shadow: 0 20px 60px rgba(0,0,0,.10);
      --radius: 24px;
    }

    *{ box-sizing:border-box; }
    html{ scroll-behavior:smooth; }

    body{
      margin:0;
      color:var(--text);
      font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
      background: linear-gradient(180deg, var(--bg1), var(--bg2));
      min-height:100vh;
    }

    .wrap{
      max-width: 1120px;
      margin: 0 auto;
      padding: 28px 20px 120px;
    }

    /* Top bar */
    .topbar{
      position: sticky;
      top: 12px;
      z-index: 20;
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:16px;
      padding: 12px 14px;
      border-radius: 999px;
      background: rgba(255,255,255,.62);
      border: 1px solid rgba(255,255,255,.75);
      backdrop-filter: blur(14px);
      box-shadow: 0 10px 30px rgba(0,0,0,.07);
    }

    .brand{
      display:flex;
      align-items:center;
      gap:10px;
      padding-left: 6px;
      white-space:nowrap;
      font-weight:600;
      letter-spacing:.2px;
    }

    .dot{
      width:10px;height:10px;border-radius:50%;
      background: linear-gradient(135deg, var(--accent), var(--accent2));
      box-shadow: 0 6px 14px rgba(139,115,85,.22);
    }

    .nav{
      display:flex;
      gap: 6px;
      flex-wrap: wrap;
      justify-content:flex-end;
    }

    .nav a{
      display:inline-flex;
      padding: 10px 12px;
      border-radius: 999px;
      text-decoration:none;
      color: var(--muted);
      font-size: 13px;
      transition: background .15s, color .15s, transform .15s;
    }
    .nav a:hover{
      background: rgba(255,255,255,.70);
      color: var(--text);
      transform: translateY(-1px);
    }

    .btn{
      display:inline-flex;
      align-items:center;
      justify-content:center;
      gap:10px;
      padding: 12px 16px;
      border-radius: 999px;
      border: 1px solid rgba(255,255,255,.80);
      background: linear-gradient(135deg, rgb(78,53,22,0.95), rgb(173,164,152,.95));
      color:white;
      text-decoration:none;
      font-weight:600;
      letter-spacing:.2px;
      box-shadow: 0 14px 30px rgba(139,115,85,.18);
      transition: transform .15s, box-shadow .15s;
      cursor:pointer;
    }
    .btn:hover{
      transform: translateY(-1px);
      box-shadow: 0 18px 40px rgba(139,115,85,.24);
    }

    .btn-ghost{
      display:inline-flex;
      align-items:center;
      justify-content:center;
      padding: 12px 14px;
      border-radius: 999px;
      border: 1px solid rgba(0,0,0,.12);
      background: rgba(255,255,255,.62);
      color: var(--text);
      text-decoration:none;
      font-weight: 600;
      font-size: 14px;
      cursor:pointer;
    }
    .btn-ghost:hover{ background: rgba(255,255,255,.78); }

    /* Mobile menu toggle */
    .menu-toggle{
      display:none;
      border: 1px solid rgba(0,0,0,.12);
      background: rgba(255,255,255,.62);
      width: 44px;
      height: 44px;
      border-radius: 999px;
      cursor: pointer;
      font-size: 18px;
      line-height: 44px;
      text-align:center;
    }
    .menu-toggle:hover{
      background: rgba(255,255,255,.78);
    }

    /* Hero */
    .hero{
      margin-top: 26px;
      display:grid;
      grid-template-columns: 1.1fr .9fr;
      gap: 22px;
      align-items: stretch;
    }

    .panel{
      border-radius: var(--radius);
      background: var(--card);
      border: 1px solid var(--stroke);
      backdrop-filter: blur(14px);
      box-shadow: var(--shadow);
      overflow: hidden;
    }

    .hero-photo{
      position: relative;
      min-height: 520px;
    }

    .hero-photo .img{
      position:absolute; inset:0;
      background: center/cover no-repeat;
      filter: saturate(1.02) contrast(1.02);
      transform: scale(1.01);
    }
    .hero-photo .shade{
      position:absolute; inset:0;
      background: linear-gradient(180deg, rgba(0,0,0,.04), rgba(0,0,0,.44));
    }

    .hero-photo .stamp{
      position:absolute;
      left: 18px; top: 18px;
      padding: 10px 14px;
      border-radius: 999px;
      background: rgba(255,255,255,.72);
      border: 1px solid rgba(255,255,255,.80);
      backdrop-filter: blur(10px);
      font-family: Allura, cursive;
      font-size: 24px;
      color: #2a2a2a;
      letter-spacing: 0;
      text-transform: none;
    }

    .hero-photo .names{
      position:absolute;
      left: 22px; right: 22px; bottom: 22px;
      display:flex;
      flex-direction:column;
      gap: 10px;
      color: #fff;
    }
    .hero-photo h1{
      margin:0;
      font-family: "Cormorant Garamond", serif;
      font-weight: 600;
      font-size: 56px;
      line-height: 1.03;
      letter-spacing: .2px;
      text-shadow: 0 18px 40px rgba(0,0,0,.28);
    }
    .hero-photo .meta{
      display:flex;
      flex-wrap:wrap;
      gap: 10px;
      align-items:center;
    }
    .chip{
      display:inline-flex;
      align-items:center;
      gap:8px;
      padding: 10px 12px;
      border-radius: 999px;
      background: rgba(255,255,255,.16);
      border: 1px solid rgba(255,255,255,.26);
      backdrop-filter: blur(10px);
      font-size: 13px;
      letter-spacing: .2px;
    }

    .hero-info{
      padding: 26px;
      display:flex;
      flex-direction:column;
      gap: 18px;
    }
    .hero-info h2{
      margin: 6px 0 0;
      font-size: 32px;
      letter-spacing: .2px;
    }
    .hero-info p{
      margin: 0;
      color: var(--muted);
      font-size: 16px;
    }

    .kpi{
      display:grid;
      grid-template-columns: 1fr 1fr;
      gap: 12px;
      margin-top: 6px;
    }
    .kpi .item{
      border-radius: 18px;
      padding: 14px 14px;
      background: rgba(255,255,255,.62);
      border: 1px solid rgba(255,255,255,.80);
    }
    .kpi .label{
      font-size: 12px;
      letter-spacing: 2px;
      text-transform: uppercase;
      color: #6a6a6a;
      margin-bottom: 8px;
    }
    .kpi .value{
      font-size: 16px;
      font-weight: 600;
      color: var(--text);
    }

    .actions{
      display:flex;
      gap: 10px;
      flex-wrap:wrap;
      margin-top: 10px;
    }

    /* Sections */
    .section{
      margin-top: 16px;
    }
    .section-head{
      display:flex;
      align-items:flex-end;
      justify-content:space-between;
      gap: 16px;
      padding: 10px 6px;
      margin-top: 26px;
    }
    .section-head h3{
      margin:0;
      font-family: "Cormorant Garamond", serif;
      font-weight: 600;
      font-size: 24px;
    }
    .section-head .hint{
      margin:0;
      color: var(--muted);
      font-size: 14px;
    }

    .grid{
      display:grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 16px;
      margin-top: 16px;
    }

    .card{
      padding: 20px;
      border-radius: var(--radius);
      background: rgba(255,255,255,.66);
      border: 1px solid rgba(255,255,255,.82);
      backdrop-filter: blur(14px);
      box-shadow: 0 10px 24px rgba(0,0,0,.06);
    }
    .card .top{
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap: 10px;
      margin-bottom: 10px;
    }
    .tag{
      font-size: 12px;
      letter-spacing: 2px;
      text-transform: uppercase;
      color: #6a6a6a;
    }
    .badge{
      font-size: 12px;
      padding: 8px 10px;
      border-radius: 999px;
      background: rgba(139,115,85,.12);
      color: #5c4229;
      border: 1px solid rgba(139,115,85,.18);
      font-weight: 600;
      white-space: nowrap;
    }
    .card h4{
      margin: 0 0 20px;
      font-size: 18px;
      font-weight: 700;
      letter-spacing: .2px;
    }
    .card p{
      margin:0;
      color: var(--muted);
      font-size: 15px;
    }

    .card .cta-row{
      display:flex;
      gap: 10px;
      flex-wrap:wrap;
      margin-top: 14px;
    }

    .card--wide{
      grid-column: 1 / -1;
    }

    /* Responsive */
    @media (max-width: 980px){
      .hero{ grid-template-columns: 1fr; }
      .hero-photo{ min-height: 440px; }
    }

    @media (max-width: 820px){
      .topbar{
        border-radius: 22px;
        padding: 10px 12px;
        gap: 10px;
        flex-wrap: wrap;
      }

      .menu-toggle{
        display:inline-flex;
        align-items:center;
        justify-content:center;
      }

      .nav{
        display:none;
        width: 100%;
        order: 4;
        flex-direction: column;
        gap: 6px;
        padding: 10px 6px 6px;
      }

      .topbar.is-open .nav{
        display:flex;
      }

      .nav a{
        width: 100%;
        justify-content: center;
        padding: 12px 12px;
        background: rgba(255,255,255,.55);
        border: 1px solid rgba(0,0,0,.08);
      }

      .brand{ order: 1; }
      .menu-toggle{ order: 2; }
      #rsvpTop{ order: 3; }

      .hero-photo h1{ font-size: 44px; }
      .grid{ grid-template-columns: 1fr; }
    }

    /* Hero video trigger */
    .hero-photo{
      cursor: pointer;
    }

    .hero-videoTrigger{
      position:absolute;
      inset:0;
      border:0;
      background: transparent;
      cursor: pointer;
    }

    .hero-playBadge{
      position:absolute;
      right: 18px;
      top: 18px;
      width: 44px;
      height: 44px;
      border-radius: 999px;
      display:flex;
      align-items:center;
      justify-content:center;
      background: rgba(255,255,255,.72);
      border: 1px solid rgba(255,255,255,.80);
      backdrop-filter: blur(10px);
      box-shadow: 0 10px 24px rgba(0,0,0,.12);
      font-size: 16px;
      color: #2a2a2a;
      pointer-events: none;
    }

    /* Modal */
    body.modal-open{
      overflow: hidden;
    }

    .modal{
      position: fixed;
      inset: 0;
      z-index: 60;
      display:none;
    }

    .modal.is-open{
      display:block;
    }

    .modal__backdrop{
      position:absolute;
      inset:0;
      background: rgba(0,0,0,.55);
      backdrop-filter: blur(2px);
    }

    .modal__panel{
      position: absolute;
      left: 50%;
      top: 50%;
      transform: translate(-50%, -50%);
      width: min(1000px, calc(100vw - 28px));
      border-radius: 22px;
      background: rgba(255,255,255,.92);
      border: 1px solid rgba(255,255,255,.75);
      box-shadow: 0 24px 80px rgba(0,0,0,.35);
      overflow: hidden;
    }

    .modal__close{
      position:absolute;
      right: 10px;
      top: 10px;
      width: 44px;
      height: 44px;
      border-radius: 999px;
      border: 1px solid rgba(0,0,0,.12);
      background: rgba(255,255,255,.80);
      cursor: pointer;
      font-size: 22px;
      line-height: 44px;
      text-align:center;
    }

    .modal__close:hover{
      background: rgba(255,255,255,.95);
    }

    .modal__video{
      width: 100%;
      aspect-ratio: 16 / 9;
      background: #000;
    }

    .modal__video iframe{
      width: 100%;
      height: 100%;
      border: 0;
      display:block;
    }

.timeline {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto 64px;
}

.timelineTitle {
  font-size: 28px;
  margin: 0 0 18px 0;
}

.timelineList {
  position: relative;
  display: grid;
  gap: 18px;
}

.timelineItem {
  display: grid;
  grid-template-columns: 120px 140px 1fr;
  gap: 16px;
  align-items: start;
  padding: 14px;
  border-radius: 16px;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(255,255,255,.85);
  backdrop-filter: blur(8px);
}

.timelineDate {
  font-weight: 600;
  color: rgba(0,0,0,.75);
  padding-top: 8px;
}

.timelinePhotoButton {
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  border-radius: 14px;
  overflow: hidden;
  outline: none;
}

.timelinePhotoButton:focus-visible {
  outline: 3px solid rgba(139,115,85,.55);
  outline-offset: 2px;
}

.timelinePhoto {
  width: 140px;
  height: 110px;
  object-fit: cover;
  display: block;
  transform: scale(1);
  transition: transform .18s ease;
}

.timelinePhotoButton:hover .timelinePhoto {
  transform: scale(1.03);
}

.timelineContent {
  padding-top: 2px;
}

.timelineHeadline {
  margin: 0 0 6px 0;
  font-size: 18px;
}

.timelineText {
  margin: 0;
  color: rgba(0,0,0,.70);
  line-height: 1.5;
}

@media (max-width: 720px) {
  .timelineItem {
    grid-template-columns: 1fr;
  }

  .timelinePhoto {
    width: 100%;
    height: 180px;
  }

  .timelineDate {
    padding-top: 0;
  }
}

/* Image modal */
.imageModal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 9999;
}

.imageModal.isOpen {
  display: block;
}

.imageModalBackdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.65);
}

.imageModalDialog {
  position: relative;
  max-width: min(980px, calc(100vw - 24px));
  max-height: calc(100vh - 24px);
  margin: 12px auto;
  padding: 12px;
  border-radius: 16px;
  background: rgba(20,20,20,.85);
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(10px);
}

.imageModalClose {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  font-size: 26px;
  line-height: 40px;
  background: rgba(255,255,255,.18);
  color: white;
}

.imageModalImage {
  display: block;
  width: 100%;
  height: auto;
  max-height: calc(100vh - 84px);
  object-fit: contain;
  border-radius: 12px;
}

.sectionTitle {
  font-size: 32px;
  margin: 48px 0 20px;
  color: var(--text);
}

.timelineVideoButton {
  margin-top: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(139,115,85,.35);
  background: rgba(255,255,255,.75);
  cursor: pointer;
  font-weight: 600;
}

.timelineVideoButton:hover {
  background: rgba(255,255,255,.9);
}

/* Video modal */
.videoModal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 9999;
}

.videoModal.isOpen {
  display: block;
}

.videoModalBackdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.65);
}

.videoModalDialog {
  position: relative;
  max-width: min(960px, calc(100vw - 24px));
  margin: 12px auto;
  padding: 12px;
  border-radius: 16px;
  background: #000;
}

.videoModalClose {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  font-size: 26px;
  background: rgba(255,255,255,.2);
  color: white;
}

#timelineVideo {
  width: 100%;
  max-height: calc(100vh - 120px);
  border-radius: 12px;
}

.timelineActions{
  margin-top: 12px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.timelineAction{
  padding: 10px 14px; /* trochu menší než globální */
  font-size: 14px;
}

.timelineVideoThumbButton{
  position: relative;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  border-radius: 14px;
  overflow: hidden;
  outline: none;
}

.timelineVideoThumbButton:focus-visible{
  outline: 3px solid rgba(139,115,85,.55);
  outline-offset: 2px;
}

.timelinePlayBadge{
  position: absolute;
  right: 10px;
  top: 10px;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(255,255,255,.80);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 24px rgba(0,0,0,.12);
  font-size: 14px;
  color: #2a2a2a;
  pointer-events: none;
}

.timelineVideoThumbButton:hover .timelinePhoto{
  transform: scale(1.03);
}


.timelineVideoLabel{
  position: absolute;
  left: 10px;
  bottom: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(0,0,0,.55);
  color: white;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .2px;
  pointer-events: none;
}

/* --- Fotogalerie - zvýraznění sekce --- */
.card--gallery {
  padding: 1.8rem 1.6rem;
}

.card--gallery h4 {
  margin-bottom: 0.6rem;
  font-weight: 600;
}

.gallery-text {
  font-size: 1rem;
  line-height: 1.5;
  color: var(--text);
  margin-bottom: 1rem;
}

.gallery-qr {
  display: flex;
  justify-content: center;
  margin: 0.8rem 0;
}

.gallery-qr img {
  max-width: 160px;
  width: 100%;
  border: 2px solid var(--muted-light);
  border-radius: 8px;
}

.gallery-note {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 0.6rem;
}

/* ------------------------------------ */
/* Stylované odkazy pro sekce / CTA */
/* ------------------------------------ */

a.btn-link, a.btn-link:hover, a.btn-link:focus {
  display: inline-block;
  font-weight: 500;
  color: var(--primary);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

a.btn-link:hover,
a.btn-link:focus {
  color: var(--primary-dark);
  border-color: var(--primary);
}

a.btn-link-accent {
  display: inline-block;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  border: 1px solid var(--accent);
  padding: 0.6rem 1rem;
  border-radius: 6px;
  transition: background 0.2s ease, color 0.2s ease;
  font-size: 1rem;
}

a.btn-link-accent:hover {
  background: var(--accent);
  color: #fff;
  text-decoration: none;
}

/* Delší textové odkazy */
a.text-link {
  color: var(--text);
  text-decoration: underline;
  font-weight: 500;
  transition: color 0.2s ease;
}

a.text-link:hover {
  color: var(--primary);
  text-decoration: underline;
}
