/* ==========================================================
   Anna Lilla & Szilveszter — közös stílus
   Antik botanikus meghívó: elefántcsont papír, olíva lomb,
   bordó virágok, ritkított verzál + kézírásos betű.
   Paletta: szilva, bordó, mályva, púderrózsa, zsályazöld, elefántcsont
   ========================================================== */

:root {
  --burgundy: #2a1222;
  --wine: #4b2241;
  --blush: #dcc1c4;
  --ivory: #efe9e1;
  --paper: #f7f3ed;
  --olive: #5e6548;
  --olive-line: rgb(94 101 72 / .55);
  --berry: #7b2338;
  --mauve: #a77895;
  --sage: #6b7157;
  --ink: #2b2027;
  --torn: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 24' preserveAspectRatio='none'><path d='M0 24V8.2L14 5.7L24 5.6L31 12.3L38 9.2L45 7.2L63 10.8L80 5.5L90 9.4L99 13.2L112 11.4L125 8.6L134 11.8L143 10.9L153 12.9L162 10.7L178 12.3L196 6.2L211 6.5L218 11.7L231 13.8L245 10.9L256 13.4L268 14.6L282 11.5L298 7.8L312 5.2L320 9.2L336 6.3L346 16.7L358 10.5L373 13.6L384 8.6L402 6.5L411 7.3L424 10.6L435 8.7L452 11.9L466 14.8L482 12.8L498 8.9L505 14.3L512 7.1L522 8.5L530 6.0L536 13.7L544 7.5L554 6.2L572 9.7L579 6.0L589 13.3L595 14.5L603 13.4L615 14.8L629 7.6L637 12.7L653 8.3L668 14.8L684 13.2L693 10.2L699 5.3L708 11.9L720 14.4L737 8.6L746 7.0L759 14.0L771 11.5L778 11.6L793 12.5L802 12.9L817 14.7L828 14.5L836 6.3L853 16.1L869 14.8L879 13.5L885 14.7L898 14.3L914 13.3L923 7.9L936 7.6L944 14.1L955 10.8L966 14.2L979 13.2L990 9.8L1005 6.7L1020 10.6L1032 10.6L1040 10.6L1049 12.7L1062 12.6L1073 11.1L1085 11.9L1098 9.8L1112 13.8L1121 10.6L1137 9.4L1148 5.7L1155 11.7L1172 6.5L1186 6.4L1200 10.0V24Z'/></svg>");
  --torn-b: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 24' preserveAspectRatio='none'><path transform='matrix(1 0 0 -1 0 24)' d='M0 24V8.2L14 5.7L24 5.6L31 12.3L38 9.2L45 7.2L63 10.8L80 5.5L90 9.4L99 13.2L112 11.4L125 8.6L134 11.8L143 10.9L153 12.9L162 10.7L178 12.3L196 6.2L211 6.5L218 11.7L231 13.8L245 10.9L256 13.4L268 14.6L282 11.5L298 7.8L312 5.2L320 9.2L336 6.3L346 16.7L358 10.5L373 13.6L384 8.6L402 6.5L411 7.3L424 10.6L435 8.7L452 11.9L466 14.8L482 12.8L498 8.9L505 14.3L512 7.1L522 8.5L530 6.0L536 13.7L544 7.5L554 6.2L572 9.7L579 6.0L589 13.3L595 14.5L603 13.4L615 14.8L629 7.6L637 12.7L653 8.3L668 14.8L684 13.2L693 10.2L699 5.3L708 11.9L720 14.4L737 8.6L746 7.0L759 14.0L771 11.5L778 11.6L793 12.5L802 12.9L817 14.7L828 14.5L836 6.3L853 16.1L869 14.8L879 13.5L885 14.7L898 14.3L914 13.3L923 7.9L936 7.6L944 14.1L955 10.8L966 14.2L979 13.2L990 9.8L1005 6.7L1020 10.6L1032 10.6L1040 10.6L1049 12.7L1062 12.6L1073 11.1L1085 11.9L1098 9.8L1112 13.8L1121 10.6L1137 9.4L1148 5.7L1155 11.7L1172 6.5L1186 6.4L1200 10.0V24Z'/></svg>");

  --serif: "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", serif;
  --script: "Pinyon Script", "Snell Roundhand", cursive;

  --gutter: clamp(1rem, 4vw, 3rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.22rem;
  line-height: 1.55;
  font-weight: 500;
  font-variant-numeric: lining-nums;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

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

/* Papír-szemcse */
.paper, .grain { position: relative; isolation: isolate; }
.paper::after, .grain::after {
  content: "";
  position: absolute; inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .2  0 0 0 0 .12  0 0 0 0 .1  0 0 0 .5 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  opacity: .22;
  mix-blend-mode: multiply;
}
.grain::after { mix-blend-mode: overlay; opacity: .3; }

/* Antik keret: dupla vonal + kacskaringós sarkok */
.frame { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.frame::before, .frame::after { content: ""; position: absolute; border: 1px solid var(--olive-line); }
.frame::before { inset: 14px; }
.frame::after { inset: 19px; border-width: .5px; }
.frame i {
  position: absolute;
  width: 54px; height: 54px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 54 54' fill='none' stroke='%235e6548' stroke-width='1.1' stroke-linecap='round'><path d='M3 50V18Q3 3 18 3h32'/><path d='M9 50V22Q9 9 22 9h28' stroke-width='.6'/><path d='M18 3c-9 4-8 17 1 15 6-1 4-9-1-7'/><path d='M3 18c4-9 17-8 15 1-1 6-9 4-7-1'/><circle cx='16' cy='16' r='1.6' fill='%234b2241' stroke='none'/></svg>") no-repeat center / contain;
}
.frame i:nth-child(1) { top: 10px; left: 10px; }
.frame i:nth-child(2) { top: 10px; right: 10px; transform: scaleX(-1); }
.frame i:nth-child(3) { bottom: 10px; left: 10px; transform: scaleY(-1); }
.frame i:nth-child(4) { bottom: 10px; right: 10px; transform: scale(-1); }

/* ---------- Felső sáv ---------- */
.topbar {
  position: absolute; inset: 0 0 auto 0;
  z-index: 6;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem var(--gutter);
  color: var(--wine);
}
.monogram {
  font-family: var(--script);
  font-size: 1.7rem;
  line-height: 1;
  text-decoration: none;
}
.monogram span { font-size: .7em; padding: 0 .12em; color: var(--olive); }

.lang { display: inline-flex; gap: 2px; }
.lang button {
  font: 600 .78rem/1 var(--serif);
  letter-spacing: .2em;
  color: inherit;
  background: none;
  border: 1px solid transparent;
  padding: .55rem .5rem .5rem .7rem;
  cursor: pointer;
}
.lang button[aria-pressed="true"] { border-color: var(--olive-line); }

/* ---------- Gombok ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 48px;
  padding: .8rem 1.5rem .75rem;
  border-radius: 1px;
  font: 600 .84rem/1.1 var(--serif);
  letter-spacing: .2em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color .25s, color .25s, border-color .25s;
}
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn--wine { background: var(--wine); color: var(--ivory); box-shadow: inset 0 0 0 3px var(--wine), inset 0 0 0 4px rgb(239 233 225 / .35); }
.btn--wine:hover { background: var(--burgundy); box-shadow: inset 0 0 0 3px var(--burgundy), inset 0 0 0 4px rgb(239 233 225 / .35); }
.btn--line { border-color: var(--olive); color: var(--olive); background: rgb(247 243 237 / .6); }
.btn--line:hover { background: var(--olive); color: var(--ivory); }
.btn--blush { background: var(--blush); color: var(--burgundy); }
.btn--blush:hover { background: var(--ivory); }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: clamp(5.5rem, 12svh, 8rem) var(--gutter) clamp(4.5rem, 10svh, 7rem);
  overflow: hidden;
  background:
    radial-gradient(70% 60% at 50% 42%, #f9f6f1 0%, transparent 70%),
    radial-gradient(120% 70% at 50% 0%, #e4dcd6, transparent 70%),
    var(--ivory);
}

.flowers { position: absolute; inset: 0; pointer-events: none; }
.fl {
  position: absolute;
  z-index: 2;
  opacity: 0;
  translate: 0 -46px;
  transition: opacity 1.6s ease, translate 2.4s cubic-bezier(.2, .7, .2, 1);
  transition-delay: calc(var(--i) * 45ms);
  transform: translate3d(
    calc(var(--mx, 0) * var(--z) * 26px),
    calc(var(--my, 0) * var(--z) * 16px - var(--sy, 0) * (.06 + var(--z) * .42) * 1px),
    0);
}
.is-ready .fl { opacity: var(--op); translate: 0 0; }
.fl__b {
  transform-origin: 50% 15%;
  animation: bob var(--dur) ease-in-out var(--delay) infinite alternate;
  will-change: transform;
}
.fl svg { display: block; width: 100%; height: auto; overflow: visible; filter: var(--fx); }
@keyframes bob {
  from { transform: translate3d(0, calc(var(--amp) * -1), 0) rotate(var(--rA)); }
  to   { transform: translate3d(0, var(--amp), 0) rotate(var(--rB)); }
}

.hero__inner {
  position: relative;
  width: min(100%, 54rem);
  padding: clamp(2.5rem, 6svh, 3.75rem) clamp(1.5rem, 5vw, 4rem) clamp(2.75rem, 6svh, 3.75rem);
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
}
.hero__inner > :not(.frame) { position: relative; z-index: 3; }

.cartouche { width: clamp(7rem, 15svh, 9.5rem); height: auto; overflow: visible; margin-bottom: .6rem; }
.cartouche__txt { font-family: var(--script); font-size: 46px; fill: var(--wine); }
.cartouche__amp { font-size: 24px; fill: var(--olive); }

.hero__lead {
  margin: 0 0 1.1rem;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--olive);
  padding-left: .34em;
}

.names {
  margin: 0;
  font-weight: 500;
  font-size: clamp(1.6rem, min(4.6vw, 5.6svh), 3.4rem);
  line-height: 1.08;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--wine);
  text-wrap: balance;
}
.names > span { display: block; padding-left: .12em; }
.names .amp {
  font-family: var(--script);
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
  font-size: 1.45em;
  line-height: .9;
  color: var(--olive);
  margin: .08em 0 .02em;
  padding: 0;
}

.hero__full {
  margin: 1.3rem auto 0;
  max-width: 30ch;
  font-style: italic;
  font-size: clamp(1.2rem, 2vw, 1.4rem);
  line-height: 1.4;
}

.ornament { width: 9.5rem; height: auto; color: var(--olive); margin: 1.3rem 0 1.1rem; }


.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; }

/* Naptár menü */
.cal { position: relative; }
.cal summary { list-style: none; }
.cal summary::-webkit-details-marker { display: none; }
.cal__menu {
  position: absolute; left: 50%; top: calc(100% + .5rem);
  transform: translateX(-50%);
  z-index: 10;
  min-width: 16rem;
  background: var(--paper);
  border: 1px solid var(--olive-line);
  padding: .35rem;
  box-shadow: 0 22px 40px -18px rgb(42 18 34 / .45);
}
.cal__menu a, .cal__menu button {
  display: block; width: 100%;
  text-align: left;
  padding: .75rem .9rem;
  font: 500 1.1rem/1.2 var(--serif);
  color: var(--ink); background: none; border: 0;
  text-decoration: none;
  cursor: pointer;
}
.cal__menu a:hover, .cal__menu button:hover { background: #e8dde0; }

/* ---------- Meghívó-kártya ---------- */
.note {
  padding: clamp(5rem, 12vw, 9rem) var(--gutter);
  overflow: hidden;
  overflow: clip;
}
.card {
  position: relative;
  max-width: 42rem;
  margin: 0 auto;
  padding: clamp(3.5rem, 8vw, 5.5rem) clamp(1.75rem, 7vw, 5rem) clamp(3.5rem, 7vw, 5rem);
  background: var(--paper);
  box-shadow: 0 1px 0 #fff inset, 0 40px 70px -40px rgb(42 18 34 / .45), 0 6px 14px -8px rgb(42 18 34 / .2);
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
}
.card > :not(.frame):not(.spray) { position: relative; z-index: 2; }
.spray { position: absolute; z-index: 3; width: clamp(10rem, 30vw, 17rem); aspect-ratio: 1; pointer-events: none; }
.spray svg { width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 10px 12px rgb(42 18 34 / .22)); }
.spray--tl { top: 0; left: 0; transform: translate(-42%, -42%); }
.spray--br { bottom: 0; right: 0; transform: translate(42%, 42%) rotate(160deg); }

.photo {
  position: relative;
  margin: 0 0 2.5rem;
  width: min(100%, 19rem);
  aspect-ratio: 4 / 5;
  border-radius: 999px 999px 2px 2px;
  overflow: hidden;
  background:
    repeating-linear-gradient(135deg, rgb(94 101 72 / .08) 0 12px, transparent 12px 24px),
    #e5ddd2;
  display: grid; place-items: center;
  outline: 1px solid var(--olive-line);
  outline-offset: 7px;
}
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo__hint { font-size: 1rem; color: var(--olive); text-align: center; padding: 1rem; font-style: italic; }
.photo__hint code { font: .8rem ui-monospace, monospace; font-style: normal; background: rgb(255 255 255 / .7); padding: .1rem .35rem; }

.card h2 {
  font-weight: 500;
  font-size: clamp(2rem, 4.6vw, 2.9rem);
  line-height: 1.08;
  margin: 0 auto 1.25rem;
  color: var(--wine);
  max-width: 15ch;
  text-wrap: balance;
}
.card p { max-width: 40ch; margin: 0 auto 1rem; }

.countdown {
  margin: 2rem auto 0;
  display: flex; flex-direction: column; align-items: center; gap: .3rem;
}
.countdown::before {
  content: "";
  width: 9.5rem; height: 20px;
  margin-bottom: 1rem;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 180 20'><path d='M2 10h60M118 10h60M62 10c7-9 14-9 16-2M118 10c-7 9-14 9-16 2' fill='none' stroke='%235e6548' stroke-width='1'/><path d='M90 2l7 8-7 8-7-8z' fill='%235e6548'/></svg>") no-repeat center / contain;
}
.countdown__num {
  font-weight: 500;
  font-size: clamp(3.4rem, 8vw, 5rem);
  line-height: 1;
  color: var(--wine);
  font-variant-numeric: lining-nums;
}
.countdown__label { font-style: italic; color: var(--olive); }

/* ---------- Hírmondó-ajánló ---------- */
.gazette {
  background: var(--wine);
  color: var(--ivory);
  padding: clamp(4.5rem, 10vw, 7.5rem) var(--gutter);
}
.gazette__inner {
  max-width: 40rem;
  margin: 0 auto;
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
  gap: clamp(2.5rem, 6vw, 3.5rem);
}
.gazette h2 {
  font-weight: 500;
  font-size: clamp(1.9rem, 4.2vw, 2.7rem);
  line-height: 1.1;
  margin: 0 auto 1rem;
  max-width: 18ch;
  text-wrap: balance;
}
.gazette p { max-width: 40ch; margin: 0 auto 1.75rem; color: #e7d6de; }

.mini-paper {
  width: min(78%, 17rem);
  aspect-ratio: 3 / 4;
  background: #f6f5f1;
  color: #161616;
  padding: 1.2rem 1.1rem;
  transform: rotate(-4deg);
  box-shadow: 14px 18px 0 -2px rgb(42 18 34 / .35);
  text-decoration: none;
  display: flex; flex-direction: column; gap: .55rem;
  transition: transform .35s ease;
  font-family: "Old Standard TT", Georgia, serif;
}
.mini-paper:hover { transform: rotate(-1deg) translateY(-4px); }
.mini-paper__mast {
  font-family: "UnifrakturMaguntia", "Old Standard TT", serif;
  font-size: 1.7rem;
  text-align: center;
  line-height: 1;
  border-bottom: 3px double #161616;
  padding-bottom: .45rem;
}
.mini-paper__meta { font-size: .62rem; display: flex; justify-content: space-between; border-bottom: 1px solid #161616; padding-bottom: .3rem; }
.mini-paper__head { font-weight: 700; font-size: 1.85rem; line-height: 1; text-align: center; margin: .25rem 0; }
.mini-paper__img { flex: 1; background: repeating-radial-gradient(circle at 30% 40%, #bdbdbd 0 1px, #e4e4e4 1px 3px); }
.mini-paper__cols { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.mini-paper__cols span { height: 2.4rem; background: repeating-linear-gradient(#9b9b9b 0 1px, transparent 1px 5px); }

/* ---------- Lábléc ---------- */
.foot {
  background: var(--burgundy);
  color: var(--blush);
  padding: 3.5rem var(--gutter);
  text-align: center;
  font-size: 1.05rem;
}
.foot .monogram { color: var(--ivory); font-size: 2.6rem; display: inline-block; margin-bottom: .9rem; }
.foot .monogram span { color: var(--blush); }
.foot p { margin: .25rem 0; letter-spacing: .2em; text-transform: uppercase; font-size: .82rem; font-weight: 600; }
.foot a { color: var(--ivory); letter-spacing: .04em; text-transform: none; }

/* ---------- Felső menü ---------- */
.topnav { display: flex; gap: clamp(1rem, 2.4vw, 2rem); }
.topnav a {
  font-size: .76rem; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase;
  text-decoration: none;
  padding: .5rem 0 .4rem;
  border-bottom: 1px solid transparent;
}
.topnav a:hover { border-color: currentColor; }

/* ---------- Dátum a heróban: MÁJUS | 29 | 2027 ---------- */
.hero__when { margin: 0 0 1.9rem; display: grid; justify-items: center; gap: .45rem; }
.date-row {
  display: flex; align-items: center;
  font-weight: 600; font-size: .92rem;
  letter-spacing: .26em; text-transform: uppercase;
  color: var(--wine);
}
.date-row > span { padding-left: .26em; }
.date-row b {
  font-weight: 500;
  font-size: 2.5rem;
  line-height: 1;
  letter-spacing: .02em;
  margin: 0 1.1rem;
  padding: .1rem 1.1rem 0;
  border-inline: 1px solid var(--olive-line);
  font-variant-numeric: lining-nums;
}
.date-day { font-size: .76rem; font-weight: 600; letter-spacing: .34em; text-transform: uppercase; color: var(--olive); padding-left: .34em; }
.date-place { font-style: italic; font-size: 1.25rem; color: var(--olive); }

/* ---------- Kétsoros címek: kézírás + verzál ---------- */
.duo { margin: 0 0 .6rem; display: grid; justify-items: center; font-weight: 500; text-align: center; }
.duo__s {
  font-family: var(--script);
  font-weight: 400;
  font-size: clamp(2.2rem, 5vw, 2.9rem);
  line-height: .9;
  color: var(--mauve);
  margin-bottom: .12em;
}
.duo__c {
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  line-height: 1.1;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--wine);
  padding-left: .16em;
}
.sprig { width: 7.5rem; height: auto; color: var(--olive); margin: .4rem auto 2.25rem; display: block; }

/* ---------- Program (zsályazöld, szakadt papírszéllel) ---------- */
.program {
  background: var(--sage);
  color: var(--ivory);
  padding: clamp(5rem, 11vw, 7.5rem) var(--gutter);
  margin-block: -12px;
  -webkit-mask: var(--torn) top / 100% 24px no-repeat, linear-gradient(#000 0 0) 0 23px / 100% calc(100% - 46px) no-repeat, var(--torn-b) bottom / 100% 24px no-repeat;
  mask: var(--torn) top / 100% 24px no-repeat, linear-gradient(#000 0 0) 0 23px / 100% calc(100% - 46px) no-repeat, var(--torn-b) bottom / 100% 24px no-repeat;
  position: relative; z-index: 1;
}
.program .duo__s { color: var(--blush); }
.program .duo__c { color: var(--ivory); }
.program .sprig { color: var(--blush); }
.program__inner { max-width: 26rem; margin: 0 auto; }

.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 3.4rem 1fr;
  column-gap: 1.25rem;
  align-items: center;
  padding-bottom: 1.6rem;
}
.timeline li::before {
  content: "";
  position: absolute;
  left: calc(1.7rem - .5px); top: 3.4rem; bottom: 0;
  border-left: 1px dashed rgb(239 233 225 / .5);
}
.timeline li:last-child { padding-bottom: 0; }
.timeline li:last-child::before { display: none; }
.tl__icon {
  grid-row: span 2;
  width: 3.4rem; height: 3.4rem;
  border-radius: 50%;
  background: var(--ivory);
  color: var(--wine);
  display: grid; place-items: center;
  box-shadow: 0 0 0 4px var(--sage), 0 0 0 5px rgb(239 233 225 / .45);
}
.tl__icon svg { width: 1.8rem; height: 1.8rem; fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.timeline time { align-self: end; font-weight: 600; font-size: .9rem; letter-spacing: .2em; color: var(--blush); font-variant-numeric: lining-nums; }
.tl__what { align-self: start; font-size: 1.2rem; letter-spacing: .14em; text-transform: uppercase; line-height: 1.25; }
.program__draft { margin: 2.5rem auto 0; text-align: center; font-style: italic; font-size: 1.05rem; color: #dcdccb; max-width: 30ch; }

/* ---------- Visszajelzés ---------- */
.rsvp { padding: clamp(5.5rem, 12vw, 8.5rem) var(--gutter) clamp(4rem, 9vw, 6rem); }
.rsvp__card {
  position: relative;
  max-width: 44rem;
  margin: 0 auto;
  padding: clamp(3.25rem, 7vw, 4.75rem) clamp(1.5rem, 6vw, 4.25rem) clamp(3rem, 6vw, 4.25rem);
  background: var(--paper);
  box-shadow: 0 1px 0 #fff inset, 0 40px 70px -40px rgb(42 18 34 / .4), 0 6px 14px -8px rgb(42 18 34 / .18);
}
.rsvp__card > :not(.frame) { position: relative; z-index: 2; }
.rsvp__by, .rsvp__intro { text-align: center; margin: 0 auto .4rem; max-width: 36ch; }
.rsvp__by strong { color: var(--wine); font-weight: 600; }
.rsvp__intro { font-style: italic; color: var(--olive); margin-bottom: 2.25rem; }

.form { display: grid; gap: 1.6rem; }
.form__yes, .form__end { display: grid; gap: 1.6rem; }
.form [hidden] { display: none; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.form label, .form legend {
  font-size: .8rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--wine);
}
.form em { font-style: italic; text-transform: none; letter-spacing: 0; font-weight: 500; font-size: 1rem; color: var(--olive); }
.field { display: grid; gap: .45rem; }
.hint { font-size: 1rem; font-style: italic; color: var(--olive); margin-top: -.2rem; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.group legend, .sub legend { margin-bottom: .7rem; padding: 0; }

.form input:not([type=radio]):not([type=checkbox]), .form textarea {
  font: inherit;
  width: 100%;
  min-height: 48px;
  padding: .65rem .9rem;
  border: 1px solid var(--olive-line);
  border-radius: 1px;
  background: #fbf9f5;
  color: var(--ink);
}
.form textarea { resize: vertical; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--wine); box-shadow: 0 0 0 3px rgb(75 34 65 / .15); }

/* nagy választógombok */
.opts { display: grid; gap: .75rem; }
.opts--2 { grid-template-columns: 1fr 1fr; }
.opt, .tier, .chip { position: relative; cursor: pointer; }
.opt input, .tier input, .chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.opt__box {
  height: 100%;
  display: grid; gap: .15rem; justify-items: center; align-content: center;
  text-align: center;
  padding: 1rem .9rem;
  border: 1px solid var(--olive-line);
  background: #fbf9f5;
  transition: background-color .2s, border-color .2s, color .2s;
}
.opt__box strong { font-weight: 600; font-size: 1.25rem; letter-spacing: .02em; text-transform: none; color: var(--wine); line-height: 1.2; }
.opt__box small { font-style: italic; font-size: 1rem; color: var(--olive); text-transform: none; letter-spacing: 0; font-weight: 500; }
.opt--sm .opt__box { padding: .75rem; }
.opt--sm .opt__box strong { font-size: 1.1rem; }
.opt input:checked + .opt__box { background: var(--wine); border-color: var(--wine); box-shadow: inset 0 0 0 3px var(--wine), inset 0 0 0 4px rgb(239 233 225 / .4); }
.opt input:checked + .opt__box strong, .opt input:checked + .opt__box small { color: var(--ivory); }
.opt input:focus-visible + .opt__box, .tier input:focus-visible + .tier__box, .chip input:focus-visible + span { outline: 2px solid var(--berry); outline-offset: 2px; }

.field--row { grid-template-columns: 1fr auto; align-items: center; }
.stepper { display: inline-grid; grid-template-columns: 44px 3.5rem 44px; border: 1px solid var(--olive-line); background: #fbf9f5; }
.stepper button { border: 0; background: none; font: 500 1.4rem/1 var(--serif); color: var(--wine); cursor: pointer; }
.stepper button:hover { background: var(--ivory); }
.form .stepper input { border: 0; border-inline: 1px solid var(--olive-line); text-align: center; padding: 0; min-height: 44px; -moz-appearance: textfield; }
.stepper input::-webkit-inner-spin-button, .stepper input::-webkit-outer-spin-button { -webkit-appearance: none; }

/* személyenkénti kártya */
.person {
  border-top: 1px solid var(--olive-line);
  padding-top: 1.1rem;
  display: grid; gap: 1.5rem;
}
.form .person__who {
  float: left;
  width: 100%;
  font-family: var(--script);
  font-size: 2.2rem;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: var(--mauve);
  padding: 0 .6rem 0 0;
  margin-bottom: -.4rem;
  line-height: 1;
}

.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip span {
  display: inline-flex; align-items: center;
  min-height: 40px;
  padding: .35rem 1rem .3rem;
  border: 1px solid var(--olive-line);
  border-radius: 999px;
  background: #fbf9f5;
  font-size: 1.08rem; font-weight: 500;
  text-transform: none; letter-spacing: 0;
  color: var(--ink);
  transition: background-color .2s, color .2s, border-color .2s;
}
.chip:hover span { border-color: var(--olive); }
.chip input:checked + span { background: var(--sage); border-color: var(--sage); color: var(--ivory); }
.chips__other { margin-top: .6rem; }

.tiers { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; }
.tier__box {
  height: 100%;
  display: grid; justify-items: center; align-content: start; gap: .2rem;
  text-align: center;
  padding: .8rem .45rem .75rem;
  border: 1px solid var(--olive-line);
  background: #fbf9f5;
  text-transform: none; letter-spacing: 0;
  transition: background-color .2s, border-color .2s;
}
.tier__box svg { width: 1.6rem; height: 2.1rem; margin-bottom: .25rem; }
.glass__line { fill: none; stroke: var(--wine); stroke-width: 1.3; stroke-linejoin: round; }
.glass__fill { fill: var(--blush); }
.glass__bub { stroke: var(--ivory); stroke-width: 1.6; stroke-linecap: round; }
.tier__box strong { font-weight: 600; font-size: 1.02rem; line-height: 1.15; color: var(--wine); }
.tier__box small { font-style: italic; font-size: .92rem; line-height: 1.25; color: var(--olive); font-weight: 500; }
.tier input:checked + .tier__box { border-color: var(--wine); background: #f1e6ea; box-shadow: inset 0 0 0 1px var(--wine); }
.tier input:checked + .tier__box .glass__fill { fill: var(--berry); }

.check { display: flex; gap: .75rem; align-items: center; cursor: pointer; }
.form .check span { text-transform: none; letter-spacing: 0; font-size: 1.15rem; font-weight: 500; color: var(--ink); }
.check input { width: 1.3rem; height: 1.3rem; accent-color: var(--wine); flex: none; margin: 0; }
.check--line { border-top: 1px solid var(--olive-line); padding-top: 1.4rem; }

.form__send { justify-self: center; min-width: min(100%, 16rem); margin-top: .4rem; }
.form__send:disabled { opacity: .6; cursor: default; }
.form__status { margin: 0; text-align: center; color: var(--berry); font-weight: 600; }
.form__status:empty { display: none; }

.rsvp__done { text-align: center; padding: 1rem 0 .5rem; outline: none; }
.rsvp__done .sprig { margin-bottom: 1.25rem; }
.rsvp__done h3 { font-weight: 500; font-size: clamp(1.7rem, 4vw, 2.2rem); line-height: 1.15; color: var(--wine); margin: 0 auto .75rem; max-width: 20ch; }
.rsvp__done p { margin: 0 auto 1.75rem; max-width: 36ch; font-style: italic; color: var(--olive); }

/* ---------- Tudnivalók ---------- */
.info { padding: clamp(3rem, 7vw, 5rem) var(--gutter) clamp(5rem, 11vw, 8rem); }
.info__inner { max-width: 62rem; margin: 0 auto; text-align: center; }
.info__inner > .duo { margin-bottom: 3rem; }
.info__list {
  list-style: none; margin: 0 0 4.5rem; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem clamp(1.5rem, 4vw, 3rem);
}
.info__list li { display: grid; justify-items: center; gap: 1rem; align-content: start; }
.info__list svg, .gift svg {
  width: 3.6rem; height: 3.6rem; padding: .8rem;
  border: 1px solid var(--olive-line); border-radius: 50%;
  fill: none; stroke: var(--wine); stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round;
}
.info h3, .dress h3 {
  margin: 0 0 .5rem;
  font-size: .95rem; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--wine);
  padding-left: .22em;
}
.info__list p { margin: 0 auto .6rem; max-width: 30ch; }
.link { color: var(--berry); font-weight: 600; text-underline-offset: .2em; text-decoration-thickness: 1px; }
.link:hover { color: var(--wine); }

.dress {
  max-width: 40rem; margin: 0 auto 4.5rem;
  padding: 3rem clamp(1.25rem, 5vw, 3rem);
  border-block: 1px solid var(--olive-line);
}
.dress__style { font-family: var(--script); font-size: 2.3rem; line-height: 1; color: var(--mauve); margin: 0 0 1.5rem; }
.swatches { list-style: none; padding: 0; margin: 0 0 1.75rem; display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem 1.25rem; }
.swatches li { display: grid; justify-items: center; gap: .4rem; font-style: italic; font-size: 1rem; color: var(--olive); }
.swatches i { width: 2.6rem; height: 2.6rem; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 3px var(--ivory), 0 0 0 4px var(--olive-line); }
.dress p:last-child { margin: 0 auto; max-width: 44ch; }

.gift { max-width: 30rem; margin: 0 auto; display: grid; justify-items: center; }
.gift h3 { font-weight: 500; font-size: clamp(1.5rem, 3.4vw, 1.9rem); line-height: 1.2; letter-spacing: .06em; text-transform: none; color: var(--wine); margin: 1rem 0 .6rem; padding: 0; }
.gift p { margin: 0; font-style: italic; color: var(--olive); }

/* ---------- Szűkebb kijelzők ---------- */
@media (max-width: 900px) {
  .topnav { display: none; }
  .info__list { grid-template-columns: 1fr; max-width: 26rem; margin-inline: auto; }
}
@media (max-width: 560px) {
  .opts--2 { grid-template-columns: 1fr; }
  .tiers { grid-template-columns: 1fr 1fr; }
  .date-row b { font-size: 2.1rem; margin: 0 .8rem; padding-inline: .8rem; }
  .date-row { font-size: .82rem; }
  .swatches { gap: .9rem .55rem; flex-wrap: nowrap; }
  .swatches i { width: 2.2rem; height: 2.2rem; }
  .swatches li { font-size: .86rem; }
}

/* ---------- Mobil ---------- */
@media (max-width: 700px) {
  body { font-size: 1.15rem; }
  .hero { padding-inline: .75rem; }
  .hero__inner { padding-inline: 1.6rem; }
  .names { letter-spacing: .09em; }
  .hero { padding-top: 4.75rem; padding-bottom: 3.5rem; }
  .hero__lead { letter-spacing: .22em; font-size: .74rem; }
  .cartouche { width: 6.25rem; }
  .actions { width: 100%; flex-direction: column; align-items: stretch; }
  .cal summary { width: 100%; }
  .cal__menu { min-width: 100%; }
  .frame::before { inset: 8px; }
  .frame::after { inset: 12px; }
  .frame i { width: 40px; height: 40px; }
  .frame i:nth-child(1) { top: 4px; left: 4px; }
  .frame i:nth-child(2) { top: 4px; right: 4px; }
  .frame i:nth-child(3) { bottom: 4px; left: 4px; }
  .frame i:nth-child(4) { bottom: 4px; right: 4px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .fl { opacity: var(--op); translate: 0 0; transform: none; }
}
