:root {
  --olive-900: #344238;
  --olive-700: #5f6f62;
  --text: #2b2420;
  --muted: #6f655e;
  --line: rgba(52, 66, 56, 0.12);
  --shadow: 0 18px 50px rgba(43, 36, 32, 0.08);
  --rose: #d8b0b3;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  color: var(--text);
  background: linear-gradient(180deg, #fcf9f4 0%, #f4ece2 100%);
  line-height: 1.92;
  font-size: 20px;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.section {
  padding: 96px 0;
}

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 1.18rem;
  font-family: Inter, sans-serif;
  color: var(--rose);
  margin-bottom: 14px;
}

.title {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.1rem, 4vw, 3.6rem);
  line-height: 0.96;
  margin: 0 0 16px;
  color: var(--olive-900);
  font-weight: 600;
}

.lead,
.sub,
.story p,
.mini p,
.timeline li {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.22rem;
  line-height: 1.9;
  color: var(--muted);
  margin-bottom: 26px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 60px;
  padding: 0 28px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-family: Inter, sans-serif;
  transition:
    0.25s ease,
    transform 0.25s ease;
  cursor: pointer;
  font-size: 1.03rem;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary-navbar {
  background: transparent;
  color: var(--olive-900);
  border: 2px solid var(--olive-700);
  box-shadow: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--olive-900), var(--olive-700));
  color: #fff;
  border: 1px solid transparent;
  box-shadow: 0 12px 30px rgba(52, 66, 56, 0.18);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.72);
  border-color: var(--line);
  color: var(--olive-900);
}

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(252, 249, 244, 0.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(52, 66, 56, 0.1);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  position: relative;
}

.brand {
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--olive-900);
}

.menu {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: flex-end;
  font-family: Inter, sans-serif;
}

.menu a {
  color: var(--muted);
  font-size: 1.35rem;
  font-weight: 500;
}

.menu a:hover {
  color: var(--olive-900);
}

.burger {
  display: none;
  background: none;
  border: 0;
  color: var(--olive-900);
  font-size: 1.8rem;
}

.hero {
  min-height: 100svh;
  position: relative;
  display: grid;
  align-items: center;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(252, 249, 244, 0.18),
      rgba(252, 249, 244, 0.36)
    ),
    linear-gradient(135deg, rgba(52, 66, 56, 0.12), rgba(52, 66, 56, 0.03)),
    url("assets/images/arch.png") center center / cover no-repeat;
  transform: scale(1.03);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at center,
    rgba(252, 249, 244, 0.02),
    rgba(252, 249, 244, 0.22) 70%,
    rgba(252, 249, 244, 0.38) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 140px 0 96px;
  text-align: center;
  max-width: 980px;
}

.names {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(4.4rem, 8.6vw, 7.4rem);
  line-height: 0.86;
  margin: 0 0 18px;
  color: var(--olive-900);
  font-weight: 600;
  text-shadow: 0 2px 10px rgba(255, 255, 255, 0.18);
}

.date {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 3.4vw, 3rem);
  color: var(--rose);
  margin: 0 0 10px;
  font-weight: 600;
}

.sub {
  max-width: 720px;
  margin: 0 auto;
  font-family: Inter, sans-serif;
  font-size: 1.5rem;
  line-height: 1.7;
  color: var(--olive-900);
}

.hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 28px;
}

.hero .btn {
  min-height: 60px;
  padding: 0 28px;
  font-size: 1.03rem;
}

.frame {
  background: #fffdf9;
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.pad {
  padding: 38px;
}

.intro-band .frame {
  position: relative;
  overflow: hidden;
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
  margin-bottom: 80px;
}

.intro-band .frame::before {
  display: none;
}

.intro-band .eyebrow {
  font-size: 1.18rem;
  letter-spacing: 0.24em;
  margin-bottom: 30px;
}

.intro-band .title {
  font-style: italic;
  font-size: clamp(1.6rem, 2.6vw, 2.3rem);
  line-height: 1.05;
}

.intro-band .lead {
  max-width: 900px;
  font-style: italic;
  font-size: 1.6rem;
  line-height: 2;
}

.story-grid {
  display: grid;
  gap: 28px;
}

.profile-row {
  display: grid;
  grid-template-columns: 320px 1fr;
  align-items: center;
  gap: 44px;
  margin-top: 26px;
  position: relative;
}

.profile-row-right {
  grid-template-columns: 1fr 320px;
}

.profile-row::before {
  content: "";
  position: absolute;
  inset: -14px 0 auto 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(52, 66, 56, 0.15),
    transparent
  );
}

.profile-shape {
  width: 320px;
  height: 390px;
  margin: auto;
  position: relative;
  overflow: hidden;
  background: #f3f1ea;
  border: 1px solid rgba(96, 111, 98, 0.42);
  border-radius: 58% 42% 57% 43% / 46% 55% 45% 54%;
  box-shadow: 0 20px 60px rgba(43, 36, 32, 0.1);
  animation: blobFloat 7s ease-in-out infinite;
}

.profile-row-right .profile-shape {
  animation-delay: 1.2s;
}

.profile-shape::after {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: inherit;
  border: 1px solid rgba(52, 66, 56, 0.18);
  pointer-events: none;
}

.profile-shape img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: saturate(0.96) contrast(0.98);
  transform: scale(1.02);
}

.profile-copy {
  max-width: 560px;
  position: relative;
  padding: 14px 10px;
}

.profile-row-left .profile-copy {
  justify-self: start;
  text-align: left;
}

.profile-row-right .profile-copy {
  justify-self: end;
  text-align: left;
}

.profile-copy h3 {
  margin: 0 0 16px;
  font-family: "Cormorant Garamond", serif;
  font-size: 3.8rem;
  line-height: 0.9;
  color: var(--olive-900);
  font-style: italic;
}

.profile-copy p {
  margin: 0;
  font-family: Inter, sans-serif;
  font-size: 1.5rem;
  line-height: 1.9;
  color: var(--muted);
  max-width: 460px;
}
.eyebrow {
  font-size: 1.18rem;
}
@media (max-width: 960px) {
  .menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    flex-direction: column;
    align-items: flex-start;
    padding: 16px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(52, 66, 56, 0.1);
    border-radius: 18px;
    box-shadow: 0 18px 50px rgba(43, 36, 32, 0.1);
  }

  .menu.open {
    display: flex;
  }

  .burger {
    display: block;
  }

  .hero-content {
    padding: 130px 0 92px;
  }

  .profile-row,
  .profile-row-right {
    grid-template-columns: 1fr;
  }

  .profile-copy,
  .profile-row-right .profile-copy,
  .profile-row-left .profile-copy {
    justify-self: stretch;
    text-align: center;
    max-width: none;
  }

  .profile-shape {
    width: min(320px, 86vw);
    height: min(390px, 88vw);
  }
}
@media (max-width: 720px) {
  body {
    font-size: 17px;
  }

  .brand {
    font-size: 1.7rem;
  }

  .menu a {
    font-size: 1.1rem;
  }

  .section {
    padding: 74px 0;
  }

  .hero-content {
    padding: 130px 0 92px;
  }

  .names {
    font-size: clamp(3.2rem, 12vw, 4.8rem);
    line-height: 0.9;
  }

  .date {
    font-size: clamp(1.15rem, 4.5vw, 1.5rem);
  }

  .sub,
  .lead,
  .story p,
  .mini p,
  .timeline li,
  .story-text p {
    font-size: 1rem;
    line-height: 1.75;
  }

  .title {
    font-size: clamp(1.5rem, 5.2vw, 2rem);
    line-height: 1.05;
  }

  .intro-band .eyebrow {
    font-size: 0.82rem;
    margin-bottom: 18px;
    letter-spacing: 0.24em;
  }

  .intro-band .lead {
    font-size: 1rem;
    line-height: 1.75;
  }

  .profile-copy h3 {
    font-size: clamp(1.8rem, 7vw, 2.4rem);
  }

  .profile-copy p {
    font-size: 1rem;
    line-height: 1.75;
  }
}

@keyframes blobFloat {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-10px) rotate(1.2deg);
  }
}
.story {
  padding: 110px 0;
  background: #f7f0e8;
}

.story .container {
  width: min(1360px, calc(100% - 32px));
  margin: 0 auto;
}

.story-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px minmax(0, 1fr);
  align-items: center;
  column-gap: 84px;
}

.story-text {
  min-width: 0;
}

.story-text.left {
  text-align: right;
  justify-self: end;
}

.story-text.right {
  text-align: left;
  justify-self: start;
}

.story-photos {
  position: relative;
  width: 420px;
  height: 560px;
  justify-self: center;
}

.story-photo {
  position: absolute;
  left: 0;
  width: 100%;
  height: 280px;
  object-fit: cover;
  background: #fff;
  border: 12px solid #fff;
  box-shadow: 0 14px 34px rgba(43, 36, 32, 0.12);
}

.photo-top {
  top: 0;
  transform: rotate(-4deg);
}

.photo-bottom {
  bottom: 0;
  transform: rotate(4deg);
}

.story-text h3 {
  margin: 0 0 16px;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.4rem, 4.2vw, 3.4rem);
  line-height: 0.95;
  font-style: italic;
  color: var(--olive-900);
}

.story-text p {
  margin: 0;
  font-family: Inter, sans-serif;
  font-size: 1.5rem;
  line-height: 1.9;
  color: var(--muted);
  max-width: 500px;
}

.story-text.left p {
  margin-left: auto;
}

@media (max-width: 1100px) {
  .story-row {
    grid-template-columns: minmax(0, 1fr) 360px minmax(0, 1fr);
    column-gap: 48px;
  }

  .story-photos {
    width: 360px;
    height: 500px;
  }

  .story-photo {
    height: 250px;
  }
}

@media (max-width: 900px) {
  .story-row {
    grid-template-columns: 1fr;
    row-gap: 28px;
  }

  .story-text.left,
  .story-text.right {
    text-align: center;
    justify-self: center;
  }

  .story-photos {
    width: min(360px, 100%);
    height: 470px;
  }

  .story-text p {
    max-width: none;
    margin-left: 0;
  }
}

@media (max-width: 720px) {
  .story {
    padding: 78px 0;
  }

  .story-row {
    row-gap: 20px;
  }

  .story-photos {
    width: min(320px, 100%);
    height: 410px;
  }

  .story-photo {
    height: 220px;
    border-width: 10px;
  }

  .story-text h3 {
    font-size: clamp(2.1rem, 7vw, 2.7rem);
  }

  .story-text p {
    font-size: 1.05rem;
    line-height: 1.75;
  }
}
#schedule.section {
  padding: 110px 0;
  background: #f7f0e8;
}

#schedule .container {
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
}

#schedule .eyebrow {
  margin: 0 0 10px;
  font-family: Inter, sans-serif;
  font-size: 1.18rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--rose);
}

#schedule .title {
  margin: 0 0 34px;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 0.9;
  font-style: italic;
  color: var(--olive-900);
}

#schedule .timeline {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 18px;
}

#schedule .timeline li {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 26px;
  align-items: start;
  padding: 18px 0;
  border-bottom: 1px solid rgba(140, 124, 116, 0.18);
}

#schedule .timeline li:last-child {
  border-bottom: 0;
}

#schedule .time {
  font-family: Inter, sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--olive-900);
}

#schedule .timeline span:last-child {
  font-family: Inter, sans-serif;
  font-size: 1.5rem;
  line-height: 1.8;
  color: var(--muted);
}

@media (max-width: 720px) {
  #schedule.section {
    padding: 78px 0;
  }

  #schedule .title {
    margin-bottom: 26px;
  }

  #schedule .timeline li {
    grid-template-columns: 86px 1fr;
    gap: 18px;
    padding: 16px 0;
  }

  #schedule .time {
    font-size: 0.98rem;
  }

  #schedule .timeline span:last-child {
    font-size: 1rem;
    line-height: 1.7;
  }
}
#location.section,
#dress.section {
  padding: 104px 0;
  background: #f7f0e8;
}

#location .container,
#dress .container {
  width: min(1140px, calc(100% - 32px));
  margin: 0 auto;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 42px;
}

.mini {
  background: rgba(255, 255, 255, 0.38);
  border: 1px solid rgba(140, 124, 116, 0.14);
  padding: 42px 36px;
  box-shadow: 0 14px 34px rgba(43, 36, 32, 0.06);
}

.mini .eyebrow {
  margin: 0 0 14px;
  font-family: Inter, sans-serif;
  font-size: 0.96rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #a88f85;
}

.mini h3 {
  margin: 0 0 16px;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.5rem, 4.8vw, 3.6rem);
  line-height: 0.92;
  font-style: italic;
  color: var(--olive-900);
}

.mini p {
  margin: 0;
  font-family: Inter, sans-serif;
  font-size: 1.18rem;
  line-height: 1.95;
  color: var(--muted);
  max-width: 560px;
}

@media (max-width: 900px) {
  .info-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .mini {
    padding: 32px 26px;
  }

  .mini p {
    max-width: none;
  }
}

@media (max-width: 720px) {
  #location.section,
  #dress.section {
    padding: 78px 0;
  }

  .mini {
    padding: 28px 22px;
  }

  .mini h3 {
    font-size: clamp(2.15rem, 7vw, 2.9rem);
  }

  .mini p {
    font-size: 1.05rem;
    line-height: 1.75;
  }
}
#location.section,
#dress.section {
  padding: 72px 0;
  background: linear-gradient(180deg, #f7f0e8 0%, #f3e7dd 100%);
}

#location.section {
  padding-bottom: 42px;
}

#dress.section {
  padding-top: 42px;
}

#location .container,
#dress .container {
  width: min(1140px, calc(100% - 32px));
  margin: 0 auto;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.mini {
  position: relative;
  overflow: hidden;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.72),
    rgba(255, 248, 243, 0.9)
  );
  border: 1px solid rgba(168, 143, 133, 0.18);
  border-radius: 22px;
  padding: 36px 32px 34px;
  box-shadow: 0 16px 38px rgba(43, 36, 32, 0.08);
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    border-color 0.28s ease;
}

.mini::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at top right,
      rgba(170, 191, 159, 0.18),
      transparent 42%
    ),
    radial-gradient(
      circle at bottom left,
      rgba(214, 171, 163, 0.16),
      transparent 40%
    );
  pointer-events: none;
}

.mini::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, #9fb38c, #d9b2a6, #ead7b6);
}

.mini:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 46px rgba(43, 36, 32, 0.12);
  border-color: rgba(168, 143, 133, 0.28);
}

.mini .eyebrow {
  position: relative;
  z-index: 1;
  display: inline-block;
  margin: 0 0 14px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(159, 179, 140, 0.16);
  font-family: Inter, sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #7f9a71;
}

.mini h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 16px;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.45rem, 4.6vw, 3.55rem);
  line-height: 0.92;
  font-style: italic;
  color: var(--olive-900);
}

.mini p {
  position: relative;
  z-index: 1;
  margin: 0;
  font-family: Inter, sans-serif;
  font-size: 1.12rem;
  line-height: 1.9;
  color: var(--muted);
  max-width: 560px;
}

@media (max-width: 900px) {
  .info-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .mini {
    padding: 30px 24px;
  }

  .mini p {
    max-width: none;
  }
}

@media (max-width: 720px) {
  #location.section,
  #dress.section {
    padding: 56px 0;
  }

  #location.section {
    padding-bottom: 28px;
  }

  #dress.section {
    padding-top: 28px;
  }

  .mini {
    padding: 26px 20px;
    border-radius: 18px;
  }

  .mini h3 {
    font-size: clamp(2.05rem, 7vw, 2.8rem);
  }

  .mini p {
    font-size: 1.02rem;
    line-height: 1.75;
  }
}
#location.section {
  padding: 72px 0 28px;
  background: linear-gradient(180deg, #f7f0e8 0%, #f3e7dd 100%);
}

#dress.section {
  padding: 28px 0 72px;
  background: linear-gradient(180deg, #f3e7dd 0%, #f7f0e8 100%);
}

#location .container,
#dress .container {
  width: min(1140px, calc(100% - 32px));
  margin: 0 auto;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.mini {
  position: relative;
  overflow: hidden;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.78),
    rgba(255, 250, 246, 0.92)
  );
  border: 1px solid rgba(168, 143, 133, 0.18);
  border-radius: 22px;
  padding: 36px 32px 34px;
  box-shadow: 0 16px 38px rgba(43, 36, 32, 0.08);
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    border-color 0.28s ease;
}

.mini::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at top right,
      rgba(170, 191, 159, 0.16),
      transparent 42%
    ),
    radial-gradient(
      circle at bottom left,
      rgba(214, 171, 163, 0.14),
      transparent 40%
    );
  pointer-events: none;
}

.mini::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, #9fb38c, #d9b2a6, #ead7b6);
}

.mini:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 46px rgba(43, 36, 32, 0.12);
  border-color: rgba(168, 143, 133, 0.28);
}

.mini .eyebrow {
  position: relative;
  z-index: 1;
  display: inline-block;
  margin: 0 0 14px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(159, 179, 140, 0.16);
  font-family: Inter, sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #7f9a71;
}

.mini h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 16px;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.45rem, 4.6vw, 3.55rem);
  line-height: 0.92;
  font-style: italic;
  color: var(--olive-900);
}

.mini p {
  position: relative;
  z-index: 1;
  margin: 0;
  font-family: Inter, sans-serif;
  font-size: 1.12rem;
  line-height: 1.9;
  color: var(--muted);
  max-width: 560px;
}

@media (max-width: 900px) {
  .info-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .mini {
    padding: 30px 24px;
  }

  .mini p {
    max-width: none;
  }
}

@media (max-width: 720px) {
  #location.section {
    padding: 56px 0 24px;
  }

  #dress.section {
    padding: 24px 0 56px;
  }

  .mini {
    padding: 26px 20px;
    border-radius: 18px;
  }

  .mini h3 {
    font-size: clamp(2.05rem, 7vw, 2.8rem);
  }

  .mini p {
    font-size: 1.02rem;
    line-height: 1.75;
  }
}
#gallery.section {
  padding: 92px 0 100px;
  background: linear-gradient(180deg, #f7f0e8 0%, #f3e7dd 100%);
}

#gallery .container {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
}

#gallery .gallery-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 34px;
}

#gallery .eyebrow {
  margin: 0 0 10px;
  font-family: Inter, sans-serif;
  font-size: 1.18rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--rose);
}

#gallery .title {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(3rem, 5.8vw, 5rem);
  line-height: 0.9;
  font-style: italic;
  color: var(--olive-900);
  max-width: 10ch;
}

#gallery .lead {
  margin: 0;
  max-width: 390px;
  font-family: Inter, sans-serif;
  font-size: 1.08rem;
  line-height: 1.85;
  color: var(--muted);
}

#gallery .gallery-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.9fr;
  grid-template-rows: 320px 320px;
  gap: 22px;
}

#gallery .thumb {
  margin: 0;
  overflow: hidden;
  border-radius: 22px;
  box-shadow: 0 18px 42px rgba(43, 36, 32, 0.1);
  border: 1px solid rgba(168, 143, 133, 0.14);
  background: #fff;
  position: relative;
  transform: translateZ(0);
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease;
}

#gallery .thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.05),
    rgba(0, 0, 0, 0.03)
  );
  pointer-events: none;
}

#gallery .thumb:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px rgba(43, 36, 32, 0.14);
}

#gallery .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

#gallery .thumb:nth-child(1) {
  grid-column: 1;
  grid-row: 1 / span 2;
}

#gallery .thumb:nth-child(2) {
  grid-column: 2;
  grid-row: 1;
}

#gallery .thumb:nth-child(3) {
  grid-column: 3;
  grid-row: 1;
}

#gallery .thumb:nth-child(4) {
  grid-column: 2 / span 2;
  grid-row: 2;
}

#gallery .thumb:nth-child(5) {
  display: none;
}

#gallery .thumb:nth-child(6) {
  display: none;
}

@media (max-width: 980px) {
  #gallery .gallery-head {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 28px;
  }

  #gallery .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 280px 220px 260px;
  }

  #gallery .thumb:nth-child(1) {
    grid-column: 1 / span 2;
    grid-row: 1;
  }

  #gallery .thumb:nth-child(2) {
    grid-column: 1;
    grid-row: 2;
  }

  #gallery .thumb:nth-child(3) {
    grid-column: 2;
    grid-row: 2;
  }

  #gallery .thumb:nth-child(4) {
    grid-column: 1 / span 2;
    grid-row: 3;
  }
}

@media (max-width: 720px) {
  #gallery.section {
    padding: 70px 0 78px;
  }

  #gallery .title {
    max-width: none;
  }

  #gallery .lead {
    font-size: 1rem;
    line-height: 1.7;
    max-width: none;
  }

  #gallery .gallery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 16px;
  }

  #gallery .thumb:nth-child(1),
  #gallery .thumb:nth-child(2),
  #gallery .thumb:nth-child(3),
  #gallery .thumb:nth-child(4) {
    grid-column: auto;
    grid-row: auto;
    min-height: 220px;
  }

  #gallery .thumb:nth-child(1) {
    min-height: 320px;
  }

  #gallery .thumb:nth-child(4) {
    min-height: 260px;
  }
}
#rsvp.section {
  padding: 92px 0;
  background: linear-gradient(180deg, #f7f0e8 0%, #f3e7dd 100%);
}

#rsvp .container.split {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 28px;
  align-items: stretch;
}

#rsvp .frame {
  position: relative;
  overflow: hidden;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.8),
    rgba(255, 250, 246, 0.94)
  );
  border: 1px solid rgba(168, 143, 133, 0.16);
  border-radius: 24px;
  box-shadow: 0 16px 38px rgba(43, 36, 32, 0.08);
}

#rsvp .frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at top right,
      rgba(170, 191, 159, 0.14),
      transparent 40%
    ),
    radial-gradient(
      circle at bottom left,
      rgba(214, 171, 163, 0.12),
      transparent 38%
    );
  pointer-events: none;
}

#rsvp .pad {
  padding: 40px 36px;
}

#rsvp .eyebrow {
  display: inline-block;
  margin: 0 0 14px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(159, 179, 140, 0.16);
  font-family: Inter, sans-serif;
  font-size: 1.18rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #7f9a71;
}

#rsvp .title {
  margin: 0 0 16px;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.6rem, 5vw, 4rem);
  line-height: 0.92;
  font-style: italic;
  color: var(--olive-900);
  max-width: 10ch;
  margin: 0 0 50px;
}

#rsvp .lead {
  margin: 0;
  font-family: Inter, sans-serif;
  font-size: 1.28rem;
  line-height: 1.95;
  color: var(--muted);
  max-width: 42ch;
}

#rsvp .form {
  position: relative;
  z-index: 1;
}

#rsvp .form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 18px;
}

#rsvp .field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

#rsvp label {
  font-family: Inter, sans-serif;
  font-size: 1rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #9a897e;
}

#rsvp input,
#rsvp select,
#rsvp textarea {
  width: 100%;
  border: 1px solid rgba(168, 143, 133, 0.22);
  background: rgba(255, 252, 249, 0.96);
  color: #4e463f;
  border-radius: 14px;
  padding: 14px 16px;
  font-family: Inter, sans-serif;
  font-size: 1.08rem;
  outline: none;
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease;
}

#rsvp input::placeholder,
#rsvp textarea::placeholder {
  color: #b3a7a0;
}

#rsvp input:focus,
#rsvp select:focus,
#rsvp textarea:focus {
  border-color: rgba(127, 154, 113, 0.55);
  box-shadow: 0 0 0 4px rgba(159, 179, 140, 0.16);
}

#rsvp textarea {
  min-height: 150px;
  resize: vertical;
}

#rsvp .switch-field {
  margin-bottom: 18px;
}

#rsvp .switch-group {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

#rsvp .switch-group input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

#rsvp .switch-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  border-radius: 14px;
  border: 1px solid rgba(168, 143, 133, 0.22);
  background: rgba(255, 252, 249, 0.96);
  font-family: Inter, sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
  color: #4e463f;
  cursor: pointer;
  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease,
    color 0.25s ease;
}

#rsvp #yes:checked + .switch-btn {
  background: var(--olive-900);
  border-color: var(--olive-900);
  color: #f7f2ec;
}

#rsvp #no:checked + .switch-btn {
  background: #f1e2da;
  border-color: #d9c4ba;
  color: #4e463f;
}

#rsvp .switch-btn:hover {
  transform: translateY(-1px);
}

#rsvp .btn.btn-primary {
  width: 100%;
  margin-top: 20px;
  border: 0;
  border-radius: 16px;
  padding: 16px 18px;
  background: var(--olive-900);
  color: #f7f2ec;
  font-family: Inter, sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    filter 0.25s ease;
  box-shadow: 0 14px 28px rgba(34, 33, 39, 0.18);
}

#rsvp .btn.btn-primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
}

@media (max-width: 980px) {
  #rsvp .container.split {
    grid-template-columns: 1fr;
  }

  #rsvp .title {
    max-width: none;
  }

  #rsvp .lead {
    max-width: none;
  }
}

@media (max-width: 720px) {
  #rsvp.section {
    padding: 72px 0;
  }

  #rsvp .pad {
    padding: 30px 22px;
  }

  #rsvp .form-row,
  #rsvp .switch-group {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  #rsvp .title {
    font-size: clamp(2.3rem, 8vw, 3rem);
  }

  #rsvp .lead {
    font-size: 1rem;
    line-height: 1.75;
  }
}
.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 54px;
  height: 54px;
  border: 0;
  border-radius: 50%;
  background: var(--rose);
  color: #fffaf6;
  box-shadow: 0 14px 30px rgba(34, 33, 39, 0.18);
  cursor: pointer;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  z-index: 9999;
  display: grid;
  place-items: center;
}

.back-to-top svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
  display: block;
}

.back-to-top:hover {
  background: var(--rose);
}

.thankyou {
  width: 100%;
  text-align: center;
  margin: 0 auto;
  padding: 26px 16px 20px;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-style: italic;
  line-height: 1.6;
  color: #736f6d;
  display: block;
  margin-bottom: 50px;
}
.footer {
  min-height: 42vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 0;
  background: linear-gradient(180deg, #f3e7dd 0%, #efe2d6 100%);
  border-top: 1px solid rgba(168, 143, 133, 0.16);
}

.footer-inner {
  width: min(980px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  justify-content: center;
  text-align: center;
}

.footer-brand {
  max-width: 780px;
}

.footer-names {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(3rem, 5vw, 4rem);
  line-height: 0.95;
  font-style: italic;
  color: var(--olive-700);
}

.footer-date {
  margin: 24px 0 0;
  font-family: Inter, sans-serif;
  font-size: 1.7rem;
  line-height: 1.4;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rose);
  font-weight: 600;
}

.footer-contact {
  margin: 26px 0 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  font-family: Inter, sans-serif;
  font-size: 1.4rem;
  line-height: 1.5;
  color: #5b524d;
}

.footer-credit {
  margin: 30px 0 0;
  font-family: Inter, sans-serif;
  font-size: 1.5rem;
  line-height: 1.5;
  letter-spacing: 0.04em;
  color: #736f6d;
}
