@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500;600&family=Space+Grotesk:wght@400;500;600&display=swap');

:root {
  --cream: #f7f3ec;
  --rose: #c77d7a;
  --ink: #1e1b18;
  --sage: #8da7a7;
  --sand: #d8c8b6;
  --accent: #f5a068;
  --deep: #332a24;
  --forest: #3f4f3f;
  --olive: #b9c89c;
  --linen: #efe3cf;
  --glass: rgba(255, 255, 255, 0.8);
  --shadow: 0 20px 60px rgba(22, 19, 15, 0.12);
  font-family: 'Space Grotesk', system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 10% 15%, rgba(245, 160, 104, 0.18), transparent 35%),
    radial-gradient(circle at 90% 10%, rgba(141, 167, 167, 0.2), transparent 35%),
    linear-gradient(180deg, #fffdfa 0%, #f6f0e9 42%, #ede0d1 100%);
  color: var(--ink);
  min-height: 100vh;
}

.splash-screen {
  position: fixed;
  inset: 0;
  background: linear-gradient(120deg, rgba(62, 79, 62, 0.92), rgba(86, 108, 86, 0.92)),
    url("/static/images/hero-1.jpg") center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
  color: #f6efe2;
  text-align: center;
}

.splash-screen.hidden {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s ease;
}

.splash-card {
  background: rgba(20, 25, 20, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 1.6rem;
  padding: 2.5rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
  max-width: 520px;
}

.splash-card h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  margin: 0.6rem 0;
}

.splash-skip {
  margin-top: 1.2rem;
  background: rgba(255, 255, 255, 0.2);
  color: #f6efe2;
  border-color: rgba(255, 255, 255, 0.4);
}

.page-shell {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
}

.hero-header {
  padding-top: 2rem;
  padding-bottom: 1.5rem;
}

.hero-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.hero-header h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 4vw, 3.8rem);
  margin: 0 0 0.5rem 0;
  letter-spacing: 0.02em;
}

.tagline {
  max-width: 440px;
  color: rgba(30, 27, 24, 0.7);
}

.hero-cta {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.main-nav {
  margin-top: 1.5rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding-top: 1rem;
  justify-content: center;
}

.main-nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  opacity: 0.85;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(30, 27, 24, 0.15);
  background: rgba(255, 255, 255, 0.6);
  transition: all 0.2s ease;
}

.main-nav a:hover {
  border-color: rgba(30, 27, 24, 0.3);
  box-shadow: 0 8px 18px rgba(22, 19, 15, 0.12);
}

.nav-toggle {
  display: none;
  margin-top: 1rem;
  border: none;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 999px;
  padding: 0.4rem 1rem;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(22, 19, 15, 0.12);
}

main {
  margin-top: 2rem;
}

.section-heading h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin: 0.2rem 0;
  font-family: 'Playfair Display', serif;
}

.eyebrow {
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-size: 0.65rem;
  color: var(--sage);
  margin-bottom: 0.4rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.panel {
  background: var(--glass);
  padding: 1.6rem;
  border-radius: 1.2rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: var(--shadow);
}

.panel-label {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.7rem;
  margin-bottom: 0.2rem;
  color: var(--rose);
}

.primary,
.ghost {
  border-radius: 999px;
  padding: 0.7rem 1.4rem;
  border: none;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.primary {
  background: linear-gradient(135deg, #c77d7a, #f5a068);
  color: white;
  box-shadow: 0 10px 20px rgba(199, 125, 122, 0.35);
}

.primary:hover,
.ghost:hover {
  transform: translateY(-1px);
}

.ghost {
  border: 1px solid rgba(30, 27, 24, 0.5);
  background: rgba(255, 255, 255, 0.6);
  color: var(--ink);
}

.story-section,
.split-section,
.gallery-teaser,
.cta-section,
.upload-page,
.gallery-page,
.admin-page,
.rsvp-page,
.admin-login {
  margin-top: 3rem;
  background: rgba(255, 255, 255, 0.85);
  padding: 2rem;
  border-radius: 1.5rem;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: var(--shadow);
  animation: fadeIn 0.6s ease;
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.story-grid article {
  padding: 1rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.split-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.timeline {
  display: grid;
  gap: 1rem;
}

.timeline strong {
  display: block;
  font-size: 1rem;
  font-weight: 600;
}

.gallery-grid {
  margin-top: 1.5rem;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(200px, 1fr);
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.5rem;
}

.gallery-card,
.gallery-grid figure {
  min-height: 190px;
  border-radius: 1rem;
  background: linear-gradient(120deg, rgba(199, 125, 122, 0.35), rgba(245, 160, 104, 0.3));
  display: flex;
  align-items: flex-end;
  padding: 1rem;
  color: var(--deep);
  font-weight: 500;
}

.gallery-carousel {
  position: relative;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  font-size: 1.4rem;
  z-index: 2;
}

.carousel-btn.prev {
  left: -10px;
}

.carousel-btn.next {
  right: -10px;
}

.gallery-item {
  background: white;
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 0.8rem;
  display: grid;
  gap: 0.6rem;
  scroll-snap-align: center;
}

.gallery-image {
  width: 100%;
  height: auto;
  max-height: 360px;
  object-fit: contain;
  border-radius: 0.9rem;
}

.gallery-meta {
  font-size: 0.85rem;
  color: rgba(30, 27, 24, 0.6);
}

.meta {
  font-size: 0.85rem;
  color: rgba(30, 27, 24, 0.6);
}

.gallery-placeholder {
  border-radius: 0.9rem;
  min-height: 220px;
  background: linear-gradient(150deg, rgba(199, 125, 122, 0.2), rgba(141, 167, 167, 0.3));
  padding: 1rem;
  display: grid;
  gap: 0.4rem;
  align-content: center;
  text-align: center;
}

.gallery-modal .gallery-image {
  max-height: 70vh;
  background: #f5f0ea;
}

.admin-search {
  display: flex;
  align-items: flex-end;
  gap: 0.8rem;
}

.pagination {
  margin-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.pagination-actions {
  display: flex;
  gap: 0.6rem;
}


.hero-visual {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  align-items: center;
  padding: 2.2rem;
  border-radius: 1.8rem;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: var(--shadow);
}

.hero-visual .lead {
  font-size: 1.05rem;
  color: rgba(30, 27, 24, 0.7);
  max-width: 440px;
}

.hero-images {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
}

.hero-images img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 1.2rem;
  box-shadow: 0 12px 30px rgba(22, 19, 15, 0.15);
}

.hero-cover {
  padding: 3.5rem 2.5rem;
  border-radius: 1.8rem;
  background: linear-gradient(120deg, rgba(62, 79, 62, 0.85), rgba(86, 108, 86, 0.85)),
    url("/static/images/hero-1.jpg") center/cover no-repeat;
  color: #f6efe2;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-cover.intro {
  min-height: 70vh;
  display: flex;
  align-items: flex-end;
  transition: all 0.8s ease;
}

.hero-cover.collapsed {
  min-height: auto;
  padding: 2rem;
  border-radius: 1.2rem;
}

.hero-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.12), transparent 60%);
}

.hero-text {
  position: relative;
  max-width: 520px;
}

.hero-cover h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.6rem, 4vw, 4rem);
  margin: 0.3rem 0;
}

.hero-sub {
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.carousel-section,
.countdown-section,
.info-section,
.program-section,
.faq-section,
.contact-section {
  margin-top: 3rem;
  padding: 2rem;
  border-radius: 1.6rem;
  background: var(--glass);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: var(--shadow);
}

.gallery-tabs {
  margin-top: 3rem;
  padding: 2rem;
  border-radius: 1.6rem;
  background: var(--glass);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: var(--shadow);
}

.tab-buttons {
  display: flex;
  gap: 0.6rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.tab-btn {
  border-radius: 999px;
  border: 1px solid rgba(30, 27, 24, 0.2);
  background: rgba(255, 255, 255, 0.7);
  padding: 0.4rem 1.1rem;
  cursor: pointer;
  font-weight: 600;
}

.tab-btn.active {
  background: linear-gradient(135deg, #c77d7a, #f5a068);
  color: white;
  border-color: transparent;
}

.tab-content {
  display: none;
  margin-top: 1.2rem;
}

.tab-content.active {
  display: block;
}

.thumb-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
}

.thumb {
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.thumb img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  object-position: center 30%;
  border-radius: 1rem;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.thumb.hidden {
  display: none;
}

.view-all {
  margin-top: 1rem;
  display: inline-flex;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 10, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 95;
}

.lightbox.active {
  display: flex;
}

.lightbox-image {
  max-width: 92vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 0.6rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
}

.lightbox-close {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  border: none;
  background: rgba(255, 255, 255, 0.12);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.4rem;
  cursor: pointer;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.12);
  color: white;
  font-size: 1.6rem;
  cursor: pointer;
}

.lightbox-nav.prev {
  left: 1.5rem;
}

.lightbox-nav.next {
  right: 1.5rem;
}

.carousel {
  overflow: hidden;
}

.carousel-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(220px, 1fr);
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.5rem;
}

.carousel-track img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 1.2rem;
  scroll-snap-align: center;
}

.countdown-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  background: var(--forest);
  color: #f4ead8;
}

.countdown-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 1.8rem;
  border-radius: 1.2rem;
  text-align: center;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.countdown-values {
  display: grid;
  grid-template-columns: repeat(4, minmax(60px, 1fr));
  gap: 0.5rem;
  font-family: "Playfair Display", serif;
  font-size: 1.8rem;
}

.countdown-values div {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 0.9rem;
  padding: 0.6rem 0.4rem;
}

.countdown-values small {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.7;
}

.countdown-text h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 3vw, 2.8rem);
  margin-top: 0;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 1.2rem;
}

.info-card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 1rem;
  padding: 1.2rem;
  border: 1px solid rgba(0, 0, 0, 0.05);
  display: grid;
  gap: 0.8rem;
}

.info-card img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  border-radius: 0.9rem;
}

.map-embed {
  width: 100%;
  height: 170px;
  border-radius: 0.9rem;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.program-section {
  background: var(--linen);
}

.program-grid {
  margin-top: 1.2rem;
  display: grid;
  gap: 0.8rem;
}

.program-grid div {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  padding-bottom: 0.6rem;
}

.faq-section {
  background: var(--forest);
  color: #f4ead8;
}

.faq-list {
  margin-top: 1.2rem;
  display: grid;
  gap: 1.2rem;
}

.faq-list h3 {
  margin-bottom: 0.2rem;
}

.contact-section {
  background: #b8d3de;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.entry-modal {
  position: fixed;
  inset: 0;
  background: rgba(24, 24, 24, 0.65);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  z-index: 100;
}

.entry-modal.active {
  display: flex;
}

.entry-modal-card {
  background: white;
  padding: 2rem;
  border-radius: 1.5rem;
  width: min(420px, 100%);
  text-align: center;
  box-shadow: var(--shadow);
  display: grid;
  gap: 1rem;
}

.modal-close {
  width: 100%;
}

.upload-fab {
  position: fixed;
  right: 1.4rem;
  bottom: 1.6rem;
  background: linear-gradient(135deg, #c77d7a, #f5a068);
  color: white;
  border: none;
  border-radius: 999px;
  padding: 0.8rem 1.4rem;
  font-weight: 600;
  box-shadow: 0 16px 35px rgba(199, 125, 122, 0.35);
  cursor: pointer;
  z-index: 120;
}

.upload-modal {
  position: fixed;
  inset: 0;
  background: rgba(24, 24, 24, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  z-index: 95;
}

.upload-modal.active {
  display: flex;
}

.upload-modal-card {
  background: white;
  border-radius: 1.4rem;
  padding: 2.2rem;
  width: min(420px, 100%);
  box-shadow: var(--shadow);
  display: grid;
  gap: 1rem;
  position: relative;
  border: 1px solid rgba(0, 0, 0, 0.08);
  text-align: center;
}

.upload-modal-card h2 {
  margin-top: 0;
}

.upload-modal-card form {
  display: grid;
  gap: 0.8rem;
}

.upload-modal-card .file-control {
  background: rgba(248, 244, 239, 0.9);
  border: 1px dashed rgba(0, 0, 0, 0.2);
}

.modal-x {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  border: none;
  background: rgba(0, 0, 0, 0.08);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  font-size: 1.2rem;
  cursor: pointer;
}

.cta-section {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.cta-buttons {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.rsvp-card,
.upload-form,
.admin-grid,
.admin-invitations,
.print-page {
  margin-top: 1.5rem;
}

.rsvp-card {
  padding: 2rem;
  border-radius: 1.5rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.65));
}

.rsvp-card form label,
.upload-form label,
.invitation-card select,
.invitation-card input,
.login-form label {
  display: block;
  width: 100%;
  margin-top: 0.8rem;
  margin-bottom: 0.6rem;
}

input[type='text'],
input[type='number'],
input[type='password'],
select {
  width: 100%;
  padding: 0.55rem 0.8rem;
  border-radius: 0.7rem;
  border: 1px solid rgba(0, 0, 0, 0.15);
  font-family: inherit;
  background: rgba(255, 255, 255, 0.85);
}

.upload-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.file-control {
  padding: 1rem;
  border-radius: 1rem;
  border: 1px dashed rgba(0, 0, 0, 0.4);
  text-align: center;
}

.file-control input {
  width: auto;
  margin-top: 0.6rem;
}

.stats-grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.stats-grid article {
  padding: 1.2rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

.admin-invitations {
  display: grid;
  gap: 1rem;
}

.admin-photos {
  margin-top: 2.5rem;
}

.photo-grid {
  margin-top: 1.2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
}

.photo-card {
  padding: 0.8rem;
  border-radius: 1rem;
  background: white;
  border: 1px solid rgba(0, 0, 0, 0.08);
  display: grid;
  gap: 0.6rem;
}

.photo-card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 0.8rem;
}

.invitation-card {
  padding: 1.5rem;
  border-radius: 1rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: white;
  display: grid;
  gap: 0.8rem;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.invitation-card.compact {
  padding: 1rem;
  gap: 0.5rem;
}

.invitation-card.compact h3 {
  margin: 0 0 0.3rem 0;
}

.actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.inline {
  display: flex;
  align-items: flex-end;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.card-footer {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.heading-actions {
  margin-top: 0.8rem;
}

.gallery-page figure img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  border-radius: 0.8rem;
}

.flash-row {
  margin-bottom: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.flash {
  padding: 0.8rem 1rem;
  border-radius: 0.7rem;
}

.flash.success {
  background: rgba(0, 128, 79, 0.1);
  color: #085f2a;
}

.flash.error {
  background: rgba(194, 57, 57, 0.15);
  color: #7a1f1f;
}

.site-footer {
  margin-top: 4rem;
  padding: 1.5rem 0 2rem;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.site-footer .footer-links {
  display: flex;
  gap: 1rem;
}

.print-table {
  width: 100%;
  border-collapse: collapse;
}

.print-table th,
.print-table td {
  padding: 0.6rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .hero-grid {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: inline-flex;
    align-self: flex-end;
  }

  .main-nav {
    display: none;
  }

  .main-nav.open {
    display: flex;
  }

  .hero-cover {
    padding: 2.4rem 1.6rem;
  }

  .carousel-track img {
    height: 220px;
  }

  .countdown-values {
    grid-template-columns: repeat(2, 1fr);
  }

  .thumb img {
    height: 150px;
  }

  .gallery-modal-card,
  .upload-modal-card {
    padding: 1.4rem;
    border-radius: 1.2rem;
  }

  .upload-fab {
    right: 1rem;
    bottom: 1rem;
    padding: 0.7rem 1rem;
  }

  .main-nav {
    gap: 0.6rem;
  }

  .hero-images img {
    height: 200px;
  }


  .hero-cta,
  .main-nav,
  .split-section,
  .cta-buttons,
  .actions,
  .inline,
  .site-footer {
    flex-direction: column;
  }

  .page-shell {
    padding: 0 1rem 3rem;
  }

  .panel,
  .story-section,
  .split-section,
  .gallery-teaser,
  .cta-section,
  .upload-page,
  .gallery-page,
  .admin-page,
  .rsvp-page,
  .admin-login {
    padding: 1.5rem;
  }
}
