/* =====================================================================
   „Tuš na papíře“ – perokresba + akvarel, cestovní deník.
   Ilustrace: assets/*.webp (zdroj art/gen_art.py)
   ===================================================================== */

/* ---------- fonty (self-hosted, latin + latin-ext pro češtinu) ---------- */
@font-face { font-family: "Alegreya"; font-weight: 500; font-style: normal; font-display: swap;
  src: url(fonts/alegreya-latin-500-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: "Alegreya"; font-weight: 500; font-style: normal; font-display: swap;
  src: url(fonts/alegreya-latin-ext-500-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+A720-A7FF; }
@font-face { font-family: "Alegreya"; font-weight: 500; font-style: italic; font-display: swap;
  src: url(fonts/alegreya-latin-500-italic.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: "Alegreya"; font-weight: 500; font-style: italic; font-display: swap;
  src: url(fonts/alegreya-latin-ext-500-italic.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+A720-A7FF; }
@font-face { font-family: "Alegreya"; font-weight: 700; font-style: normal; font-display: swap;
  src: url(fonts/alegreya-latin-700-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: "Alegreya"; font-weight: 700; font-style: normal; font-display: swap;
  src: url(fonts/alegreya-latin-ext-700-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+A720-A7FF; }
@font-face { font-family: "Alegreya Sans"; font-weight: 400; font-display: swap;
  src: url(fonts/alegreya-sans-latin-400-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: "Alegreya Sans"; font-weight: 400; font-display: swap;
  src: url(fonts/alegreya-sans-latin-ext-400-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+A720-A7FF; }
@font-face { font-family: "Alegreya Sans"; font-weight: 500; font-display: swap;
  src: url(fonts/alegreya-sans-latin-500-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: "Alegreya Sans"; font-weight: 500; font-display: swap;
  src: url(fonts/alegreya-sans-latin-ext-500-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+A720-A7FF; }
@font-face { font-family: "Alegreya Sans"; font-weight: 700; font-display: swap;
  src: url(fonts/alegreya-sans-latin-700-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: "Alegreya Sans"; font-weight: 700; font-display: swap;
  src: url(fonts/alegreya-sans-latin-ext-700-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+A720-A7FF; }
@font-face { font-family: "Caveat"; font-weight: 600; font-display: swap;
  src: url(fonts/caveat-latin-600-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: "Caveat"; font-weight: 600; font-display: swap;
  src: url(fonts/caveat-latin-ext-600-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+A720-A7FF; }

/* ---------- tokeny ---------- */
:root {
  --paper: #F6F7F2;
  --ink: #1E3A44;
  --ink-soft: #4A646C;
  --lagoon: #1F6E6B;          /* odkazy, výběr – kontrast ≥ 4.5:1 na papíře */
  --lagoon-wash: #D3EBE6;
  --leaf: #5E9A6B;
  --pink: #E7A1B6;
  --pink-wash: #F7E4EA;
  --line: rgba(30, 58, 68, .22);
  --ph-bg: #FFF1A6;

  --serif: "Alegreya", Georgia, serif;
  --sans: "Alegreya Sans", system-ui, sans-serif;
  --hand: "Caveat", "Segoe Print", cursive;

  --measure: 34rem;
  --wrap: 46rem;
  --nav-h: 54px;
  --sketch: 255px 14px 225px 16px / 16px 225px 14px 255px;   /* ručně kreslený obrys */
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; color: var(--ink);
  background: var(--paper) url(assets/paper.webp) repeat;
  background-size: 384px;
  font: 400 1.125rem/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--lagoon); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }
strong { font-weight: 700; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 700; line-height: 1.1; margin: 0; letter-spacing: -.005em; }
:focus-visible { outline: 2px dashed var(--lagoon); outline-offset: 3px; }

mark.ph { background: var(--ph-bg); color: inherit; padding: 0 .15em; border-radius: 3px; box-shadow: inset 0 -2px 0 #D8B800; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }

/* ---------- horní lišta ---------- */
.topbar {
  position: sticky; top: 0; z-index: 30; height: var(--nav-h);
  display: flex; align-items: center; gap: 6px; padding-left: 10px;
  background: rgba(246, 247, 242, .9); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.topbar .brand { flex: none; width: 38px; height: 38px; }
.topbar .brand img { width: 100%; height: 100%; }
.topbar nav { flex: 1; min-width: 0; overflow-x: auto; scrollbar-width: none; mask-image: linear-gradient(90deg, transparent, #000 10px, #000 calc(100% - 22px), transparent); }
.topbar nav::-webkit-scrollbar { display: none; }
.topbar ul { list-style: none; display: flex; gap: 2px; margin: 0; padding: 0 12px; white-space: nowrap; }
.topbar nav a { display: block; padding: 6px 10px; font: 500 1rem var(--sans); color: var(--ink-soft); text-decoration: none; border-radius: var(--sketch); }
.topbar nav a:hover { color: var(--ink); }
.topbar nav a.active { color: var(--ink); background: var(--lagoon-wash); }
.topbar nav a.cta { color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.lang { flex: none; margin-right: 10px; font: 700 .9rem var(--sans); color: var(--ink); background: none; border: 1.5px solid var(--ink); border-radius: var(--sketch); padding: 4px 10px; cursor: pointer; }
.lang:hover { background: var(--lagoon-wash); }

/* ---------- úvod: ilustrovaná scéna ---------- */
/* desktop / na šířku: text v nebi nad scénou */
.hero { position: relative; overflow: hidden; min-height: max(calc(100svh - var(--nav-h)), 60vw); }
.hero .scene { position: absolute; inset: 0; }
.hero .scene picture, .hero .scene img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero .scene img { object-fit: cover; object-position: 50% 100%; }
/* mobil / na výšku: text na papíře, scéna pod ním (nebe se rozplyne do papíru) */
@media (max-aspect-ratio: 4/5) {
  .hero { min-height: 0; display: flex; flex-direction: column; }
  .hero .words { order: 1; }
  .hero .scene { order: 2; }
  .hero .scene { position: relative; inset: auto; display: block; margin-top: -16vw; aspect-ratio: 1080 / 1380;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 26%); mask-image: linear-gradient(to bottom, transparent 0, #000 26%); }
}
.hero .words {
  position: relative; z-index: 1; text-align: center; margin: 0 auto;
  padding: clamp(28px, 7vh, 80px) 22px 0; max-width: 40rem;
}
.hero .hello { font: 600 clamp(1.7rem, 4.5vw, 2.3rem)/1.1 var(--hand); color: var(--lagoon); transform: rotate(-3deg); display: inline-block; margin-bottom: .3em; }
.hero h1 { font-weight: 500; font-size: clamp(3.1rem, 10.5vw, 5.6rem); line-height: .98; margin: .12em 0 .2em; }
.hero h1 .amp { font-style: italic; font-weight: 500; display: inline-block; padding: 0 .08em; }
.hero .when { font: italic 500 clamp(1.3rem, 3.4vw, 1.75rem)/1.3 var(--serif); }
.hero .acts { margin-top: 1.4em; }
.togo { font: 600 1.45rem/1.2 var(--hand); color: var(--lagoon); margin: -6px 0 10px; }
.cal { font: 400 1rem var(--sans); color: var(--ink-soft); margin: -4px 0 14px; }
.cal a { color: var(--lagoon); font-weight: 600; }
.hero .acts { display: flex; gap: 18px; justify-content: center; align-items: center; flex-wrap: wrap; }
@media (prefers-reduced-motion: no-preference) {
  .hero .words > * { animation: rise .9s cubic-bezier(.2, .7, .2, 1) both; }
  .hero .words > :nth-child(2) { animation-delay: .08s; }
  .hero .words > :nth-child(3) { animation-delay: .16s; }
  .hero .words > :nth-child(n+4) { animation-delay: .26s; }
  @keyframes rise { from { opacity: 0; transform: translateY(10px); } }
  .hero .hello { animation-name: rise-tilt; }
  @keyframes rise-tilt { from { opacity: 0; transform: translateY(10px) rotate(-3deg); } }
}

/* tlačítka – ručně obtažená */
.btn {
  display: inline-block; font: 700 1.1rem var(--sans); text-decoration: none; cursor: pointer;
  padding: 12px 26px; border: 2px solid var(--ink); border-radius: var(--sketch);
  color: var(--paper); background: var(--ink); transition: transform .12s, background .15s;
}
.btn:hover { color: var(--paper); background: #2B4F5B; }
.btn:active { transform: translateY(1px) rotate(-.4deg); }
.btn[disabled] { opacity: .6; cursor: progress; }
.link-ink { font: 700 1.1rem var(--sans); color: var(--ink); text-decoration: none; padding: 0 3px; background: linear-gradient(transparent 60%, rgba(94,154,107,.28) 60%) no-repeat; }

/* ---------- sekce ---------- */
.block { padding: 56px 0 64px; }
.divider { display: block; width: min(420px, 70%); height: auto; margin: 0 auto; opacity: .85; }
.head { display: flex; align-items: flex-end; gap: 14px; margin-bottom: 18px; }
.head h2 { font-size: clamp(2.2rem, 7vw, 3rem); }
.head .spot { flex: none; width: clamp(110px, 30vw, 170px); height: auto; margin-bottom: -6px; }
.head.center { flex-direction: column; align-items: center; text-align: center; }
.lead { font-size: 1.2rem; max-width: var(--measure); }
.muted { color: var(--ink-soft); }
.note { font-size: 1rem; color: var(--ink-soft); font-style: italic; margin-top: 20px; }
section h3 { font-size: 1.6rem; margin: 34px 0 10px; }

/* pozvánka – dopis */
.invite { text-align: center; }
.invite .spot { width: min(280px, 70%); margin: 0 auto 6px; }
.invite h2 { font: italic 500 clamp(2rem, 6vw, 2.6rem)/1.15 var(--serif); margin-bottom: 18px; }
.invite p { font: 400 1.25rem/1.65 var(--serif); max-width: var(--measure); margin: 0 auto 16px; }
.invite .signoff { font: italic 500 1.35rem var(--serif); margin-top: 28px; }
.invite .sig { font: 600 2.6rem/1.1 var(--hand); color: var(--lagoon); transform: rotate(-3deg); display: inline-block; margin-top: 6px; }

/* program – časová osa */
.timeline { list-style: none; margin: 30px 0 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 9px; top: 10px; bottom: 30px; border-left: 2px dashed var(--line); }
.day { position: relative; padding: 0 0 30px 42px; }
.day::before {
  content: ""; position: absolute; left: 1px; top: 7px; width: 18px; height: 18px;
  border: 2px solid var(--ink); border-radius: 60% 40% 55% 45% / 45% 55% 45% 55%; background: var(--paper);
}
.day .date { font: italic 500 1.15rem var(--serif); color: var(--ink-soft); }
.day h3 { margin: 0 0 8px; font-size: 1.7rem; }
.day ul { list-style: none; padding: 0; margin: 0; max-width: var(--measure); }
.day li { display: grid; grid-template-columns: 5.2rem 1fr; gap: 12px; padding: 3px 0; }
.day li.no-t { grid-template-columns: 1fr; }
.day li .t { font: 600 1.3rem/1.35 var(--hand); color: var(--lagoon); }
.day.wedding { padding-top: 26px; padding-bottom: 46px; }
.day.wedding::before { width: 34px; height: 34px; left: -7px; top: 44px; border: 0; background: url(assets/spot-flower.webp) center/contain no-repeat; border-radius: 0; }
.day.wedding .box { position: relative; padding: 22px 26px 22px; margin-left: -14px; }
.day.wedding .box::before { content: ""; position: absolute; inset: -8px -10px -8px -16px; z-index: -1; background: url(assets/wash-pink.webp) center/100% 100% no-repeat; }
.day.wedding h3 { font-size: 2.4rem; }
.day.wedding .date { color: var(--ink); }

/* cesta */
.steps { list-style: none; counter-reset: s; padding: 0; margin: 26px 0 0; display: grid; gap: 22px; }
.steps li { counter-increment: s; position: relative; padding-left: 56px; max-width: var(--measure); }
.steps li::before {
  content: counter(s); position: absolute; left: 0; top: -4px; width: 40px; height: 40px;
  display: grid; place-items: center; font: 600 1.6rem/1 var(--hand); color: var(--ink);
  border: 2px solid var(--ink); border-radius: 58% 42% 50% 50% / 48% 56% 44% 52%;
}
.steps h4 { font-size: 1.3rem; margin-bottom: 2px; }
.steps p { margin: 0; }
.tip { margin-top: 28px; padding: 4px 0 4px 18px; border-left: 3px solid var(--leaf); max-width: var(--measure); }
.ticket { margin: 14px 0 10px; border: 1.5px solid var(--ink); border-radius: 10px; overflow-x: auto; background: rgba(255, 255, 255, .55); }
.ticket table { width: 100%; border-collapse: collapse; min-width: 30rem; font-size: 1rem; }
.ticket th, .ticket td { text-align: left; padding: 9px 14px; border-bottom: 1px dashed var(--line); }
.ticket th { font: italic 500 1rem var(--serif); color: var(--ink-soft); }
.ticket tr:last-child td { border-bottom: 0; }
.ticket td:first-child { font-weight: 700; }

/* ubytování */
.villas { list-style: none; padding: 0; margin: 24px 0; }
.villas li { padding: 12px 0; border-bottom: 1px dashed var(--line); }
.villas li:first-child { border-top: 1px dashed var(--line); }
.villas a { font: 700 1.45rem var(--serif); color: var(--ink); text-decoration: none; }
.villas a:hover { background: linear-gradient(transparent 60%, rgba(94,154,107,.28) 60%) no-repeat; }
.villas a::after { content: " ↗"; font-family: var(--sans); font-size: .9em; color: var(--lagoon); }
.villas span { display: block; color: var(--ink-soft); }
.price { position: relative; margin: 40px 0 30px; padding: 30px 30px 26px; max-width: 34rem; isolation: isolate; }
.price::before { content: ""; position: absolute; inset: -14px -24px; z-index: -1; background: url(assets/wash-lagoon.webp) center/100% 100% no-repeat; }
.price .amt { font: 500 clamp(2.2rem, 7vw, 2.8rem)/1.05 var(--serif); }
.price p { margin: 6px 0 16px; }
.price ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.price li { display: grid; grid-template-columns: 8.5rem 1fr; gap: 10px; }
.price li b { font: 600 1.35rem/1.25 var(--hand); }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; max-width: var(--measure); }
.checks li { position: relative; padding-left: 30px; }
.checks li::before { content: ""; position: absolute; left: 2px; top: .38em; width: 16px; height: 14px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 14'%3E%3Cpath d='M1.5 7.5c1.6 1.2 3 2.6 4.2 4.6C8 7.6 10.8 4 14.6 1.6' fill='none' stroke='%231E3A44' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; }

/* víza */
.facts { list-style: none; padding: 0; margin: 20px 0 0; max-width: var(--measure); }
.facts li { padding: 16px 0; border-bottom: 1px dashed var(--line); }
.facts li:last-child { border-bottom: 0; }
.facts h4 { font-size: 1.3rem; margin-bottom: 4px; }
.facts p { margin: 0; }

/* balení */
.weather { display: grid; gap: 14px; align-items: center; margin: 10px 0 0; }
.weather img { width: min(320px, 80%); }
.weather p { margin: 0; font-size: 1.2rem; max-width: var(--measure); }
.dress { font: italic 500 1.3rem/1.5 var(--serif); max-width: var(--measure); padding-left: 18px; border-left: 3px solid var(--pink); }
.dots { padding-left: 22px; margin: 0; max-width: var(--measure); display: grid; gap: 6px; }
.dots li::marker { color: var(--leaf); }

/* FAQ */
.faq details { border-bottom: 1px dashed var(--line); max-width: 40rem; }
.faq summary { list-style: none; cursor: pointer; padding: 15px 36px 15px 0; position: relative; font: 700 1.25rem/1.35 var(--serif); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 6px; font: 600 2rem/1 var(--hand); color: var(--lagoon); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 18px; max-width: var(--measure); }

/* RSVP */
.deadline { display: inline-block; font: 600 1.5rem/1.2 var(--hand); color: var(--lagoon); transform: rotate(-2deg); margin: 4px 0 18px; }
form.rsvp-form { max-width: 36rem; overflow-anchor: none; }  /* jinak prohlížeč po zobrazení dalších polí odskočí */
fieldset.sec { border: 0; padding: 0; margin: 0 0 8px; }
fieldset.sec > legend { font: 700 1.7rem var(--serif); padding: 24px 0 2px; }
fieldset.sec[hidden], .f[hidden] { display: none; }
.f { margin-top: 18px; }
.f > label, .f > .lbl { display: block; font-weight: 700; margin-bottom: 4px; }
.f .req { color: var(--lagoon); }
.f .help { font-size: 1rem; color: var(--ink-soft); margin: -2px 0 6px; }
.f input[type=text], .f input[type=email], .f input[type=tel], .f input[type=number], .f textarea {
  width: 100%; font: 1.1rem var(--sans); color: var(--ink); background: rgba(255, 255, 255, .75);
  border: 1px solid rgba(30, 58, 68, .28); border-radius: 10px 14px 12px 9px; padding: 11px 14px;
  transition: border-color .15s, box-shadow .15s;
}
.f input[type=number] { max-width: 7rem; }
.f textarea { min-height: 96px; resize: vertical; }
.f input:hover, .f textarea:hover { border-color: rgba(30, 58, 68, .45); }
.f input:focus, .f textarea:focus { outline: 0; box-shadow: 0 0 0 4px var(--lagoon-wash); border-color: var(--lagoon); }
.f.invalid input, .f.invalid textarea, .f.invalid .opt span { border-color: #A63D4E; }
.f .err { color: #A63D4E; font-size: 1rem; margin-top: 4px; }
.opts { display: grid; gap: 8px; }
.opt { position: relative; display: block; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt span {
  display: block; position: relative; cursor: pointer; padding: 11px 14px 11px 46px; background: rgba(255, 255, 255, .55);
  border: 1px solid var(--line); border-radius: 12px 9px 13px 10px; transition: border-color .15s, background .15s;
}
.opt span::before {
  content: ""; position: absolute; left: 14px; top: 50%; width: 20px; height: 20px; margin-top: -10px;
  border: 1.5px solid var(--ink-soft); border-radius: 55% 45% 50% 50% / 50% 52% 48% 50%; background: #fff;
}
.opt input:checked + span { border-color: var(--lagoon); background: var(--lagoon-wash); }
.opt span:hover { border-color: rgba(30, 58, 68, .4); }
.opt input:checked + span::before { background: radial-gradient(circle, var(--ink) 0 38%, #fff 42%); }
.opt input:focus-visible + span { outline: 2px dashed var(--lagoon); outline-offset: 2px; }
.check span::before { border-radius: 4px 6px 5px 4px; }
.check input:checked + span::before {
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 14'%3E%3Cpath d='M1.5 7.5c1.6 1.2 3 2.6 4.2 4.6C8 7.6 10.8 4 14.6 1.6' fill='none' stroke='%231E3A44' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/13px no-repeat;
}
.form-actions { margin-top: 26px; display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.form-msg { color: #A63D4E; }
.done { text-align: center; max-width: 34rem; padding: 26px 0; }
.done img { width: 120px; margin: 0 auto 8px; }
.done .big { font: 600 2.4rem/1.15 var(--hand); }
.embed iframe { width: 100%; min-height: 1400px; border: 0; }

/* kontakty */
.people { list-style: none; padding: 0; margin: 18px 0 0; max-width: var(--measure); }
.people li { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.people b { font: 700 1.4rem var(--serif); }
.people .role { color: var(--ink-soft); font-style: italic; font-family: var(--serif); }
.people .acts { display: flex; gap: 8px; }
.pill { font-weight: 700; text-decoration: none; color: var(--ink); padding: 6px 14px; border: 1.5px solid var(--ink); border-radius: var(--sketch); }
.pill:hover { background: var(--lagoon-wash); color: var(--ink); }

/* ---------- pohyb po interakci (decentní) ---------- */
.villas a::after { display: inline-block; transition: transform .2s ease; }
.villas a:hover::after { transform: translate(2px, -2px); }
.faq details[open] p { animation: open-in .28s ease-out; }
@keyframes open-in { from { opacity: 0; transform: translateY(-4px); } }
.opt input:checked + span::before { animation: dot-pop .28s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes dot-pop { from { transform: scale(.6); } }
.pill, .lang { transition: background .15s, transform .12s; }
.pill:active, .lang:active { transform: scale(.96); }
.topbar nav a { transition: background .2s, color .2s; }
.link-ink { transition: background-size .2s; background-size: 100% 100%; }
.link-ink:hover { background-image: linear-gradient(transparent 60%, rgba(94,154,107,.45) 60%); }

/* akcent: volba „přijedeme / nepřijedeme“ */
.f.big .opts { gap: 12px; }
.f.big .opt span { padding: 16px 16px 16px 48px; font: 700 1.2rem var(--sans); overflow: hidden; isolation: isolate; }
.f.big .opt input[value="no"]:checked + span { background: var(--pink-wash); }
.opt span::after { content: ""; position: absolute; left: 50%; top: 50%; width: 140%; aspect-ratio: 1; z-index: -1; pointer-events: none;
  border-radius: 50%; background: radial-gradient(circle, var(--lagoon-wash) 0 45%, transparent 70%); transform: translate(-50%, -50%) scale(0); opacity: 0; }
.f.big .opt input[value="no"] + span::after { background: radial-gradient(circle, var(--pink-wash) 0 45%, transparent 70%); }
.opt span.bloom::after { animation: bloom .7s ease-out; }
@keyframes bloom { 0% { transform: translate(-50%, -50%) scale(.1); opacity: 1; } 100% { transform: translate(-50%, -50%) scale(1); opacity: 0; } }
.petal { position: fixed; z-index: 50; pointer-events: none; will-change: transform, opacity; filter: drop-shadow(0 2px 2px rgba(30, 58, 68, .28)); }

.invite .hint { font: 400 1rem/1.5 var(--sans); color: var(--ink-soft); max-width: 28rem; margin-top: 18px; }
.tipname { font: 700 1.45rem var(--serif); }

/* panel náhledu */
.qsum { background: #FFF4B8; border-top: 1px dashed #D8B800; border-bottom: 1px dashed #D8B800; padding: 14px 0; font-size: 1rem; }
.qsum b { font: 600 1.4rem/1 var(--hand); }
.qsum p { margin: 4px 0; }
.qsum ul { margin: 6px 0 0; padding-left: 18px; }

footer.foot { text-align: center; padding: 30px 22px 56px; }
footer.foot img { width: min(260px, 60%); margin: 0 auto; }
footer.foot p { font: 600 2rem/1.2 var(--hand); margin: 6px 0 0; }

@media (min-width: 760px) {
  .block { padding: 72px 0 84px; }
  .weather { grid-template-columns: 300px 1fr; gap: 28px; }
  .hero .words { padding-top: clamp(32px, 6.5vh, 80px); max-width: 62rem; }
  .hero h1 { font-size: clamp(3.4rem, 6vw, 5.4rem); margin: .08em 0 .14em; }
}
@media (prefers-reduced-motion: reduce) {
  html:not(.motion) { scroll-behavior: auto; }
  html:not(.motion) * { transition: none !important; animation: none !important; }
  html:not(.motion) .hero .waves { display: none; }   /* vlnky jsou v SVG – při omezeném pohybu je schováme */
}

/* QR k platbě */
.qr { display: flex; align-items: center; gap: 16px; margin: 18px 0 0; }
.qr img, .qr svg { width: 132px; height: 132px; flex: none; padding: 10px; background: #fff; border-radius: var(--sketch, 12px); box-shadow: 0 0 0 1.5px var(--ink); }
.qr figcaption { font-size: .95rem; color: var(--ink-soft); max-width: 18rem; }
.qr.soon svg { color: var(--ink-soft); opacity: .32; box-shadow: 0 0 0 1.5px var(--ink-soft); outline: 1.5px dashed var(--ink-soft); outline-offset: 5px; }
@media (max-width: 420px) { .qr { flex-direction: column; align-items: flex-start; } }

/* naše trasa po Thajsku */
.ticket.route td:first-child { white-space: nowrap; }
@media (max-width: 560px) {
  .ticket.route table { min-width: 0; }
  .ticket.route thead { display: none; }
  .ticket.route tr { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; padding: 10px 14px; border-bottom: 1px dashed var(--line); }
  .ticket.route tr:last-child { border-bottom: 0; }
  .ticket.route td { padding: 0; border: 0; }
  .ticket.route td:nth-child(2) { font-weight: 700; }
  .ticket.route td:nth-child(3) { grid-column: 1 / -1; color: var(--ink-soft); font-size: .95rem; }
}
