:root {
  --orange: #e87722;
  --orange-deep: #c45f14;
  --green: #1a6b38;
  --green-dark: #14532c;
  --ink: #1f2a24;
  --muted: #5d6a63;
  --paper: #fffdf8;
  --cream: #f4efe4;
  --line: rgba(26, 107, 56, 0.14);
  --shadow: 0 24px 60px rgba(20, 83, 44, 0.12);
  --font-title: "PP Pangaia", "Pangaia", serif;
  --font-body: "Noto Sans", sans-serif;
}

@font-face {
  font-family: "PP Pangaia";
  src: url("pp-pangaia/PPPangaia-Ultralight-BF654c530cd00f1.otf") format("opentype");
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "PP Pangaia";
  src: url("pp-pangaia/PPPangaia-Medium-BF654c530cc86d5.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "PP Pangaia";
  src: url("pp-pangaia/PPPangaia-Medium-BF654c530cc86d5.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "PP Pangaia";
  src: url("pp-pangaia/PPPangaia-Bold-BF654c530cc27f8.otf") format("opentype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "PP Pangaia";
  src: url("pp-pangaia/PPPangaia-Bold-BF654c530cc27f8.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(circle at top, #fffaf1 0%, var(--cream) 48%, #e8efe6 100%);
  overflow-x: hidden;
}

.bg-orb {
  position: fixed;
  width: 42vw;
  height: 42vw;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.28;
  pointer-events: none;
  z-index: 0;
}

.bg-orb--green {
  background: #9ccfad;
  top: -12vw;
  left: -10vw;
}

.bg-orb--orange {
  background: #f3c08a;
  right: -12vw;
  bottom: -8vw;
}

.page {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px 16px 48px;
}

.invite {
  width: min(720px, 100%);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 32px;
  box-shadow: var(--shadow);
  padding: 36px 28px 32px;
}

.brand {
  display: flex;
  justify-content: center;
  margin-bottom: 22px;
}

.logo {
  width: min(340px, 86%);
  height: auto;
  display: block;
  mix-blend-mode: multiply;
}

.event-title {
  margin: 0 0 20px;
  text-align: center;
  display: grid;
  gap: 2px;
  line-height: 1.15;
}

.intro {
  margin-bottom: 22px;
}

.word-together {
  font-family: var(--font-title);
  font-size: clamp(2.4rem, 8vw, 3.6rem);
  font-weight: 700;
  color: var(--orange);
  letter-spacing: -0.03em;
}

.word-together2 {
  font-family: var(--font-title);
  font-size: clamp(2rem, 8vw, 1.5rem);
  font-weight: 700;
  color: var(--orange);
  letter-spacing: -0.03em;
}

.word-celebrating {
  font-family: var(--font-title);
  font-size: clamp(1.55rem, 5.4vw, 2.15rem);
  font-weight: 600;
  color: var(--green-dark);
}

.word-shaping {
  font-family: var(--font-title);
  font-size: clamp(1.05rem, 3.4vw, 1.25rem);
  font-weight: 500;
  letter-spacing: 0.28em;
  /* text-transform: uppercase; */
  color: var(--muted);
  margin-top: 8px;
}
.uppercase{
  text-transform: uppercase;
}

.tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  background: #efe9db;
  padding: 6px;
  border-radius: 18px;
  margin: 0 0 18px;
}

.tab {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-weight: 600;
  font-size: 0.98rem;
  border-radius: 14px;
  padding: 12px 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: 0.2s ease;
}

.tab svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.tab.is-active {
  background: #fff;
  color: var(--green);
  box-shadow: 0 8px 18px rgba(20, 83, 44, 0.08);
}

.tab:hover:not(.is-active) {
  color: var(--ink);
}

.panel[hidden] {
  display: none;
}

.lead {
  font-family: var(--font-body);
  font-size: 1.35rem;
  line-height: 1.45;
  margin: 0 0 14px;
  color: var(--green-dark);
  font-weight: 500;
}

.copy {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.7;
}

.copy.highlight {
  color: var(--ink);
  font-weight: 500;
}

.meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 0 0 16px;
}

.meta-item,
.maps-card {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: #f7f3ea;
  border-radius: 18px;
  padding: 14px;
}

.icon-wrap {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: var(--orange);
  color: #fff;
}

.icon-wrap svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.meta-label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2px;
}

.meta-item strong,
.maps-copy strong {
  display: block;
  font-size: 0.98rem;
  font-weight: 650;
}

.maps-card {
  text-decoration: none;
  color: inherit;
  align-items: center;
  transition: 0.2s ease;
}

.maps-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(232, 119, 34, 0.14);
}

.maps-copy em {
  display: block;
  font-style: normal;
  color: var(--orange-deep);
  font-weight: 600;
  margin: 2px 0 6px;
}

.maps-url {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  word-break: break-all;
  margin-bottom: 6px;
}

.maps-link {
  color: var(--green);
  font-weight: 600;
  font-size: 0.92rem;
}

.dress-banner {
  display: flex;
  gap: 16px;
  align-items: center;
  background: #f7f3ea;
  border-radius: 18px;
  padding: 16px;
  margin-top: 18px;
}

.dress-banner h2 {
  margin: 0 0 4px;
  font-family: var(--font-title);
  font-size: 1.5rem;
  color: var(--green-dark);
}

.dress-banner p {
  margin: 0;
  color: var(--muted);
}

.swatches {
  display: flex;
  gap: 8px;
}

.swatch {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
}

.swatch--black {
  background: #161616;
}

.swatch--white {
  background: #fff;
}

.video-frame {
  overflow: hidden;
  border-radius: 20px;
  background: #111;
  width: min(100%, 340px);
  margin: 0 auto;
}

.video-frame video {
  width: 100%;
  height: auto;
  display: block;
  background: #000;
  vertical-align: middle;
}

@media (max-width: 640px) {
  .invite {
    padding: 24px 16px 20px;
    border-radius: 24px;
  }

  .meta {
    grid-template-columns: 1fr;
  }

  .tab {
    font-size: 0.9rem;
  }
}
