@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,500&family=Marck+Script&display=swap');
/* ============================================================
   luxe.css — "Luxe Editorial Invitation" (Quiet Luxury wedding).
   Self-contained Вісточка variation. Airy white-marble, charcoal ink,
   warm-greige accents. Cormorant Garamond (serif) + Marck Script
   (calligraphy) — both Cyrillic. Signature: vertical calligraphic names
   flanking an arched photo, framed by botanical line-art ornaments.
   Note: formal copperplate Cyrillic is not available as a webfont;
   Marck Script is the most elegant free Cyrillic script.
   ============================================================ */

:root {
  --bg: #f3f1ec;               /* airy marble white */
  --main: #fbf9f5;             /* page panel, floats over marble */
  --container-low: #f1eee8;
  --surface-mid: #ece9e2;
  --container-high: #e5e2da;
  --ink: #2d2a26;              /* charcoal */
  --ink-2: #4c463f;
  --secondary: #6b6357;
  --taupe: #b4ab9e;            /* botanical line work */
  --outline: #8a8076;
  --outline-variant: #d6cfc5;  /* hairlines */
  --gold: #b1934f;             /* metallic micro-accent */
  --on-dark: #fff;

  --font-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-script: "Marck Script", "Cormorant Garamond", cursive;

  --container-max: 760px;
  --section-gap: clamp(3.5rem, 2rem + 7vw, 5.5rem);
  --margin: clamp(1.4rem, 1rem + 4vw, 3.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 1.2rem;
  line-height: 1.75;
  background-color: var(--bg);
  background-image:
    radial-gradient(circle at 16% 14%, rgba(180,171,158,0.14) 0%, transparent 44%),
    radial-gradient(circle at 84% 78%, rgba(120,112,104,0.10) 0%, transparent 52%),
    linear-gradient(rgba(244,242,237,0.55), rgba(244,242,237,0.55)),
    url(/luxe-wedding/assets/marble.svg?v=2);
  background-size: auto, auto, auto, 640px 640px;
  background-repeat: no-repeat, no-repeat, repeat, repeat;
  background-attachment: fixed, fixed, fixed, fixed;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

/* ---- type helpers ---- */
.script { font-family: var(--font-script); font-weight: 400; line-height: 1.15; }
.caps { font-family: var(--font-serif); font-weight: 500; text-transform: uppercase; letter-spacing: 0.26em; font-size: 0.8rem; }
.lead { color: var(--ink-2); line-height: 1.85; }
.hairline { height: 1px; background: var(--outline-variant); border: 0; width: 100%; }
.vellum { background: rgba(251,249,245,0.86); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border: 1px solid var(--outline-variant); }

/* ---- shell ---- */
.lux-main {
  max-width: var(--container-max); margin-inline: auto; min-height: 100vh;
  background: color-mix(in srgb, var(--main) 88%, transparent);
  position: relative; overflow: hidden;
  box-shadow: 0 0 70px rgba(45,42,38,0.07);
}
.lux-section { padding: var(--section-gap) var(--margin); position: relative; }
.lux-section--alt { background: color-mix(in srgb, var(--container-low) 80%, transparent); }
.lux-section--alt2 { background: color-mix(in srgb, var(--surface-mid) 75%, transparent); }
.lux-center { text-align: center; }
.lux-narrow { max-width: 30rem; margin-inline: auto; }

/* ---- ornaments (botanical line-art via <use>) ---- */
.lux-orn { position: absolute; color: var(--taupe); opacity: 0.6; pointer-events: none; aspect-ratio: 132 / 56; }
.lux-orn--tr { top: 1rem; right: 0.4rem; width: clamp(118px, 22vw, 178px); transform: rotate(18deg) scaleX(-1); }
.lux-orn--bl { bottom: 1rem; left: 0.4rem; width: clamp(118px, 22vw, 178px); transform: rotate(198deg) scaleX(-1); }
.lux-rings-row { display: flex; align-items: center; justify-content: center; gap: 0.4rem; margin-top: 1.25rem; }
.lux-spray { width: clamp(78px, 20vw, 118px); aspect-ratio: 132 / 56; color: var(--taupe); opacity: 0.85; flex: none; }
.lux-spray--l { transform: scaleX(-1); }
.lux-rings { display: block; width: 46px; height: 28px; color: var(--gold); flex: none; }
.lux-div { display: block; width: 132px; height: 18px; margin: 1.1rem auto 0; color: var(--taupe); }

/* ---- nav ---- */
.lux-nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--container-max); margin-inline: auto;
  padding: 0.85rem var(--margin);
  background: color-mix(in srgb, var(--main) 80%, transparent);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--outline-variant);
}
.lux-mono { width: 38px; height: 38px; border-radius: 50%; background: var(--ink); color: var(--on-dark);
  display: grid; place-items: center; font-size: 0.8rem; letter-spacing: 0.08em; }
.lux-nav__title { margin: 0; font-weight: 500; text-transform: uppercase; letter-spacing: 0.3em; font-size: 0.72rem; color: var(--ink); }
.lux-nav__mark { width: 38px; height: 38px; display: grid; place-items: center; color: var(--taupe); }
.lux-nav__mark svg { width: 26px; height: 20px; }

/* ---- hero ---- */
.lux-hero { padding-top: calc(var(--section-gap) - 0.5rem); text-align: center; }
.lux-amp { font-family: var(--font-script); font-size: clamp(2.2rem, 1.4rem + 3vw, 3.2rem); color: var(--gold); margin: 0 0 0.25rem; line-height: 1; }
.lux-hero__grid { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: clamp(0.5rem, 2.5vw, 1.5rem); max-width: 30rem; margin: 0 auto; }
.lux-vname { font-family: var(--font-serif); font-weight: 500; text-transform: uppercase; letter-spacing: 0.34em;
  font-size: clamp(1.15rem, 0.8rem + 1.6vw, 1.9rem); color: var(--ink); writing-mode: vertical-rl; white-space: nowrap; align-self: center; }
.lux-vname--l { transform: rotate(180deg); }
.lux-names-h { display: none; }

.lux-frame { position: relative; width: 100%; aspect-ratio: 3 / 4; border: 1px solid var(--outline-variant); padding: 0.7rem; background: var(--main); }
.lux-frame--arch { border-top-left-radius: 50% 24%; border-top-right-radius: 50% 24%; }
.lux-frame__inner { width: 100%; height: 100%; object-fit: cover; object-position: center; filter: contrast(1.03) sepia(0.05); display: block; }
.lux-frame--arch .lux-frame__inner { border-top-left-radius: 50% 24%; border-top-right-radius: 50% 24%; }

.lux-hero__sub { margin: 2.5rem 0 1.75rem; color: var(--ink-2); }
.lux-date { display: inline-flex; flex-direction: column; align-items: center; border: 1px solid var(--ink); padding: 0.9rem 2.25rem; }
.lux-date__row { display: flex; align-items: center; gap: 1rem; }
.lux-date__num { font-family: var(--font-script); font-size: 1.9rem; color: var(--ink); }
.lux-date__lbl { font-size: 0.66rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--secondary); }
.lux-date__bar { width: 1px; height: 1.4rem; background: var(--outline-variant); }

/* ---- flanked section headings ---- */
.lux-head { display: flex; align-items: center; justify-content: center; gap: 0.85rem; }
.lux-h { font-family: var(--font-script); font-size: clamp(2.3rem, 1.5rem + 4vw, 3.4rem); color: var(--ink); margin: 0; line-height: 1.1; }
.lux-sprig { width: 42px; height: 24px; color: var(--taupe); opacity: 0.85; flex: none; }
.lux-sprig--l { transform: scaleX(-1); }

/* ---- intro ---- */
.lux-intro__rule { margin: 2rem auto; }

/* ---- venue ---- */
.lux-venue { padding: clamp(2rem, 1rem + 5vw, 3rem); text-align: center; }
.lux-venue__date { font-size: clamp(1.5rem, 1rem + 2vw, 2.1rem); margin: 0.5rem 0 0.3rem; }
.lux-venue__time { color: var(--secondary); letter-spacing: 0.22em; }
.lux-venue__addr { color: var(--ink-2); margin: 1.4rem 0 2.25rem; }

/* ---- buttons ---- */
.btn-outline { display: inline-block; border: 1px solid var(--ink); padding: 0.95rem 2.4rem; text-decoration: none;
  text-transform: uppercase; letter-spacing: 0.26em; font-size: 0.72rem; font-weight: 500; color: var(--ink);
  transition: background 0.45s ease, color 0.45s ease; }
.btn-outline:hover { background: var(--ink); color: var(--on-dark); }
.btn-solid { display: inline-flex; align-items: center; gap: 0.7rem; background: var(--ink); color: var(--on-dark);
  padding: 1.05rem 2.75rem; text-decoration: none; text-transform: uppercase; letter-spacing: 0.18em; font-size: 0.74rem;
  font-weight: 500; transition: transform 0.2s ease, background 0.3s ease; }
.btn-solid:hover { background: var(--secondary); }
.btn-solid:active { transform: scale(0.97); }
.btn-solid svg { width: 16px; height: 16px; }

/* ---- program timeline ---- */
.lux-timeline { position: relative; display: flex; flex-direction: column; gap: var(--section-gap); margin-top: 1rem; }
.lux-timeline::before { content: ""; position: absolute; left: 50%; top: 0.5rem; bottom: 0.5rem; width: 1px; background: var(--outline-variant); transform: translateX(-50%); }
.lux-tl { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; }
.lux-tl__icon { z-index: 1; background: var(--main); padding: 0.5rem 1.1rem; color: var(--ink); margin-bottom: 0.9rem; }
.lux-tl__icon svg { width: 48px; height: 44px; }
.lux-tl__time { font-family: var(--font-script); font-size: 1.5rem; color: var(--gold); margin: 0 0 0.15rem; }
.lux-tl__title { text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.92rem; color: var(--ink-2); margin: 0; }

/* ---- dress code swatches ---- */
.lux-swatches { display: flex; justify-content: center; gap: 1.4rem; flex-wrap: wrap; margin-top: 1rem; }
.lux-swatch { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; }
.lux-swatch span { width: 3rem; height: 3rem; border-radius: 50%; border: 1px solid var(--outline-variant);
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1); }
.lux-swatch:hover span { transform: scale(1.1); }
.lux-swatch small { font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-2); opacity: 0.6; }

/* ---- gallery ---- */
.lux-gallery { border: 1px solid var(--outline-variant); padding: 0.7rem; }
.lux-gallery img { filter: grayscale(0.18); width: 100%; }

/* ---- notes / gift ---- */
.lux-notes { text-align: center; overflow: hidden; }
.lux-notes__bg { position: absolute; top: 1rem; left: 50%; transform: translateX(-50%); opacity: 0.06; color: var(--ink); pointer-events: none; }
.lux-notes__bg svg { width: 190px; height: 190px; }
.lux-notes__body { position: relative; z-index: 1; }

/* ---- telegram ---- */
.lux-tg { padding: clamp(2rem, 1rem + 5vw, 3rem); text-align: center; border-style: dashed; border-width: 1.5px; }
.lux-tg__title { letter-spacing: 0.26em; margin-bottom: 1.4rem; }

/* ---- footer ---- */
.lux-footer { text-align: center; padding: 3rem var(--margin); border-top: 1px solid var(--outline-variant); margin-top: var(--section-gap); }
.lux-footer__mono { font-family: var(--font-script); font-size: 2.4rem; color: var(--ink); margin-bottom: 0.75rem; }
.lux-footer__links { display: flex; gap: 1.6rem; justify-content: center; flex-wrap: wrap; margin: 1rem 0; }
.lux-footer__links a { text-decoration: none; text-transform: uppercase; letter-spacing: 0.18em; font-size: 0.62rem; color: var(--ink-2); transition: color 0.3s ease; }
.lux-footer__links a:hover { color: var(--ink); }
.lux-footer__sign { font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--secondary); margin-top: 0.5rem; }

/* ---- responsive: stack names horizontally on small screens ---- */
@media (max-width: 640px) {
  .lux-hero__grid { grid-template-columns: 1fr; max-width: 22rem; }
  .lux-vname { display: none; }
  .lux-names-h { display: block; font-family: var(--font-serif); font-weight: 500; text-transform: uppercase;
    letter-spacing: 0.24em; font-size: 1.5rem; color: var(--ink); margin: 0 0 1.5rem; line-height: 1.5; }
}

/* ---- gentle load reveal (respects reduced-motion) ---- */
@media (prefers-reduced-motion: no-preference) {
  .lux-hero__grid, .lux-amp, .lux-hero__sub, .lux-date { animation: lux-rise 0.9s cubic-bezier(0.2,0.7,0.2,1) both; }
  .lux-amp { animation-delay: 0.05s; }
  .lux-hero__grid { animation-delay: 0.12s; }
  .lux-hero__sub { animation-delay: 0.32s; }
  .lux-date { animation-delay: 0.42s; }
  @keyframes lux-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
}
