:root {
  --navy: #111936;
  --navy-soft: #1d294b;
  --ink: #202331;
  --muted: #6c7080;
  --ivory: #fbf7ee;
  --paper: #ffffff;
  --gold: #c79c4a;
  --gold-soft: rgba(199, 156, 74, 0.24);
  --line: rgba(17, 25, 54, 0.14);
  --shadow: 0 24px 80px rgba(17, 25, 54, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: linear-gradient(180deg, var(--ivory), #fff);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

button {
  font: inherit;
}

.official-invite {
  overflow: hidden;
}

.hero {
  position: relative;
  display: grid;
  min-height: 92vh;
  align-items: center;
  padding: 7rem 1.25rem 5rem;
}

.hero__image {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(17, 25, 54, 0.92), rgba(17, 25, 54, 0.62), rgba(17, 25, 54, 0.18)),
    url("assets/assets/management-stage.png") center / cover no-repeat;
}

.topbar {
  position: absolute;
  top: 1.25rem;
  left: 50%;
  z-index: 1;
  display: inline-flex;
  max-width: calc(100% - 2.5rem);
  transform: translateX(-50%);
  align-items: center;
  gap: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 0.55rem 1rem 0.55rem 0.65rem;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 16px 46px rgba(0, 0, 0, 0.14);
}

.topbar img {
  width: 3.1rem;
  height: 3.1rem;
  border-radius: 50%;
  object-fit: contain;
  background: #fff;
}

.topbar strong,
.topbar span {
  display: block;
  white-space: nowrap;
}

.topbar strong {
  color: #25186b;
  font-size: 0.95rem;
}

.topbar span {
  margin-top: 0.12rem;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero__content {
  position: relative;
  width: min(760px, 100%);
  margin-left: max(0rem, calc((100vw - 1120px) / 2));
}

.eyebrow {
  margin: 0 0 0.9rem;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 0.96;
}

h1 {
  color: #fff;
  font-size: clamp(4rem, 9vw, 8.3rem);
}

h2 {
  color: var(--navy);
  font-size: clamp(2.5rem, 5.7vw, 4.8rem);
}

p {
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.8;
}

.hero__content p:not(.eyebrow) {
  width: min(600px, 100%);
  margin: 1.4rem 0 2rem;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.05rem, 2.1vw, 1.25rem);
}

.button {
  display: inline-flex;
  min-height: 3.2rem;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(199, 156, 74, 0.48);
  border-radius: 999px;
  padding: 0 1.55rem;
  color: var(--navy);
  background: linear-gradient(135deg, #f7df9d, var(--gold));
  box-shadow: 0 14px 36px rgba(199, 156, 74, 0.22);
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.button--light {
  background: #fff;
}

.button:disabled {
  opacity: 0.86;
  cursor: default;
}

.invitation,
.event-details,
.program,
.closing {
  width: min(1120px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 5rem 0;
}

.invitation {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 3rem;
  align-items: start;
}

.intro p {
  max-width: 34rem;
}

.leadership-photo {
  position: relative;
  margin: 0;
  border: 1px solid var(--gold-soft);
  border-radius: 8px;
  padding: 0.7rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(251, 247, 238, 0.94));
  box-shadow: var(--shadow);
}

.leadership-photo::before {
  position: absolute;
  inset: 1.25rem;
  border: 1px solid rgba(199, 156, 74, 0.36);
  border-radius: 6px;
  content: "";
  pointer-events: none;
}

.leadership-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 6px;
  object-fit: cover;
}

.guest-sections {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.guest-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.45rem;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
}

.guest-card--primary {
  background: linear-gradient(135deg, #fff, #fbf7ee);
}

.guest-card span {
  display: block;
  margin-bottom: 0.8rem;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.guest-card h3 {
  margin: 0;
  color: var(--navy);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: 0;
  line-height: 1.02;
}

.guest-card p {
  margin: 1rem 0 0;
}

.event-details {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 3rem;
  border-top: 1px solid var(--line);
}

.detail-list {
  display: grid;
  gap: 1rem;
}

.detail-list article {
  display: grid;
  grid-template-columns: 7rem 1fr;
  align-items: center;
  min-height: 6.1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1rem 1.2rem;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
}

.detail-list span,
.program li {
  color: var(--muted);
  font-weight: 800;
}

.detail-list strong {
  color: var(--navy);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2.05rem;
  line-height: 1.05;
}

.program {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 3rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.program ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.program li {
  min-height: 7rem;
  border-left: 3px solid var(--gold);
  border-radius: 8px;
  padding: 1.25rem;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.closing {
  margin-bottom: 4rem;
  border-radius: 8px;
  padding: 4rem;
  text-align: center;
  background:
    linear-gradient(rgba(17, 25, 54, 0.82), rgba(17, 25, 54, 0.86)),
    url("assets/assets/management-stage.png") center / cover no-repeat;
  box-shadow: var(--shadow);
}

.closing h2 {
  color: #fff;
}

.closing p {
  width: min(650px, 100%);
  margin: 1.25rem auto 2rem;
  color: rgba(255, 255, 255, 0.78);
}

.confirmation-line[hidden] {
  display: none;
}

.confirmation-line {
  width: min(520px, 100%);
  margin: 1.5rem auto 0;
  border: 1px solid rgba(199, 156, 74, 0.42);
  border-radius: 8px;
  padding: 1rem;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  font-weight: 800;
}

@media (max-width: 780px) {
  .hero {
    min-height: 88vh;
    padding-top: 7.5rem;
  }

  .hero__image {
    background:
      linear-gradient(180deg, rgba(17, 25, 54, 0.9), rgba(17, 25, 54, 0.64)),
      url("assets/assets/management-stage.png") center / cover no-repeat;
  }

  .hero__content {
    margin-left: 0;
  }

  .invitation,
  .event-details,
  .program {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .guest-sections {
    grid-template-columns: 1fr;
  }

  .program ul {
    grid-template-columns: 1fr;
  }

  .closing {
    width: min(100% - 2rem, 1120px);
    padding: 3rem 1.25rem;
  }
}

@media (max-width: 460px) {
  .topbar {
    width: calc(100% - 2rem);
    justify-content: center;
    padding-right: 0.75rem;
  }

  .topbar strong {
    font-size: 0.85rem;
  }

  .topbar span {
    font-size: 0.7rem;
  }

  h1 {
    font-size: 3.55rem;
  }

  .invitation,
  .event-details,
  .program {
    width: min(100% - 2rem, 1120px);
    padding: 3.5rem 0;
  }

  .detail-list article {
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }
}
