:root {
  --ink: #0b0907;
  --ink-2: #14100b;
  --ink-3: #1d1812;
  --cream: #f4ece0;
  --muted: #b8a98f;
  --gold: #d6af5c;
  --gold-bright: #f3d98a;
  --gold-deep: #a9802f;
  --line: rgba(214, 175, 92, 0.22);
  --maxw: 1180px;
  --gold-grad: linear-gradient(135deg, #a9802f 0%, #f3d98a 38%, #d6af5c 60%, #8a6622 100%);
}

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

html { scroll-behavior: smooth; }

body {
  background:
    radial-gradient(1200px 700px at 80% -5%, rgba(214,175,92,0.10), transparent 60%),
    radial-gradient(900px 600px at 5% 25%, rgba(169,128,47,0.08), transparent 55%),
    var(--ink);
  color: var(--cream);
  font-family: "Jost", system-ui, sans-serif;
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Grain overlay */
.grain {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

a { color: inherit; text-decoration: none; }

::selection { background: var(--gold-deep); color: var(--ink); }

/* Gold text helper */
.gold-text,
.hero__title,
.hero__amp,
.metacard__big,
.section-head h2 .accent {
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ============ NAV ============ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(20px, 5vw, 56px);
  background: linear-gradient(180deg, rgba(11,9,7,0.92), rgba(11,9,7,0));
  backdrop-filter: blur(4px);
}
.nav__brand { display: flex; align-items: center; gap: 12px; }
.nav__mark {
  display: grid; place-items: center;
  width: 38px; height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-family: "Marcellus", serif;
  color: var(--gold-bright);
  font-size: 1.1rem;
}
.nav__name {
  font-family: "Marcellus", serif;
  letter-spacing: 0.12em;
  font-size: 0.82rem;
  text-transform: uppercase;
  color: var(--cream);
}
.nav__name em { color: var(--gold); font-style: normal; }
.nav__links { display: flex; align-items: center; gap: clamp(14px, 3vw, 34px); }
.nav__links a {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.25s;
}
.nav__links a:hover { color: var(--gold-bright); }
.nav__cta {
  border: 1px solid var(--line);
  padding: 9px 18px;
  border-radius: 100px;
  color: var(--gold-bright) !important;
}
.nav__cta:hover { background: rgba(214,175,92,0.08); }

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 140px clamp(20px, 5vw, 40px) 90px;
  overflow: hidden;
}
.hero__glow {
  position: absolute;
  width: 60vw; height: 60vw;
  max-width: 720px; max-height: 720px;
  top: 8%; right: -10%;
  background: radial-gradient(circle, rgba(214,175,92,0.18), transparent 65%);
  filter: blur(20px);
}
.hero__ribbon {
  position: absolute;
  left: -8%; top: 50%;
  transform: translateY(-50%);
  width: 38vw; height: 90vh;
  max-width: 460px;
  background:
    conic-gradient(from 210deg at 60% 40%, rgba(243,217,138,0.16), rgba(169,128,47,0.04), rgba(243,217,138,0.12), transparent 70%);
  filter: blur(34px);
  opacity: 0.8;
}
.hero__inner { position: relative; z-index: 2; max-width: 760px; }

/* ============ BOW / NŒUD DECOR ============ */
.bow-decor {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  width: clamp(120px, 20vw, 260px);
  filter: drop-shadow(0 16px 28px rgba(0, 0, 0, 0.55));
}
.bow-decor__svg { display: block; width: 100%; height: auto; }
.bow-decor--hero {
  top: 70px;
  right: clamp(-34px, -1vw, 0px);
  transform: rotate(11deg);
  opacity: 0.95;
}
.bow-decor--prog {
  top: clamp(-6px, 1vw, 18px);
  left: -20px;
  width: clamp(86px, 12vw, 150px);
  transform: rotate(-15deg);
  opacity: 0.8;
}

.hero__brands {
  display: flex; align-items: center; justify-content: center; gap: 18px;
  font-family: "Marcellus", serif;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: clamp(0.7rem, 2vw, 0.92rem);
  color: var(--muted);
  margin-bottom: 34px;
}
.hero__brands .hero__amp { font-size: 1.3em; letter-spacing: 0; }

.eyebrow {
  font-family: "Marcellus", serif;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  font-size: 0.8rem;
  color: var(--gold);
  margin-bottom: 6px;
  padding-left: 0.5em;
}
.eyebrow--center { text-align: center; }

.hero__title {
  font-family: "Marcellus", serif;
  font-size: clamp(2.7rem, 8.5vw, 6.4rem);
  line-height: 1.02;
  letter-spacing: 0.01em;
  margin: 4px 0 2px;
}
.hero__script {
  font-family: "Pinyon Script", cursive;
  font-size: clamp(1.8rem, 5vw, 3.1rem);
  color: var(--gold-bright);
  margin-bottom: 26px;
  font-weight: 400;
}
.hero__lede {
  max-width: 540px;
  margin: 0 auto 44px;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.15rem, 2.6vw, 1.5rem);
  color: #e7dcc9;
  line-height: 1.5;
}
.hero__lede strong { color: var(--gold-bright); font-weight: 500; }

.hero__meta {
  display: inline-flex;
  align-items: stretch;
  gap: clamp(20px, 5vw, 48px);
  margin-bottom: 40px;
  padding: 26px clamp(26px, 5vw, 48px);
  border: 1px solid var(--line);
  border-radius: 6px;
  background: linear-gradient(180deg, rgba(29,24,18,0.6), rgba(20,16,11,0.3));
}
.metacard { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.metacard__label {
  font-family: "Marcellus", serif;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.62rem;
  color: var(--muted);
}
.metacard__big {
  font-family: "Cormorant Garamond", serif;
  font-weight: 500;
  font-size: clamp(2.6rem, 7vw, 3.8rem);
  line-height: 1;
}
.metacard__big small { font-size: 0.5em; }
.metacard__sub {
  font-family: "Marcellus", serif;
  letter-spacing: 0.2em;
  font-size: 0.66rem;
  text-transform: uppercase;
  color: var(--gold);
}
.metacard__divider { width: 1px; background: var(--line); }

.pill {
  display: inline-flex; align-items: center; gap: 10px;
  border: 1px solid var(--gold-deep);
  color: var(--gold-bright);
  padding: 13px 26px;
  border-radius: 100px;
  font-family: "Marcellus", serif;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.74rem;
  transition: transform 0.3s, background 0.3s, box-shadow 0.3s;
}
.pill:hover {
  transform: translateY(-2px);
  background: rgba(214,175,92,0.08);
  box-shadow: 0 10px 30px -12px rgba(214,175,92,0.5);
}
.pill svg { color: var(--gold); }

.scroll-hint {
  position: absolute;
  bottom: 30px; left: 50%;
  transform: translateX(-50%);
  width: 26px; height: 42px;
  border: 1px solid var(--line);
  border-radius: 20px;
  display: grid; place-items: start center;
  padding-top: 8px;
  z-index: 2;
}
.scroll-hint span {
  width: 3px; height: 8px;
  border-radius: 3px;
  background: var(--gold);
  animation: scroll 1.8s ease-in-out infinite;
}
@keyframes scroll {
  0% { opacity: 0; transform: translateY(0); }
  40% { opacity: 1; }
  100% { opacity: 0; transform: translateY(14px); }
}

/* ============ SECTION HEAD ============ */
.section-head { text-align: center; max-width: 720px; margin: 0 auto clamp(40px, 7vw, 70px); }
.section-head h2 {
  font-family: "Marcellus", serif;
  font-weight: 400;
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  line-height: 1.25;
  margin-top: 10px;
}

/* ============ PROGRAMME ============ */
.programme { position: relative; z-index: 2; padding: clamp(70px, 11vw, 130px) clamp(20px, 5vw, 56px); max-width: var(--maxw); margin: 0 auto; }
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.feature {
  background: linear-gradient(180deg, rgba(20,16,11,0.5), rgba(11,9,7,0.5));
  padding: 40px 26px;
  text-align: center;
  transition: background 0.4s, transform 0.4s;
}
.feature:hover { background: linear-gradient(180deg, rgba(40,31,18,0.75), rgba(20,16,11,0.6)); transform: translateY(-4px); }
.feature__icon { color: var(--gold); margin-bottom: 18px; display: flex; justify-content: center; }
.feature h3 {
  font-family: "Marcellus", serif;
  font-weight: 400;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
  color: var(--gold-bright);
}
.feature p { font-size: 0.9rem; color: var(--muted); line-height: 1.55; }

.programme__tagline {
  text-align: center;
  margin-top: clamp(40px, 7vw, 70px);
  font-family: "Marcellus", serif;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  font-size: clamp(0.85rem, 2.4vw, 1.2rem);
  color: var(--gold);
}

/* ============ GALLERY ============ */
.gallery {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(16px, 3vw, 30px);
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 56px) clamp(70px, 11vw, 130px);
}
.gallery__item {
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 30px 60px -40px rgba(0,0,0,0.9);
}
.gallery__item img { display: block; width: 100%; height: auto; transition: transform 0.6s cubic-bezier(.2,.7,.2,1); }
.gallery__item:hover img { transform: scale(1.04); }

/* ============ INFOS ============ */
.infos { position: relative; z-index: 2; padding: clamp(70px, 11vw, 120px) clamp(20px, 5vw, 56px); max-width: var(--maxw); margin: 0 auto; border-top: 1px solid var(--line); }
.infos__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(28px, 4vw, 54px);
}
.info h3 {
  font-family: "Marcellus", serif;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--gold);
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.info p { font-family: "Cormorant Garamond", serif; font-size: 1.18rem; color: #e7dcc9; line-height: 1.5; }
.info a { transition: color 0.25s; }
.info a:hover { color: var(--gold-bright); }
.info__link {
  display: inline-block;
  margin-top: 16px;
  font-family: "Marcellus", serif;
  letter-spacing: 0.1em;
  font-size: 0.74rem;
  text-transform: uppercase;
  color: var(--gold) !important;
}

/* ============ RSVP ============ */
.rsvp { position: relative; z-index: 2; padding: clamp(50px, 9vw, 110px) clamp(20px, 5vw, 56px) clamp(70px, 11vw, 130px); }
.rsvp__card {
  max-width: 660px;
  margin: 0 auto;
  background: linear-gradient(180deg, rgba(29,24,18,0.7), rgba(15,12,9,0.7));
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: clamp(30px, 6vw, 58px);
  text-align: center;
  box-shadow: 0 40px 90px -50px rgba(0,0,0,0.95);
}
.rsvp__intro { max-width: 460px; margin: 12px auto 36px; color: var(--muted); font-size: 0.98rem; }

.form { text-align: left; }
.form__hp { position: absolute; left: -9999px; }
.field { margin-bottom: 22px; display: flex; flex-direction: column; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label, .field legend {
  font-family: "Marcellus", serif;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.7rem;
  color: var(--gold);
  margin-bottom: 9px;
}
.field label small { text-transform: none; letter-spacing: 0; color: var(--muted); }

.field input,
.field select,
.field textarea {
  width: 100%;
  background: rgba(11,9,7,0.6);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 13px 15px;
  color: var(--cream);
  font-family: "Jost", sans-serif;
  font-size: 0.96rem;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.field textarea { resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #6f6450; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold-deep);
  box-shadow: 0 0 0 3px rgba(214,175,92,0.12);
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23d6af5c' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 15px center; padding-right: 38px; }

fieldset.field { border: none; }
.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span {
  display: block;
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: 0.85rem;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.25s;
}
.choice input:checked + span {
  border-color: var(--gold-deep);
  background: rgba(214,175,92,0.12);
  color: var(--gold-bright);
}
.choice input:focus-visible + span { box-shadow: 0 0 0 3px rgba(214,175,92,0.18); }

.submit {
  width: 100%;
  margin-top: 8px;
  padding: 16px;
  border: none;
  border-radius: 5px;
  background: var(--gold-grad);
  color: #1a1306;
  font-family: "Marcellus", serif;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.82rem;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s, filter 0.3s;
}
.submit:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -16px rgba(214,175,92,0.7); filter: brightness(1.06); }
.submit:active { transform: translateY(0); }

/* ============ FOOTER ============ */
.footer {
  position: relative; z-index: 2;
  text-align: center;
  padding: clamp(50px, 8vw, 80px) 20px clamp(40px, 6vw, 60px);
  border-top: 1px solid var(--line);
}
.footer__brand { font-family: "Cormorant Garamond", serif; font-size: 2.2rem; color: var(--gold-bright); letter-spacing: 0.04em; }
.footer__sign { font-family: "Cormorant Garamond", serif; font-style: italic; color: var(--muted); margin-bottom: 18px; }
.footer__contact { font-family: "Marcellus", serif; letter-spacing: 0.14em; font-size: 0.8rem; color: var(--cream); margin-bottom: 14px; }
.footer__note { font-family: "Cormorant Garamond", serif; font-style: italic; color: var(--muted); font-size: 0.95rem; }

/* ============ REVEAL ANIM ============ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s cubic-bezier(.2,.7,.2,1), transform 0.8s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 680px) {
  .nav__links a:not(.nav__cta) { display: none; }
  .field-row { grid-template-columns: 1fr; }
  .hero__meta { width: 100%; justify-content: center; }
  .bow-decor--hero { width: clamp(96px, 32vw, 150px); top: 60px; right: -26px; }
  .bow-decor--prog { left: -12px; opacity: 0.6; }
}
