
:root {
  --bg: #f6f9fc;
  --surface: rgba(255,255,255,0.78);
  --surface-strong: #ffffff;
  --text: #111827;
  --muted: #516174;
  --line: rgba(17,24,39,0.1);
  --blue: #1095e8;
  --green: #06a617;
  --yellow: #f2c800;
  --shadow: 0 20px 60px rgba(17, 24, 39, 0.10);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(16,149,232,0.12), transparent 30%),
    radial-gradient(circle at top right, rgba(6,166,23,0.09), transparent 24%),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; }

.page-shell {
  width: min(1320px, calc(100% - 32px));
  margin: 0 auto;
  padding: 22px 0 40px;
}

.site-header {
  position: sticky;
  top: 14px;
  z-index: 30;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  margin-bottom: 24px;
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(255,255,255,0.85);
  backdrop-filter: blur(18px);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(17,24,39,0.06);
}

.brand img,
.site-footer img {
  height: 104px;
  width: auto;
}

.header-nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.header-link {
  padding: 4px 0;
  color: var(--muted);
  font-weight: 600;
  transition: color .2s ease, opacity .2s ease;
  opacity: 0.9;
}

.header-link:hover,
.header-link:focus-visible {
  color: var(--text);
  opacity: 1;
}

.hero {
  position: relative;
  overflow: hidden;
  border-radius: 36px;
  padding: clamp(28px, 4vw, 50px);
  background: linear-gradient(135deg, rgba(255,255,255,0.88), rgba(255,255,255,0.72));
  box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,0.8);
}

.hero-bg::before,
.hero-bg::after {
  content: '';
  position: absolute;
  border-radius: 999px;
  filter: blur(6px);
  opacity: 0.5;
}

.hero-bg-top::before {
  width: 180px;
  height: 180px;
  background: rgba(16,149,232,0.14);
  top: -40px;
  right: 8%;
}

.hero-bg-top::after {
  width: 220px;
  height: 220px;
  background: rgba(6,166,23,0.12);
  bottom: -80px;
  left: -20px;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(340px, 1.15fr) minmax(300px, 0.85fr);
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
}

.graphic-card {
  padding: 0;
}

.graphic-card img {
  width: 100%;
  height: auto;
}

.eyebrow {
  margin: 0 0 16px;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
}

.hero-content h1,
.section-heading h2,
.thank-you-card h2 {
  margin: 0;
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.hero-content h1 {
  font-size: clamp(2.5rem, 6vw, 5rem);
  max-width: 10ch;
}

.hero-copy,
.section-copy,
.thank-you-card p:last-child {
  color: var(--muted);
  line-height: 1.75;
  font-size: 1.03rem;
}

.hero-copy {
  margin: 22px 0 0;
  max-width: 58ch;
}

.hero-actions {
  margin-top: 28px;
}

.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.primary-button {
  color: #fff;
  background: linear-gradient(135deg, #1095e8, #0d79bc);
  box-shadow: 0 14px 30px rgba(16,149,232,0.22);
}

.primary-button:hover,
.primary-button:focus-visible,
.secondary-button:hover,
.secondary-button:focus-visible {
  transform: translateY(-2px);
}

.memory-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 28px auto 0;
  padding: 18px 24px;
  background: rgba(255,255,255,0.62);
  border: 1px solid rgba(17,24,39,0.05);
  border-radius: 999px;
  width: fit-content;
  max-width: 100%;
  flex-wrap: wrap;
  box-shadow: 0 10px 24px rgba(17,24,39,0.04);
}

.memory-strip p {
  margin: 0;
  font-weight: 700;
  color: var(--muted);
}

.memory-strip span {
  width: 30px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--green), var(--yellow), var(--blue));
}

.gallery-section,
.thank-you-section {
  margin-top: 48px;
}


.section-heading {
  display: block;
  margin-bottom: 28px;
}

.section-heading h2,
.thank-you-card h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.section-copy {
  margin: 0;
  max-width: 46ch;
}

.gallery-root {
  column-count: var(--gallery-cols-desktop, 5);
  column-gap: 16px;
}

.gallery-item {
  position: relative;
  display: inline-block;
  width: 100%;
  margin: 0 0 16px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  overflow: hidden;
  cursor: pointer;
  text-align: left;
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  border-radius: 22px;
}

.gallery-media {
  display: block;
  overflow: hidden;
  border-radius: 22px;
  background: #eaf0f5;
}

.gallery-media img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform .35s ease, filter .35s ease;
}

.gallery-item:hover .gallery-media img,
.gallery-item:focus-visible .gallery-media img {
  transform: scale(1.025);
  filter: brightness(1.02);
}

.gallery-caption {
  display: none;
}

.thank-you-card {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 4vw, 46px);
  background: linear-gradient(135deg, rgba(255,255,255,0.82), rgba(255,255,255,0.7));
  border-radius: 32px;
  border: 1px solid rgba(17,24,39,0.06);
  box-shadow: 0 18px 50px rgba(17,24,39,0.08);
}

.accent-ribbon {
  display: inline-flex;
  gap: 10px;
  margin-bottom: 24px;
}

.accent-ribbon i {
  display: block;
  width: 48px;
  height: 10px;
  border-radius: 999px;
}

.accent-ribbon i:nth-child(1) { background: var(--green); }
.accent-ribbon i:nth-child(2) { background: var(--blue); }
.accent-ribbon i:nth-child(3) { background: var(--yellow); }
.accent-ribbon i:nth-child(4) { background: #111827; }

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 40px;
  padding: 24px 12px 0;
  color: var(--muted);
}

.lightbox {
  width: min(1100px, calc(100% - 24px));
  max-width: none;
  margin: auto;
  padding: 0;
  border: none;
  background: transparent;
  overflow: visible;
}

.lightbox::backdrop {
  background: rgba(6, 12, 22, 0.78);
  backdrop-filter: blur(8px);
}

.lightbox figure {
  position: relative;
  margin: 0;
  padding: 26px 26px 18px;
  border-radius: 28px;
  background: rgba(20, 24, 31, 0.82);
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
}

.lightbox img {
  display: block;
  width: 100%;
  max-height: 76vh;
  object-fit: contain;
  border-radius: 18px;
  background: #0b0f15;
}

.lightbox figcaption {
  padding-top: 14px;
  color: rgba(255,255,255,0.92);
  font-weight: 600;
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  z-index: 2;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  color: #fff;
  background: rgba(255,255,255,0.14);
  backdrop-filter: blur(10px);
}

.lightbox-close {
  top: 12px;
  right: 12px;
  font-size: 30px;
  line-height: 1;
}

.lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
  font-size: 36px;
  line-height: 1;
}

.lightbox-prev { left: -18px; }
.lightbox-next { right: -18px; }

@media (max-width: 960px) {
  .hero-grid,
  .section-heading {
    grid-template-columns: 1fr;
    display: grid;
    align-items: start;
  }

  .hero-content h1 {
    max-width: 12ch;
  }

  .gallery-root {
    column-count: var(--gallery-cols-tablet, 3);
  }

  .lightbox-prev { left: 10px; }
  .lightbox-next { right: 10px; }
}

@media (max-width: 720px) {
  .page-shell {
    width: min(100% - 20px, 1320px);
    padding-top: 14px;
  }

  .site-header,
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-header {
    position: static;
  }

  .brand img,
  .site-footer img {
    height: 72px;
  }

  .hero {
    border-radius: 28px;
    padding: 24px 18px;
  }

  .thank-you-card,
  .lightbox figure,
  .gallery-item,
  .gallery-media {
    border-radius: 18px;
  }

  .memory-strip {
    justify-content: flex-start;
    border-radius: 22px;
  }

  .gallery-root {
    column-count: var(--gallery-cols-mobile, 1);
  }

  .lightbox figure {
    padding: 18px;
  }

  .lightbox-close,
  .lightbox-nav {
    width: 44px;
    height: 44px;
  }

  .lightbox-nav {
    top: auto;
    bottom: 22px;
    transform: none;
  }

  .lightbox-prev { left: 18px; }
  .lightbox-next { right: 18px; }
}
