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

:root {
  --ivory: #f9f3e9;
  --ivory-deep: #f5ecdf;
  --ink: #392b20;
  --brown: #72501f;
  --gold: #9b6a25;
  --gold-soft: #c9a66c;
  --line: rgba(146, 103, 46, 0.28);
}

html { scroll-behavior: smooth; }

body {
  font-family: "Montserrat", sans-serif;
  background: var(--ivory);
  color: var(--ink);
}

/* =========================
   HERO — PONECHANÉ BEZ ZMENY
========================= */
.hero {
  position: relative;
  width: 100%;
  height: 100svh;
  min-height: 700px;
  background-image: image-set(url("Assets/hero-bg.webp") type("image/webp"), url("Assets/hero-bg.png") type("image/png"));
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.navbar {
  position: absolute;
  top: 48px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(38px, 6vw, 100px);
  width: 90%;
  z-index: 10;
}

.nav-link {
  position: relative;
  text-decoration: none;
  color: #805e25;
  font-family: "Cormorant Garamond", serif;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 3px;
  transition: opacity .3s ease, transform .3s ease;
}

.nav-link:hover { opacity: .65; transform: translateY(-2px); }

.nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -15px;
  width: 0;
  height: 1px;
  background: #a47b38;
  transform: translateX(-50%);
  transition: width .35s ease;
}

.nav-link:hover::after,
.nav-link.active::after { width: 100%; }

.hero-content {
  position: absolute;
  left: 50%;
  top: 45%;
  transform: translate(-50%, -50%);
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.names {
  width: 290px;
  max-width: 50vw;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(116, 72, 12, .05));
  animation: fadeIn 1.8s ease forwards;
}

.scroll-indicator {
  position: absolute;
  left: 50%;
  bottom: 70px;
  transform: translateX(-50%);
  z-index: 5;
}

.scroll-indicator img {
  width: 90px;
  height: 180px;
  object-fit: contain;
  animation: scrollFloat 2.2s ease-in-out infinite;
}

/* =========================
   SHARED EDITORIAL SECTIONS
========================= */
.editorial-page {
  position: relative;
  background: var(--ivory);
}

.editorial-section {
  position: relative;
  overflow: hidden;
  padding: 92px 28px;
  border-top: 1px solid rgba(146, 103, 46, .10);
  background:
    linear-gradient(rgba(250, 246, 239, .92), rgba(250, 246, 239, .92)),
    image-set(url("Assets/sections-bg-desktop.webp") type("image/webp"), url("Assets/sections-bg-desktop.png") type("image/png")) center/cover no-repeat;
}

.editorial-section:nth-child(even) {
  background:
    linear-gradient(rgba(250, 246, 239, .95), rgba(250, 246, 239, .95)),
    image-set(url("Assets/sections-bg-desktop.webp") type("image/webp"), url("Assets/sections-bg-desktop.png") type("image/png")) center/cover no-repeat;
}

.section-inner {
  position: relative;
  z-index: 2;
  width: min(1120px, 100%);
  margin: 0 auto;
  text-align: center;
}

.compact-inner { width: min(900px, 100%); }
.faq-inner { width: min(820px, 100%); }
.rsvp-inner { width: min(820px, 100%); }

.section-heading h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(62px, 7vw, 100px);
  line-height: .94;
  font-weight: 400;
  color: var(--ink);
}

.section-heading p,
.eyebrow,
.deadline,
.footer-rule + p,
.form-grid label > span,
.rsvp-form > label > span,
.attendance-options legend {
  font-family: "Montserrat", sans-serif;
  text-transform: uppercase;
  letter-spacing: .32em;
}

.section-heading p {
  margin-top: 14px;
  font-size: 10px;
  color: var(--gold);
}

.heading-rule {
  width: min(310px, 65vw);
  margin: 0 auto 22px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 14px;
  color: var(--gold);
  font-size: 10px;
}

.heading-rule span { height: 1px; background: var(--line); }
.heading-rule i { font-style: normal; }

.lead-copy {
  max-width: 720px;
  margin: 30px auto 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(22px, 2.2vw, 31px);
  line-height: 1.42;
  color: #6f563e;
}

/* =========================
   DETAILS
========================= */
.details-section { padding-top: 82px; }
.details-inner { width: min(980px, 100%); }
.details-date {
  margin-top: 20px;
  font-family: "Cormorant Garamond", serif;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: .30em;
  color: var(--gold);
}

.venues {
  display: grid;
  grid-template-columns: 1fr 54px 1fr;
  align-items: stretch;
  width: min(850px, 100%);
  margin: 44px auto 0;
}

.venue-card { padding: 0 36px 16px; }

.venue-art-wrap {
  height: 170px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  margin-bottom: 18px;
}

.venue-art { width: auto; height: auto; object-fit: contain; opacity: .86; }
.venue-art-church { max-width: 190px; max-height: 158px; }
.venue-art-castle { max-width: 270px; max-height: 138px; }

.eyebrow {
  display: block;
  font-size: 9px;
  font-weight: 500;
  color: var(--gold);
}

.venue-card h3 {
  margin-top: 10px;
  font-family: "Cormorant Garamond", serif;
  font-size: 25px;
  line-height: 1.18;
  font-weight: 400;
  color: #5b4430;
}

.mini-rule {
  display: block;
  width: 32px;
  height: 1px;
  margin: 14px auto 10px;
  background: var(--line);
}

.venue-card p {
  font-family: "Cormorant Garamond", serif;
  font-size: 17px;
  color: #795b38;
}

.venue-divider {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 9px;
}

.venue-divider::before {
  content: "";
  position: absolute;
  top: 8%;
  bottom: 8%;
  width: 1px;
  background: var(--line);
}

.venue-divider span { z-index: 1; padding: 8px 0; background: var(--ivory); }

.outline-button {
  border: 1px solid rgba(146, 103, 46, .48);
  background: rgba(255,255,255,.16);
  color: #765324;
  min-height: 48px;
  padding: 0 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  font-family: "Montserrat", sans-serif;
  font-size: 9px;
  letter-spacing: .26em;
  text-decoration: none;
  cursor: pointer;
  transition: .28s ease;
}

.outline-button:hover {
  color: #fffaf2;
  background: #9c713b;
  transform: translateY(-1px);
}

.calendar-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;

  padding: 14px 30px;

  border: 1px solid rgba(183, 145, 85, 0.55);
  background: transparent;

  color: #a67835;
  text-decoration: none;

  font-size: 12px;
  letter-spacing: 4px;
  text-transform: uppercase;

  transition: all 0.3s ease;
}

.calendar-btn:hover {
  background: rgba(255, 255, 255, 0.45);
}

.calendar-btn__icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.calendar-btn__icon svg {
  width: 16px;
  height: 16px;

  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.calendar-glyph { font-size: 14px; }

/* =========================
   DRESSCODE
========================= */
.dresscode-section { padding-top: 82px; padding-bottom: 88px; }
.palette {
  margin: 36px auto 0;
  display: flex;
  justify-content: center;
  gap: clamp(26px, 4vw, 54px);
}

.swatch-item { display: grid; justify-items: center; gap: 10px; }
.swatch {
  width: 68px;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(146, 103, 46, .24);
  box-shadow: inset 0 0 0 4px rgba(255,255,255,.48);
}
.swatch-pink { background: #efd0c8; }
.swatch-gold { background: linear-gradient(135deg, #e7c989, #cfa85d); }
.swatch-yellow { background: #f6e5aa; }
.swatch-item small {
  font-family: "Cormorant Garamond", serif;
  font-size: 15px;
  color: #7a6047;
}

.dresscode-copy-grid {
  width: min(760px, 100%);
  margin: 38px auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
}

.dresscode-copy {
  padding: 26px 44px 0;
}

.dresscode-copy + .dresscode-copy { border-left: 1px solid var(--line); }
.dresscode-copy p {
  margin-top: 12px;
  font-family: "Cormorant Garamond", serif;
  font-size: 19px;
  line-height: 1.5;
  color: #6f563e;
}

/* =========================
   FAQ
========================= */
.faq-section { padding-top: 82px; padding-bottom: 92px; }
.faq-intro {
  width: min(650px, 100%);
  margin: 24px auto 0;
  font-family: "Cormorant Garamond", serif;
  font-size: 18px;
  line-height: 1.55;
  color: #806548;
  text-align: center;
}
.faq-list { margin-top: 32px; border-top: 1px solid var(--line); }

.faq-item { border-bottom: 1px solid var(--line); }
.faq-question {
  width: 100%;
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border: 0;
  background: transparent;
  color: #4e3b2b;
  cursor: pointer;
  text-align: left;
  font-family: "Cormorant Garamond", serif;
  font-size: 20px;
  transition: color .2s ease;
}
.faq-question:hover { color: var(--gold); }
.faq-question b { font-family: "Montserrat", sans-serif; font-weight: 300; color: var(--gold); transition: transform .25s ease; }
.faq-item.open .faq-question b { transform: rotate(45deg); }

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .32s ease;
}
.faq-answer > p {
  overflow: hidden;
  padding-right: 56px;
  font-family: "Cormorant Garamond", serif;
  font-size: 18px;
  line-height: 1.5;
  color: #806548;
}
.faq-item.open .faq-answer { grid-template-rows: 1fr; }
.faq-item.open .faq-answer > p { padding-bottom: 18px; }

/* =========================
   RSVP — EDITORIAL FORM
========================= */
.rsvp-section {
  padding-top: 70px;
  padding-bottom: 64px;
}
.rsvp-inner { width: min(780px, 100%); }
.rsvp-heading { margin-bottom: 0; }
.rsvp-copy {
  max-width: 600px;
  margin-top: 20px;
  font-size: clamp(20px, 1.8vw, 25px);
}
.rsvp-deadline {
  display: flex;
  width: max-content;
  align-items: baseline;
  justify-content: center;
  gap: 12px;
  margin: 18px auto 0;
  color: #8b693f;
}
.rsvp-deadline span {
  font-family: "Montserrat", sans-serif;
  font-size: 8px;
  letter-spacing: .32em;
}
.rsvp-deadline strong {
  font-family: "Cormorant Garamond", serif;
  font-size: 19px;
  font-weight: 500;
  letter-spacing: .08em;
}
.rsvp-toggle {
  display: flex;
  width: max-content;
  margin: 16px auto 0;
}
.rsvp-toggle span { font-size: 16px; letter-spacing: 0; }

.rsvp-form {
  display: none;
  width: min(720px, 100%);
  margin: 34px auto 0;
  padding: 34px 34px 30px;
  border: 1px solid rgba(155, 112, 57, .24);
  background: rgba(255, 252, 247, .28);
  text-align: left;
}
.rsvp-form.open { display: block; animation: fadeIn .4s ease both; }
.rsvp-attendance-heading {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}
.rsvp-attendance-heading span { height: 1px; background: var(--line); }
.rsvp-attendance-heading p {
  font-family: "Montserrat", sans-serif;
  font-size: 8px;
  letter-spacing: .30em;
  color: var(--gold);
}

.attendance-options { border: 0; margin: 0; padding: 0; }
.attendance-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 28px;
}
.attendance-card {
  position: relative;
  display: grid !important;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 13px !important;
  min-height: 92px;
  margin: 0 !important;
  padding: 17px 18px;
  border: 1px solid rgba(155, 112, 57, .30);
  background: rgba(255,255,255,.12);
  cursor: pointer;
  transition: border-color .25s ease, background .25s ease, transform .25s ease;
}
.attendance-card:hover {
  border-color: rgba(155,112,57,.58);
  background: rgba(255,255,255,.25);
  transform: translateY(-1px);
}
.attendance-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.attendance-dot {
  width: 22px;
  height: 22px;
  border: 1px solid rgba(155,112,57,.56);
  border-radius: 50%;
  position: relative;
}
.attendance-card input:checked + .attendance-dot::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: #a77736;
}
.attendance-card:has(input:checked) {
  border-color: #a77736;
  background: rgba(190, 151, 95, .07);
}
.attendance-text { display: grid; gap: 4px; }
.attendance-text strong {
  font-family: "Montserrat", sans-serif;
  font-size: 8px;
  font-weight: 500;
  letter-spacing: .20em;
  color: #74552f;
}
.attendance-text small {
  font-family: "Cormorant Garamond", serif;
  font-size: 14px;
  font-style: italic;
  color: #9b8165;
  line-height: 1.15;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.rsvp-form label { display: grid; gap: 8px; margin-bottom: 17px; }
.rsvp-form label > span:not(.attendance-dot):not(.attendance-text),
.rsvp-form > label > span,
.rsvp-extra-fields label > span {
  font-family: "Montserrat", sans-serif;
  font-size: 8px;
  letter-spacing: .24em;
  color: var(--gold);
}
.rsvp-form input,
.rsvp-form select,
.rsvp-form textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(146, 103, 46, .34);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  padding: 11px 2px 12px;
  outline: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: 17px;
}
.rsvp-form textarea {
  min-height: 94px;
  resize: vertical;
  border: 1px solid rgba(146, 103, 46, .28);
  padding: 12px 14px;
  margin-top: 2px;
}
.rsvp-form input:focus,
.rsvp-form select:focus,
.rsvp-form textarea:focus { border-color: rgba(146, 103, 46, .72); }
.rsvp-form input::placeholder,
.rsvp-form textarea::placeholder { color: #aa9580; opacity: .78; }


.rsvp-choice-section {
  margin: 8px 0 22px;
}
.rsvp-choice-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}
.rsvp-choice-title > span {
  font-family: "Montserrat", sans-serif;
  font-size: 8px;
  letter-spacing: .24em;
  color: var(--gold);
}
.rsvp-choice-title small {
  font-family: "Cormorant Garamond", serif;
  font-size: 14px;
  font-style: italic;
  color: #9b8165;
}
.drink-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
}
.choice-chip {
  position: relative;
  display: flex !important;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin: 0 !important;
  padding: 9px 10px;
  border: 1px solid rgba(155,112,57,.28);
  background: rgba(255,255,255,.10);
  cursor: pointer;
  transition: border-color .22s ease, background .22s ease, transform .22s ease;
}
.choice-chip:hover {
  border-color: rgba(155,112,57,.58);
  background: rgba(255,255,255,.24);
  transform: translateY(-1px);
}
.choice-chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.choice-chip > span {
  font-family: "Montserrat", sans-serif !important;
  font-size: 7px !important;
  font-weight: 500;
  letter-spacing: .20em !important;
  color: #79582f !important;
}
.choice-chip:has(input:checked) {
  border-color: #a77736;
  background: rgba(190,151,95,.10);
}
.choice-chip:has(input:checked)::before {
  content: "✓";
  margin-right: 7px;
  color: #a77736;
  font-family: "Cormorant Garamond", serif;
  font-size: 15px;
}

.rsvp-extra-fields {
  display: block;
  transition: opacity .25s ease;
}
.rsvp-extra-fields.is-hidden { display: none; }
.rsvp-decline-note {
  display: none;
  margin: 10px 0 24px;
  text-align: center;
  font-family: "Cormorant Garamond", serif;
  font-size: 19px;
  color: #806548;
}
.rsvp-decline-note.show { display: block; }

.submit-button {
  display: block;
  min-width: 235px;
  min-height: 46px;
  margin: 10px auto 0;
  border: 1px solid #9d753d;
  background: transparent;
  color: #815c28;
  font-family: "Montserrat", sans-serif;
  font-size: 8px;
  letter-spacing: .30em;
  cursor: pointer;
  transition: background .25s ease, color .25s ease;
}
.submit-button:hover { background: #9d753d; color: #fffaf2; }
.form-note {
  margin-top: 11px;
  text-align: center;
  font-family: "Cormorant Garamond", serif;
  font-size: 13px;
  color: #a08a73;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.wedding-footer { margin-top: 58px; }
.footer-rule {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
}
.footer-rule span { height: 1px; background: var(--line); }
.footer-rule b {
  font-family: "Cormorant Garamond", serif;
  font-size: 28px;
  font-weight: 400;
  letter-spacing: -.08em;
  color: var(--gold);
}
.footer-rule + p {
  margin-top: 11px;
  font-size: 8px;
  color: #896b4a;
}
.wedding-footer small {
  display: block;
  margin-top: 8px;
  font-family: "Cormorant Garamond", serif;
  font-size: 13px;
  color: #9b8165;
}

/* =========================
   ANIMATIONS
========================= */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes scrollFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* =========================
   MOBILE
========================= */
@media (max-width: 768px) {
  .faq-intro { font-size: 16px; line-height: 1.5; margin-top: 18px; }

  .hero {
    background-image: image-set(url("Assets/hero-bg-mobile.webp") type("image/webp"), url("Assets/hero-bg-mobile.png") type("image/png"));
    background-size: cover;
    background-position: center center;
    min-height: 100svh;
  }

  .navbar {
    top: 16px;
    width: 92%;
    padding: 12px 10px;
    gap: 18px;
    background: rgba(248, 240, 228, .72);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-radius: 14px;
  }

  .nav-link {
    font-size: 11px;
    letter-spacing: 1.2px;
    font-weight: 500;
    color: #7a541d;
  }

  .nav-link::after { bottom: -5px; }
  .hero-content { top: 41%; transform: translate(-50%, -50%); }
  .names { width: 180px; max-width: 55vw; }
  .scroll-indicator { bottom: 18px; }

  .editorial-section {
    padding: 64px 20px;
    background:
      linear-gradient(rgba(250,246,239,.93), rgba(250,246,239,.93)),
      image-set(url("Assets/sections-bg-mobile.webp") type("image/webp"), url("Assets/sections-bg-mobile.png") type("image/png")) center top/cover no-repeat;
  }

  .section-heading h2 { font-size: clamp(52px, 15vw, 72px); }
  .section-heading p { font-size: 8px; letter-spacing: .26em; }
  .heading-rule { margin-bottom: 16px; }
  .lead-copy { margin-top: 22px; font-size: 22px; }

  .details-date { font-size: 14px; margin-top: 15px; }
  .venues {
    grid-template-columns: 1fr;
    width: min(360px, 100%);
    margin-top: 30px;
  }

  .venue-card { padding: 18px 6px 24px; }
  .venue-card + .venue-card { padding-top: 30px; }
  .venue-divider { height: 36px; }
  .venue-divider::before { top: 0; bottom: 0; }
  .venue-divider span { padding: 7px; }

  .venue-art-wrap { height: 124px; margin-bottom: 13px; }
  .venue-art-church { max-width: 96px; max-height: 118px; }
  .venue-art-castle { max-width: 170px; max-height: 102px; }
  .venue-card h3 { font-size: 22px; }
  .calendar-button { margin-top: 18px; }

  .palette { gap: 18px; margin-top: 28px; }
  .swatch { width: 56px; }
  .swatch-item small { display: none; }

  .dresscode-copy-grid {
    grid-template-columns: 1fr;
    width: min(420px, 100%);
    margin-top: 30px;
  }
  .dresscode-copy { padding: 24px 12px 0; }
  .dresscode-copy + .dresscode-copy {
    border-left: 0;
    border-top: 1px solid var(--line);
    margin-top: 24px;
  }
  .dresscode-copy p { font-size: 18px; }

  .faq-list { margin-top: 28px; }
  .faq-question { min-height: 50px; font-size: 18px; }
  .faq-answer > p { padding-right: 18px; font-size: 16px; }

  .rsvp-copy { font-size: 21px; }
  .form-grid { grid-template-columns: 1fr; gap: 0; }
  .attendance-options label { display: flex; margin: 0 0 10px; }
  .rsvp-form { margin-top: 28px; }
  .wedding-footer { margin-top: 50px; }
}


/* =========================
   DESKTOP COMPACT SCALE
   Keeps the hero untouched; compacts the editorial content below it.
========================= */
@media (min-width: 769px) {
  .editorial-section {
    padding: 64px 24px;
  }

  .section-inner { width: min(980px, 100%); }
  .compact-inner { width: min(820px, 100%); }
  .faq-inner,
  .rsvp-inner { width: min(760px, 100%); }

  .section-heading h2 {
    font-size: clamp(52px, 5.4vw, 78px);
  }

  .section-heading p { margin-top: 10px; }
  .heading-rule { margin-bottom: 16px; }
  .lead-copy {
    max-width: 650px;
    margin-top: 22px;
    font-size: clamp(19px, 1.7vw, 25px);
  }

  .details-section,
  .faq-section,
  .rsvp-section {
    padding-top: 58px;
    padding-bottom: 62px;
  }

  .venues {
    width: min(760px, 100%);
    margin-top: 32px;
  }

  .venue-art-wrap { height: 146px; margin-bottom: 13px; }
  .venue-art-church { max-width: 178px; max-height: 140px; }
  .venue-art-castle { max-width: 252px; max-height: 126px; }
  .venue-card h3 {
    min-height: 84px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 23px;
  }
  .calendar-btn { padding: 12px 26px; font-size: 10px; }

  .faq-list { margin-top: 28px; }
  .faq-question { min-height: 48px; font-size: 18px; }
  .faq-answer > p { font-size: 16px; }
  .rsvp-toggle { margin: 16px auto 0; }
  .wedding-footer { margin-top: 48px; }
}

/* =========================
   DRESSCODE — IMAGE-LED EDITORIAL
========================= */
.dresscode-section {
  padding-top: 58px;
  padding-bottom: 68px;
}

.dresscode-inner {
  width: min(940px, 100%);
}

.dresscode-title-art {
  display: block;
  width: min(560px, 78%);
  height: auto;
  margin: 0 auto;
}

.dresscode-intro {
  width: min(760px, 100%);
  margin: 18px auto 0;
  font-family: "Cormorant Garamond", serif;
  font-size: 20px;
  line-height: 1.48;
  color: #5f4937;
}

.dresscode-intro p + p { margin-top: 4px; }
.dresscode-intro strong,
.dresscode-men-copy strong { font-weight: 600; }

.dresscode-palette-art {
  display: block;
  width: min(570px, 74%);
  height: auto;
  margin: 20px auto 4px;
}

.dresscode-divider {
  width: min(580px, 76%);
  margin: 6px auto 12px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  color: #88612d;
}

.dresscode-divider::before,
.dresscode-divider::after {
  content: "";
  height: 1px;
  background: var(--line);
}

.dresscode-divider span {
  font-family: "Montserrat", sans-serif;
  font-size: 10px;
  letter-spacing: .38em;
}

.dresscode-models-art {
  display: block;
  width: min(820px, 92%);
  height: auto;
  margin: 0 auto;
}

.dresscode-ladies-art { margin-top: -18px; }

.dresscode-men-copy {
  width: min(690px, 100%);
  margin: 14px auto 12px;
  font-family: "Cormorant Garamond", serif;
  font-size: 19px;
  line-height: 1.5;
  color: #5f4937;
}

.dresscode-men-art {
  width: min(780px, 90%);
  margin-top: -18px;
}

@media (max-width: 768px) {
  .editorial-section {
    padding-left: 18px;
    padding-right: 18px;
  }

  .dresscode-section {
    padding-top: 44px;
    padding-bottom: 54px;
  }

  .dresscode-inner { width: 100%; }

  .dresscode-title-art {
    width: min(390px, 94%);
  }

  .dresscode-intro {
    width: min(390px, 100%);
    margin-top: 10px;
    font-size: 17px;
    line-height: 1.42;
  }

  .dresscode-palette-art {
    width: min(390px, 96%);
    margin-top: 10px;
  }

  .dresscode-divider {
    width: min(350px, 90%);
    margin-top: 0;
    margin-bottom: 8px;
    gap: 12px;
  }

  .dresscode-divider span {
    font-size: 9px;
    letter-spacing: .30em;
  }

  .dresscode-models-art {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    margin-left: auto;
    margin-right: auto;
    transform: none;
    object-fit: contain;
    object-position: center;
  }

  .dresscode-ladies-art { margin-top: -8px; }

  .dresscode-men-copy {
    width: min(390px, 100%);
    margin: 8px auto 10px;
    font-size: 17px;
    line-height: 1.42;
  }

  .dresscode-men-art {
    width: 100%;
    max-width: 100%;
    margin-top: -8px;
    margin-left: auto;
    margin-right: auto;
    transform: none;
    object-position: center;
  }

  .faq-section,
  .rsvp-section {
    padding-top: 54px;
    padding-bottom: 58px;
  }
}


/* =========================
   MATTE SECTION HEADINGS
========================= */
.section-heading-art {
  display: block;
  width: auto;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
}

.section-heading-art--details {
  max-width: 320px;
}

.section-heading-art--faq {
  max-width: 235px;
}

.section-heading-art--rsvp {
  max-width: 255px;
}

@media (max-width: 768px) {
  .section-heading-art--details {
    max-width: min(270px, 82vw);
  }

  .section-heading-art--faq {
    max-width: min(205px, 62vw);
  }

  .section-heading-art--rsvp {
    max-width: min(220px, 66vw);
  }
}

/* RSVP mobile refinements */
@media (max-width: 768px) {
  .rsvp-section { padding-top: 54px; padding-bottom: 50px; }
  .rsvp-copy { font-size: 19px; }
  .rsvp-deadline { margin-top: 14px; }
  .rsvp-form { margin-top: 24px; padding: 26px 16px 24px; }
  .attendance-cards { grid-template-columns: 1fr; gap: 10px; }
  .attendance-card { min-height: 78px; padding: 14px 15px; }
  .form-grid { grid-template-columns: 1fr; gap: 0; }
  .rsvp-attendance-heading { gap: 10px; }
  .submit-button { width: 100%; min-width: 0; }
  .wedding-footer { margin-top: 44px; }
}


@media (max-width: 768px) {
  .rsvp-choice-title {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }
  .drink-options {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .choice-chip {
    min-height: 40px;
    padding: 8px;
  }
  .choice-chip > span {
    font-size: 7px !important;
    letter-spacing: .16em !important;
  }
}


/* RSVP second guest */
.rsvp-guests-grid {
  max-width: 420px;
}

.other-drink-field {
  margin-top: -2px;
}

.second-guest-field {
  margin-top: -2px;
  margin-bottom: 8px;
}

.second-guest-field.is-hidden {
  display: none;
}


/* FAQ inline section links */
.faq-inline-link {
  color: #9a6a22;
  text-decoration: none;
  border-bottom: 1px solid rgba(154, 106, 34, .45);
  padding-bottom: 1px;
  transition: color .2s ease, border-color .2s ease;
}

.faq-inline-link:hover {
  color: #6f4b1c;
  border-bottom-color: #6f4b1c;
}


/* =========================
   FINAL POLISH
========================= */
.editorial-section { scroll-margin-top: 18px; }

.venue-map-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  color: #8f672f;
  font-family: "Montserrat", sans-serif;
  font-size: 8px;
  font-weight: 500;
  letter-spacing: .22em;
  text-decoration: none;
  border-bottom: 1px solid rgba(155,106,37,.28);
  padding-bottom: 4px;
  transition: color .28s ease, border-color .28s ease, transform .28s ease;
}
.venue-map-link span { font-size: 13px; letter-spacing: 0; transition: transform .28s ease; }

@media (hover: hover) {
  .calendar-btn:hover,
  .outline-button:hover,
  .submit-button:hover {
    background: #9c713b;
    color: #fffaf2;
    border-color: #9c713b;
    box-shadow: 0 10px 28px rgba(116, 80, 31, .10);
    transform: translateY(-2px);
  }
  .venue-map-link:hover,
  .faq-inline-link:hover {
    color: #6f4a18;
    border-color: rgba(111,74,24,.62);
  }
  .venue-map-link:hover span { transform: translateX(3px); }
  .faq-question:hover { padding-left: 4px; }
}

.calendar-btn,
.outline-button,
.submit-button,
.faq-question,
.faq-inline-link,
.venue-map-link {
  transition-duration: .3s;
}

.calendar-btn:focus-visible,
.outline-button:focus-visible,
.submit-button:focus-visible,
.faq-question:focus-visible,
.faq-inline-link:focus-visible,
.venue-map-link:focus-visible,
.nav-link:focus-visible {
  outline: 1px solid #a77736;
  outline-offset: 5px;
}

/* restrained editorial reveal */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity .72s cubic-bezier(.22,.61,.36,1),
    transform .72s cubic-bezier(.22,.61,.36,1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.wedding-footer {
  padding-top: 6px;
}
.footer-names {
  margin-top: 13px !important;
  font-family: "Montserrat", sans-serif !important;
  font-size: 9px !important;
  font-weight: 400;
  letter-spacing: .34em !important;
  color: #765a38 !important;
}
.wedding-footer em {
  display: block;
  margin-top: 10px;
  font-family: "Montserrat", sans-serif;
  font-size: 7px;
  font-style: normal;
  letter-spacing: .28em;
  color: #a18462;
}

@media (max-width: 768px) {
  .venue-map-link { margin-top: 12px; font-size: 7px; }
  .js .reveal { transform: translateY(12px); }
  .footer-names { font-size: 8px !important; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}

/* RSVP accommodation */
.accommodation-section {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(155,112,57,.18);
}
.accommodation-title {
  margin-bottom: 14px;
}
.accommodation-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}
.accommodation-chip {
  min-height: 46px;
}
@media (max-width: 768px) {
  .accommodation-options {
    grid-template-columns: 1fr;
  }
}

/* RSVP accommodation moved above identity fields */
.accommodation-section.is-hidden {
  display: none;
}

.accommodation-section {
  margin: 4px 0 26px;
}

.accommodation-payment-note {
  margin: 12px 2px 0;
  font-family: "Cormorant Garamond", serif;
  font-size: 14px;
  line-height: 1.45;
  color: #9b8165;
  text-align: left;
}

.accommodation-payment-note strong {
  font-weight: 500;
  color: #806548;
}

@media (max-width: 768px) {
  .accommodation-section {
    margin-bottom: 22px;
  }

  .accommodation-payment-note {
    font-size: 13px;
    line-height: 1.5;
  }
}


/* RSVP submission status */
.form-status {
  min-height: 24px;
  margin: 14px auto 0;
  text-align: center;
  font-family: "Cormorant Garamond", serif;
  font-size: 16px;
  line-height: 1.35;
}
.form-status.success { color: #7c653f; }
.form-status.error { color: #9f5b52; }
.submit-button:disabled { opacity: .55; cursor: wait; }


/* Netlify Forms honeypot – hidden from real guests, visible to basic bots */
.netlify-honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
