@import url('invitation.css');

/* =========================================
   MAGDA & WOJTEK - STRONA WESELNA
   ========================================= */

/* CZCIONKI */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=Great+Vibes&family=Montserrat:wght@400;500;600&display=swap');


/* KOLORY I USTAWIENIA GŁÓWNE */

:root {
  --background: #faf8f5;
  --surface: #fffdfb;
  --text: #393336;
  --muted: #777077;

  --lavender: #b7a3c4;
  --lavender-light: #e9ddeb;
  --lavender-bg: #f5eff7;

  --sage: #90998a;
  --sage-dark: #6e7b68;

  --border: #e9ddeb;

  --font-heading: "Cormorant Garamond", Georgia, serif;
  --font-script: "Great Vibes", cursive;
  --font-body: "Montserrat", Arial, sans-serif;
}

/* GLOBALNY BOX SIZING */

*,
*::before,
*::after {
  box-sizing: border-box;
}

/* UKRYWANIE ELEMENTÓW */

[hidden] {
  display: none !important;
}

/* TŁO STRONY */

html {
  scroll-behavior: smooth;
}

body {
  /* Ukryj kursor nawigacji po treści; pola formularza mają własny kursor. */
  caret-color: transparent;
  margin: 0;
  background:
    radial-gradient(
      ellipse at 8% 5%,
      rgba(233, 221, 235, 0.35),
      transparent 35%
    ),
    radial-gradient(
      ellipse at 95% 90%,
      rgba(183, 163, 196, 0.2),
      transparent 40%
    ),
    var(--background);

  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.7;
}

/* GŁÓWNY KONTENER */

main,
#quarto-content main {
  width: 100%;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  padding: 40px 24px;
}

/* TYPOGRAFIA STRONY */

h1,
h2,
h3 {
  font-family: var(--font-heading);
  color: var(--text);
  text-align: center;
  font-weight: 600;
}

h1 {
  font-family: var(--font-script);
  font-size: clamp(4rem, 10vw, 7rem);
  font-weight: normal;
  line-height: 1.3;
  margin-bottom: 12px;
}

h2 {
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  margin-top: 65px;
  margin-bottom: 25px;
}

h3 {
  font-size: 1.7rem;
}

p {
  line-height: 1.8;
}

/* ELEMENTY ZAPROSZENIA */

.wedding-subtitle {
  text-align: center;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  letter-spacing: 0.35em;
  margin-top: 20px;
}

.wedding-date {
  text-align: center;
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 4rem);
  letter-spacing: 0.12em;
  margin: 15px 0;
}

.wedding-quote {
  max-width: 620px;
  margin: 30px auto;
  text-align: center;
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.6rem;
  line-height: 1.5;
  color: var(--muted);
}

/* MIEJSCE WESELA I DOJAZD */

.venue-section {
  width: 100%;
  margin: 30px auto 50px;
}

.venue-card {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(22px, 5vw, 48px);
  background: rgba(255, 253, 251, 0.96);
  border: 1px solid var(--lavender-light);
  border-radius: 26px;
}

.venue-eyebrow {
  color: var(--sage-dark);
  font-family: var(--font-heading);
  letter-spacing: 0.18em;
  text-align: center;
  margin: 0 0 12px;
}

.venue-card h3 {
  margin: 0 0 20px;
  font-size: clamp(1.9rem, 5vw, 2.4rem);
}

.venue-name {
  font-family: var(--font-heading);
  font-size: clamp(1.7rem, 5vw, 2.2rem);
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  margin: 0 0 18px;
}

.venue-address,
.venue-date {
  text-align: center;
  margin: 12px 0;
}

.venue-date {
  color: var(--sage-dark);
  font-family: var(--font-heading);
  font-size: 1.5rem;
}

.venue-directions {
  border-top: 1px solid var(--lavender-light);
  padding-top: 30px;
  margin-top: 28px;
}

.directions-intro {
  text-align: center;
  margin: 0 0 24px;
}

.directions-figure {
  max-width: 615px;
  margin: 0 auto 22px;
}

.directions-map {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--lavender-light);
  border-radius: 16px;
  background: var(--lavender-bg);
}

.directions-map img {
  display: block;
  width: 100%;
  height: auto;
}

.directions-markers {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.directions-figure figcaption {
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--muted);
  margin-top: 8px;
}

.directions-legend {
  display: grid;
  gap: 12px;
  margin-bottom: 24px;
}

.directions-legend p {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
}

.route-symbol {
  display: inline-flex;
  flex: 0 0 30px;
  justify-content: center;
  align-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-family: Arial, sans-serif;
  font-size: 1.4rem;
  font-weight: bold;
}

.route-symbol-good { color: #315b42; }
.route-symbol-bad { color: #b5363d; }

.venue-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.venue-map-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 14px 18px;
  border: 1px solid var(--sage);
  border-radius: 12px;
  color: var(--sage-dark);
  font-size: 0.9rem;
  line-height: 1.5;
  font-weight: 500;
  text-align: center;
  text-decoration: none;
}

.venue-map-link-primary {
  color: #fff;
  background: var(--sage-dark);
}

.venue-map-link:hover {
  box-shadow: 0 0 0 3px rgba(144, 153, 138, 0.15);
}

.venue-map-link:focus-visible {
  outline: 3px solid var(--lavender);
  outline-offset: 3px;
}

.directions-note {
  font-size: 0.85rem;
  color: var(--muted);
  text-align: center;
  margin: 18px 0 0;
}

/* CEREMONIA, HARMONOGRAM I INFORMACJE DLA GOŚCI */

.ceremony-actions {
  margin-top: 24px;
}

.details-card {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(22px, 5vw, 40px);
  background: rgba(255, 253, 251, 0.96);
  border: 1px solid var(--lavender-light);
  border-radius: 26px;
}

.details-card h3 {
  margin: 0 0 14px;
  font-size: 1.9rem;
}

.wedding-timeline {
  list-style: none;
  padding: 0;
  margin: 0;
}

.wedding-timeline li {
  position: relative;
  margin-left: 9px;
  padding: 0 0 32px 28px;
  border-left: 1px solid var(--lavender);
}

.wedding-timeline li:last-child {
  padding-bottom: 0;
  border-left-color: transparent;
}

.wedding-timeline li::before {
  content: "";
  position: absolute;
  top: 8px;
  left: -6px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--sage);
  box-shadow: 0 0 0 4px var(--surface);
}

.wedding-timeline h3 {
  text-align: left;
  margin-bottom: 8px;
}

.wedding-timeline p {
  margin: 0;
}

.wedding-timeline .timeline-date {
  margin-bottom: 8px;
  color: var(--sage-dark);
  font-size: 0.9rem;
  font-weight: 500;
}

.wedding-timeline .timeline-time {
  font-family: var(--font-heading);
  color: var(--sage-dark);
  font-size: 1.6rem;
  line-height: 1.3;
  margin-bottom: 8px;
}

.guest-info-grid,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  max-width: 760px;
  margin: 0 auto;
}

.guest-info-grid .details-card {
  display: flex;
  flex-direction: column;
  padding: 28px;
}

.guest-info-grid p {
  margin: 0 0 16px;
}

.guest-info-link {
  display: inline-block;
  margin-top: auto;
  padding: 10px 0;
  color: var(--sage-dark);
  font-weight: 500;
  text-underline-offset: 4px;
}

.contact-intro {
  text-align: center;
  margin: 0 0 24px;
}

.contact-grid {
  text-align: center;
}

.contact-phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 8px;
  color: var(--sage-dark);
  font-weight: 500;
  text-underline-offset: 5px;
  white-space: nowrap;
}

.guest-info-link:focus-visible,
.contact-phone:focus-visible {
  outline: 3px solid var(--lavender);
  outline-offset: 3px;
  border-radius: 4px;
}

@media (max-width: 600px) {
  .guest-info-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .guest-info-grid .details-card {
    padding: 24px;
  }
}

/* =========================================
   SEKCJA RSVP
   ========================================= */

.rsvp-section {
  width: 100%;
  max-width: 100%;
  margin: 50px auto;
}

/* KARTA FORMULARZA */

.rsvp-card {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: 45px 48px;

  background: rgba(255, 253, 251, 0.96);

  border: 1px solid var(--lavender-light);
  border-radius: 26px;

  box-shadow:
    0 12px 35px rgba(80, 65, 85, 0.04);
}

/* NAGŁÓWEK FORMULARZA */

.rsvp-eyebrow {
  text-align: center;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  letter-spacing: 0.25em;
  color: var(--sage);
  margin-bottom: 10px;
}

.rsvp-card h2 {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 600;
  text-align: center;
  margin: 0 0 12px;
}

.rsvp-intro {
  text-align: center;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.rsvp-deadline {
  text-align: center;
  font-size: 0.95rem;
  color: var(--sage-dark);
  margin: 0 0 35px;
}

/* FORMULARZ */

#rsvp-form {
  display: flex;
  flex-direction: column;
  gap: 28px;

  width: 100%;
  max-width: 100%;
  margin: 0;
}

/* GRUPY PYTAŃ */

#rsvp-form .rsvp-field {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  margin: 0;
}

/* FIELDSET */

#rsvp-form fieldset {
  display: block;
  width: 100%;
  min-width: 0;
  max-width: 100%;

  padding: 0;
  margin: 0;

  border: none;
}

/* =========================================
   JEDNOLITA TYPOGRAFIA PYTAŃ
   ========================================= */

#rsvp-form .rsvp-field > label:not(.rsvp-choice),
#rsvp-form fieldset > legend,
#rsvp-form .rsvp-field > h3 {
  display: block;

  width: 100%;
  margin: 0 0 18px;
  padding: 0;

  font-family: var(--font-heading);
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1.3;

  text-align: left;
  color: var(--text);
}

/* POLA TEKSTOWE */

#rsvp-form input[type="text"],
#rsvp-form input[type="number"],
#rsvp-form select,
#rsvp-form textarea {
  /* Nawigacja kursorem może zatrzymać się także na nieaktywnym polu. */
  caret-color: transparent;
  display: block;

  width: 100%;
  max-width: 100%;
  min-width: 0;

  min-height: 54px;
  padding: 13px 16px;

  border: 1px solid #dfd4df;
  border-radius: 11px;

  background: #ffffff;
  color: var(--text);

  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.5;

  outline: none;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

#rsvp-form input:focus,
#rsvp-form select:focus,
#rsvp-form textarea:focus {
  caret-color: var(--text);
  border-color: var(--lavender);
  box-shadow:
    0 0 0 3px rgba(183, 163, 196, 0.18);
}

/* =========================================
   OPCJE ODPOWIEDZI
   ========================================= */

#rsvp-form label.rsvp-choice {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;

  width: 100%;
  max-width: 100%;
  min-width: 0;

  min-height: 68px;
  margin: 9px 0;
  padding: 16px 22px;

  border: 1px solid var(--lavender-light);
  border-radius: 14px;

  background: var(--surface);
  color: var(--text);

  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 500;
  line-height: 1.4;
  text-align: left !important;

  cursor: pointer;

  transition:
    background-color 0.2s ease,
    border-color 0.2s ease;
}

/* TEKST ODPOWIEDZI */

#rsvp-form .rsvp-choice .choice-text {
  display: block;
  flex: 1;
  min-width: 0;

  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 500;
  line-height: 1.4;

  text-align: left !important;
}

/* KÓŁKA I CHECKBOXY PO PRAWEJ */

#rsvp-form .rsvp-choice input[type="radio"],
#rsvp-form .rsvp-choice input[type="checkbox"] {
  appearance: auto;
  -webkit-appearance: auto;

  display: block;
  flex: 0 0 20px !important;

  width: 20px !important;
  height: 20px !important;
  min-width: 20px !important;
  min-height: 20px !important;

  margin: 0 0 0 18px !important;
  padding: 0 !important;

  accent-color: #9a82aa;
  cursor: pointer;
}

/* NAJECHANIE MYSZKĄ */

#rsvp-form .rsvp-choice:hover {
  border-color: var(--lavender);
  background: #faf7fb;
}

/* WYBRANA ODPOWIEDŹ */

#rsvp-form .rsvp-choice:has(input:checked) {
  border-color: var(--lavender);
  background: var(--lavender-bg);
}

/* =========================================
   PYTANIA WARUNKOWE
   ========================================= */

#attending-fields {
  width: 100%;
  min-width: 0;
}

/* Odstępy między kolejnymi pytaniami */

#attending-fields:not([hidden]) {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* Ukrywanie nieaktywnych pól */

#rsvp-form [hidden] {
  display: none !important;
}

/* PARTNER */

#partner-field {
  margin-bottom: 14px;
}

#partner-field input {
  width: 100%;
}

/* DZIECI */

#children-field {
  width: 100%;
}

#children-names {
  display: grid;
  gap: 16px;
  margin-top: 20px;
}

.rsvp-child-name {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rsvp-child-name label {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 600;
}

#children-names input {
  width: 100%;
}

/* =========================================
   MENU
   ========================================= */

#menu-fields {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.rsvp-menu-person {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.rsvp-menu-person label {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 600;
  text-align: left;
}

.rsvp-menu-person input[type="text"] {
  margin-top: 8px;
}

/* PODPISY POMOCNICZE */

.rsvp-help {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.5;
}

/* =========================================
   PRZYCISK
   ========================================= */

#rsvp-form button[type="submit"],
#rsvp-form .rsvp-submit {
  width: 100%;

  min-height: 60px;
  margin-top: 12px;
  padding: 16px 24px;

  border: none;
  border-radius: 12px;

  background: var(--sage-dark);
  color: #ffffff;

  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;

  cursor: pointer;

  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
}

#rsvp-form button[type="submit"]:hover {
  background: #5d6b58;
  transform: translateY(-1px);
}

#rsvp-form button[type="submit"]:focus-visible {
  outline: 3px solid var(--lavender);
  outline-offset: 3px;
}

#rsvp-form button[type="submit"]:disabled {
  opacity: 0.7;
  cursor: default;
  transform: none;
}

/* =========================================
   KOMUNIKATY I PODSUMOWANIE
   ========================================= */

#form-message {
  text-align: center;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--sage-dark);
  margin: 10px 0;
}

#rsvp-summary {
  margin-top: 30px;
  padding: 28px;

  background: var(--lavender-bg);
  border: 1px solid var(--lavender-light);
  border-radius: 18px;
}

#rsvp-summary h3 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 600;
  margin: 0 0 16px;
  text-align: center;
}

#rsvp-summary p {
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.8;
  margin: 10px 0;
}

/* =========================================
   RESPONSYWNOŚĆ
   ========================================= */

@media (max-width: 768px) {

  main,
  #quarto-content main {
    padding: 25px 16px;
  }

  .rsvp-card {
    padding: 32px 24px;
    border-radius: 20px;
  }

  .rsvp-card h2 {
    font-size: 2.3rem;
  }

  #rsvp-form .rsvp-field > label:not(.rsvp-choice),
  #rsvp-form fieldset > legend,
  #rsvp-form .rsvp-field > h3 {
    font-size: 1.6rem;
  }

}

@media (max-width: 480px) {

  main,
  #quarto-content main {
    padding: 20px 12px;
  }

  .rsvp-card {
    padding: 26px 18px;
    border-radius: 18px;
  }

  #rsvp-form {
    gap: 24px;
  }

  #attending-fields:not([hidden]) {
    gap: 24px;
  }

  #rsvp-form label.rsvp-choice {
    min-height: 62px;
    padding: 13px 15px;
    font-size: 1.3rem;
  }

  #rsvp-form .rsvp-choice .choice-text {
    font-size: 1.3rem;
  }

  #rsvp-form .rsvp-field > label:not(.rsvp-choice),
  #rsvp-form fieldset > legend,
  #rsvp-form .rsvp-field > h3 {
    font-size: 1.5rem;
  }

  #rsvp-form .rsvp-choice input[type="radio"],
  #rsvp-form .rsvp-choice input[type="checkbox"] {
    margin-left: 12px !important;
  }

  #rsvp-summary {
    padding: 20px;
  }

}

/* DOSTĘPNOŚĆ - OGRANICZENIE ANIMACJI */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* STRONA GŁÓWNA I NAWIGACJA MIĘDZY PODSTRONAMI */

#title-block-header { display: none; }

.site-header {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 22px 48px;
  border-bottom: 1px solid rgba(183, 163, 196, 0.25);
}

.site-monogram {
  color: var(--text);
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 2rem;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.site-monogram span {
  color: var(--sage-dark);
  font-size: 0.7em;
  padding: 0 4px;
}

.desktop-navigation { display: flex; align-items: center; gap: 27px; }
.desktop-navigation a {
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 500;
  text-decoration: none;
  padding: 10px 0;
}
.desktop-navigation a:hover { color: var(--sage-dark); }
.desktop-navigation .navigation-rsvp {
  color: var(--sage-dark);
  border: 1px solid var(--sage);
  border-radius: 999px;
  padding: 9px 20px;
}
.mobile-navigation { display: none; }

main.home-main {
  max-width: none;
  margin: 0 auto;
  padding: 0;
}

.home-cover {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 780px;
  display: grid;
  place-items: center;
  background: #fcfaf7;
}

.home-florals {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: url('../images/kwiatowa-rama.webp') left top / auto 650px no-repeat;
  mask-image: radial-gradient(ellipse 65% 80% at top left, #000 35%, transparent 85%);
}
main.home-main { position: relative; isolation: isolate; padding-bottom: 300px; background: #fcfaf7; }
.home-main::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: 0;
  right: 0;
  bottom: 0;
  height: 280px;
  background: url('../images/kwiatowa-rama.webp') right bottom / auto 740px no-repeat;
  mask-image: linear-gradient(transparent, #000 50%);
  pointer-events: none;
}
body:has(.home-main) > .site-footer { display: none; }

.home-cover-content {
  width: 100%;
  max-width: 700px;
  text-align: center;
  padding: 36px 24px 54px;
}

body:has(.home-main) > .site-header { display: none; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.couple-names .original-lettering {
  display: block;
  width: 66%;
  max-width: 405px;
  height: auto;
  margin: 0 auto;
}

.home-eyebrow {
  margin: 0 0 24px;
  color: var(--sage-dark);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  letter-spacing: 0.3em;
}

.couple-names {
  font-family: var(--font-script);
  font-size: clamp(6rem, 10vw, 8.6rem);
  font-weight: 400;
  line-height: 1;
  margin: 0;
  color: #272329;
}
.couple-names > span { display: block; }
.couple-names .couple-ampersand {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 0.32em;
  line-height: 0.85;
  color: var(--sage-dark);
  margin: -2px 0 7px;
}

.home-invitation {
  margin: 20px 0 0;
  font-family: var(--font-heading);
  font-size: clamp(1.55rem, 2.8vw, 2rem);
  line-height: 1.3;
}
.home-date {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.2;
  letter-spacing: 0.09em;
  margin: 28px 0 24px;
}
.home-date span { color: var(--lavender); }

.home-quote {
  position: relative;
  padding: 0;
  margin: 32px auto 0;
  max-width: 580px;
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-style: italic;
  line-height: 1.45;
}
.home-quote p { margin: 0; line-height: inherit; }
.home-quote cite {
  display: block;
  margin-top: 16px;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.25em;
}

.home-rsvp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 50px;
  margin-top: 0;
  padding: 14px 30px;
  background: var(--sage-dark);
  border: 1px solid var(--sage-dark);
  border-radius: 999px;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
}
.home-rsvp span { font-size: 1.3rem; line-height: 1; }
.home-rsvp:hover { background: #56664f; }
.home-deadline { color: var(--muted); font-size: 0.7rem; margin: 12px 0 0; }

.home-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 1060px;
  margin: 28px auto 0;
  padding: 0 32px;
}
.home-links > a {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  min-height: 112px;
  padding: 20px 42px 20px 24px;
  border: 1px solid var(--lavender-light);
  border-radius: 10px;
  background: rgba(255, 253, 251, 0.7);
  color: var(--text);
  text-decoration: none;
}
.home-links > a:hover { background: var(--lavender-bg); border-color: var(--lavender); }
.home-link-title { font-family: var(--font-heading); font-size: 1.6rem; line-height: 1.15; }
.home-link-detail { color: var(--muted); font-size: 0.7rem; }
.home-link-arrow { position: absolute; top: 21px; right: 18px; color: var(--sage-dark); }

main.wedding-page {
  max-width: 920px;
  min-height: calc(100svh - 220px);
  margin: 0 auto;
  padding: 36px 24px 30px;
}
.page-heading { text-align: center; padding: 12px 0 8px; }
.page-heading > p { margin: 0 0 14px; color: var(--sage-dark); font-size: 0.68rem; letter-spacing: 0.22em; }
.page-heading > h1 {
  margin: 0 0 28px;
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 3.4rem);
  font-weight: 500;
  line-height: 1.2;
}
.wedding-page .venue-section { margin: 16px auto 28px; }
.event-time {
  font-family: var(--font-body);
  font-weight: 400;
  font-variant-numeric: lining-nums tabular-nums;
  font-size: 5.3rem;
  line-height: 1;
  text-align: center;
  color: var(--sage-dark);
  margin: 16px 0 12px;
}
time[datetime*="T"], .home-link-detail {
  font-family: var(--font-body);
  font-variant-numeric: lining-nums tabular-nums;
}
.event-date {
  text-align: center;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--muted);
  margin: 0 0 30px;
}
.afterparty-intro { text-align: center; margin: 24px auto; max-width: 520px; }
.guest-parking-note { max-width: 700px; margin: 24px auto; text-align: center; color: var(--muted); font-size: 0.9rem; }
.page-next { display: block; width: fit-content; margin: 32px auto 8px; padding: 12px 0; text-align: center; color: var(--sage-dark); text-underline-offset: 5px; }
.page-next span { margin-left: 8px; }
.rsvp-page .rsvp-section { margin-top: 12px; }

.site-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 36px 24px;
  margin: 18px auto 0;
  color: var(--muted);
}
.site-footer a { color: var(--sage-dark); text-decoration: none; font-family: var(--font-heading); font-style: italic; font-size: 1.3rem; }
.site-footer span { font-size: 0.68rem; }
.site-header a:focus-visible,
.site-header summary:focus-visible,
.home-main a:focus-visible,
.page-next:focus-visible,
.site-footer a:focus-visible { outline: 3px solid var(--lavender); outline-offset: 5px; }

@media (max-width: 760px) {
  .site-header { padding: 18px 24px; }
  .desktop-navigation { display: none; }
  .mobile-navigation { display: block; position: relative; }
  .mobile-navigation summary { display: flex; gap: 14px; align-items: center; min-height: 44px; padding: 8px; cursor: pointer; list-style: none; color: var(--sage-dark); font-size: 0.8rem; }
  .mobile-navigation summary::-webkit-details-marker { display: none; }
  .mobile-navigation nav { position: absolute; top: calc(100% + 8px); right: 0; width: 245px; padding: 12px; background: var(--surface); border: 1px solid var(--lavender-light); border-radius: 12px; box-shadow: 0 14px 40px rgba(57, 51, 54, 0.1); }
  .mobile-navigation nav a { display: block; padding: 12px; color: var(--text); text-decoration: none; font-size: 0.85rem; }
  .mobile-navigation nav a:hover { background: var(--lavender-bg); border-radius: 6px; }
  .home-cover { min-height: 0; }
  main.home-main { padding-bottom: 195px; }
  .home-main::after { height: 170px; background-size: auto 400px; }
  .home-florals { background: none; mask-image: none; }
  .home-florals::before,
  .home-florals::after {
    content: "";
    position: absolute;
    inset-inline: 0;
    height: 50%;
    background: url('../images/kwiatowa-rama.webp') no-repeat;
    background-size: auto 100%;
  }
  .home-florals::before {
    top: 0;
    background-position: left top;
    mask-image: radial-gradient(ellipse 90% 100% at top left, #000 40%, transparent 95%);
  }
  .home-florals::after {
    content: none;
  }
  .home-cover-content { padding: 90px 24px 24px; }
  .home-eyebrow { font-size: 0.75rem; letter-spacing: 0.24em; margin-bottom: 28px; }
  .couple-names { font-size: clamp(5.6rem, 18vw, 7rem); }
  .home-date { margin-top: 28px; font-size: 2.05rem; }
  .home-quote { font-size: 1.35rem; max-width: 440px; }
  .quote-break { display: none; }
  .home-links { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 0 18px; gap: 12px; margin-top: 22px; }
  .home-links > a { padding: 18px 24px 18px 16px; min-height: 110px; }
  .home-link-title { font-size: 1.25rem; }
  .home-link-detail { font-size: 0.62rem; }
  .home-link-arrow { right: 10px; top: 15px; font-size: 0.75rem; }
  main.wedding-page { padding: 28px 16px; }
  .event-time { font-size: 4.5rem; }
  .site-footer { gap: 14px; padding: 28px 16px; }
}
