    *,
    *::before,
    *::after {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    img {
      max-width: 100%;
    }

    :root {
      --blue: #2c5fff;
      --purple: #7b2fff;
      --dark: #080b1a;
      --darker: #04060f;
      --white: #ffffff;
      --gray: #8a93b0;
      --light-bg: #f5f6fa;
      --card-bg: #0d1229;
      --accent: #4f7bff;
      --green: #00d084;
      --content-width: 1180px;
      --page-gutter: max(48px, calc((100vw - var(--content-width)) / 2));
    }

    html {
      scroll-behavior: smooth;
    }

    html,
    body {
      width: 100%;
      max-width: 100%;
    }

    body {
      font-family: 'Gelasio', serif;
      background: var(--white);
      color: var(--dark);
      overflow-x: hidden;
      min-height: 100vh;
    }

    /* ── NAV ── */
    nav {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      z-index: 100;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0 var(--page-gutter);
      height: 64px;
      background: rgba(8, 11, 26, 0.92);
      backdrop-filter: blur(12px);
      border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    .nav-logo {
      font-family: 'Orbitron', sans-serif;
      font-size: 1.3rem;
      font-weight: 700;
      letter-spacing: 2px;
      color: var(--white);
      display: flex;
      align-items: center;
      gap: 8px;
      flex-shrink: 0;
    }

    .nav-logo img {
      display: block;
      width: 148px;
      height: auto;
    }

    .nav-logo span {
      color: var(--blue);
    }

    .nav-links {
      display: flex;
      gap: 32px;
      list-style: none;
      min-width: 0;
    }

    .nav-links a {
      color: rgba(255, 255, 255, 0.7);
      text-decoration: none;
      font-size: 0.85rem;
      font-family: 'Elms Sans', sans-serif;
      font-weight: 500;
      letter-spacing: 0.5px;
      transition: color 0.2s;
    }

    .nav-links a:hover {
      color: var(--white);
    }

    .nav-cta {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      background: var(--blue);
      color: var(--white);
      border: none;
      padding: 10px 24px;
      border-radius: 4px;
      font-family: 'Elms Sans', sans-serif;
      font-size: 0.85rem;
      font-weight: 700;
      cursor: pointer;
      letter-spacing: 0.5px;
      text-decoration: none;
      transition: background 0.2s;
    }

    .nav-cta:hover {
      background: #1a4aee;
    }

    /* ── PAGE HERO ── */
    .page-hero {
      position: relative;
      min-height: 60vh;
      display: flex;
      flex-direction: column;
      justify-content: flex-end;
      padding: 80px var(--page-gutter) 60px;
      overflow: hidden;
    }

    .hero-bg {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      background: url('images/home-image.jpg') center/cover no-repeat;
    }

    .hero-bg::after {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(135deg, rgba(8, 11, 26, 0.95) 40%, rgba(44, 95, 255, 0.3) 100%);
    }

    .page-hero-inner {
      position: relative;
      z-index: 2;
      display: flex;
      align-items: flex-end;
      justify-content: space-between;
      gap: 48px;
      flex-wrap: wrap;
      width: 100%;
    }

    .page-hero-label {
      font-family: 'Elms Sans', sans-serif;
      font-size: 0.72rem;
      font-weight: 600;
      letter-spacing: 4px;
      color: var(--blue);
      text-transform: uppercase;
      margin-bottom: 16px;
    }

    .page-hero-title {
      font-family: 'Elms Sans', sans-serif;
      font-size: clamp(3rem, 10vw, 7rem);
      font-weight: 900;
      line-height: 0.9;
      letter-spacing: -1px;
      text-transform: uppercase;
      color: var(--white);
    }

    .page-hero-title em {
      color: var(--blue);
      font-style: normal;
    }

    .page-hero-sub {
      font-size: 0.9rem;
      color: rgba(255, 255, 255, 0.7);
      line-height: 1.6;
      font-family: 'Elms Sans', sans-serif;
      max-width: 520px;
      margin-top: 24px;
    }

    .hero-scroll {
      position: absolute;
      bottom: 32px;
      right: 48px;
      z-index: 2;
      width: 40px;
      height: 40px;
      border: 1px solid rgba(255, 255, 255, 0.3);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      color: rgba(255, 255, 255, 0.5);
      font-size: 1.2rem;
      cursor: pointer;
      animation: bounce 2s infinite;
    }

    @keyframes bounce {

      0%,
      100% {
        transform: translateY(0);
      }

      50% {
        transform: translateY(6px);
      }
    }

    /* ── STATS PILLS ── */
    .stats-row {
      display: flex;
      gap: 16px;
      flex-wrap: wrap;
      align-items: center;
    }

    .stat-pill {
      background: rgba(13, 18, 41, 0.85);
      border: 1px solid rgba(44, 95, 255, 0.4);
      border-radius: 16px;
      padding: 32px 48px;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 8px;
      min-width: 220px;
      transition: all 0.3s ease;
      backdrop-filter: blur(12px);
      box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    }

    .stat-pill:hover {
      border-color: var(--blue);
      background: rgba(44, 95, 255, 0.15);
      transform: translateY(-5px);
    }

    .stat-pill-num {
      font-family: 'Orbitron', sans-serif;
      font-size: 3.5rem;
      font-weight: 700;
      color: var(--white);
      line-height: 1;
    }

    .stat-pill-num span {
      color: var(--blue);
    }

    .stat-pill-label {
      font-family: 'Elms Sans', sans-serif;
      font-size: 0.85rem;
      font-weight: 700;
      letter-spacing: 3px;
      text-transform: uppercase;
      color: rgba(255, 255, 255, 0.6);
      margin-top: 4px;
    }

    .stat-pill.rsvp-stat .stat-pill-num {
      color: var(--green);
    }

    /* ── MARQUEE ── */
    .marquee-wrap {
      background: var(--blue);
      padding: 13px 0;
      overflow: hidden;
      white-space: nowrap;
    }

    .marquee-track {
      display: inline-block;
      animation: marquee 50s linear infinite;
    }

    .marquee-track span {
      font-family: 'Elms Sans', sans-serif;
      font-size: 0.9rem;
      font-weight: 700;
      letter-spacing: 3px;
      text-transform: uppercase;
      color: var(--white);
      margin: 0 24px;
    }

    .marquee-track span.dot {
      color: rgba(255, 255, 255, 0.45);
      margin: 0 6px;
    }

    @keyframes marquee {
      0% {
        transform: translateX(0);
      }

      100% {
        transform: translateX(-50%);
      }
    }

    /* ── MAIN BODY ── */
    .rsvp-body {
      padding: 56px var(--page-gutter) 100px;
      max-width: calc(var(--content-width) + var(--page-gutter) * 2);
    }

    /* ── CONTROLS BAR ── */
    .controls-bar {
      display: flex;
      gap: 16px;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 40px;
      flex-wrap: wrap;
    }

    .controls-right {
      display: flex;
      align-items: center;
      gap: 16px;
      flex-wrap: wrap;
    }

    /* TABS */
    .tab-group {
      display: flex;
      background: #f1f3f7;
      border: 1px solid rgba(0, 0, 0, 0.06);
      border-radius: 6px;
      padding: 4px;
      gap: 4px;
      flex-shrink: 0;
    }

    .tab-btn {
      font-family: 'Elms Sans', sans-serif;
      font-size: 0.75rem;
      font-weight: 700;
      letter-spacing: 1px;
      text-transform: uppercase;
      padding: 8px 18px;
      border: none;
      background: transparent;
      color: #666;
      cursor: pointer;
      border-radius: 4px;
      transition: all 0.2s;
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .tab-btn .tab-count {
      background: rgba(0, 0, 0, 0.05);
      color: #777;
      font-size: 0.65rem;
      padding: 1px 6px;
      border-radius: 20px;
      transition: all 0.2s;
    }

    .tab-btn.active {
      background: var(--blue);
      color: var(--white);
    }

    .tab-btn.active .tab-count {
      background: rgba(255, 255, 255, 0.2);
      color: var(--white);
    }

    /* SEARCH */
    .search-wrap {
      flex: 0 1 300px;
      min-width: 200px;
      position: relative;
    }

    .search-wrap::before {
      content: '🔍';
      position: absolute;
      left: 14px;
      top: 50%;
      transform: translateY(-50%);
      font-size: 0.8rem;
      pointer-events: none;
      opacity: 0.4;
    }

    .search-input {
      width: 100%;
      background: #f1f3f7;
      border: 1px solid rgba(0, 0, 0, 0.06);
      border-radius: 6px;
      padding: 10px 16px 10px 40px;
      font-family: 'Elms Sans', sans-serif;
      font-size: 0.85rem;
      color: var(--dark);
      outline: none;
      transition: border-color 0.3s, background 0.3s;
    }

    .search-input::placeholder {
      color: #999;
    }

    .search-input:focus {
      border-color: var(--blue);
      background: var(--white);
    }

    /* GET INVITE BTN */
    .get-invite-btn {
      background: var(--dark);
      color: var(--white);
      border: none;
      padding: 10px 20px;
      border-radius: 6px;
      font-family: 'Elms Sans', sans-serif;
      font-size: 0.85rem;
      font-weight: 700;
      cursor: pointer;
      transition: all 0.2s;
      white-space: nowrap;
    }

    .get-invite-btn:hover {
      background: var(--blue);
      transform: translateY(-1px);
    }

    /* ── ALPHABET FILTER ── */
    .alpha-bar {
      display: flex;
      gap: 4px;
      flex-wrap: wrap;
      margin-bottom: 40px;
      align-items: center;
    }

    .alpha-label {
      font-family: 'Elms Sans', sans-serif;
      font-size: 0.65rem;
      font-weight: 700;
      letter-spacing: 2px;
      text-transform: uppercase;
      color: #777;
      margin-right: 8px;
      flex-shrink: 0;
    }

    .alpha-btn {
      width: 32px;
      height: 32px;
      border-radius: 5px;
      border: 1px solid rgba(0, 0, 0, 0.08);
      background: transparent;
      color: #666;
      font-family: 'Elms Sans', sans-serif;
      font-size: 0.78rem;
      font-weight: 700;
      cursor: pointer;
      transition: all 0.18s;
      display: flex;
      align-items: center;
      justify-content: center;
      text-transform: uppercase;
    }

    .alpha-btn:hover {
      border-color: var(--blue);
      color: var(--blue);
    }

    .alpha-btn.active {
      background: var(--blue);
      border-color: var(--blue);
      color: var(--white);
    }

    .alpha-btn.disabled {
      opacity: 0.22;
      cursor: default;
      pointer-events: none;
    }

    .alpha-btn.all-btn {
      width: auto;
      padding: 0 10px;
      font-size: 0.7rem;
      letter-spacing: 1px;
    }

    /* ── GUEST GRID ── */
    .guest-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
      gap: 16px;
    }

    .guest-card {
      background: var(--white);
      border: 1px solid rgba(0, 0, 0, 0.08);
      border-radius: 8px;
      padding: 24px;
      display: flex;
      flex-direction: column;
      gap: 12px;
      transition: all 0.3s;
      position: relative;
      overflow: hidden;
      animation: fadeUp 0.35s ease both;
    }

    .guest-card:hover {
      border-color: var(--blue);
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
      transform: translateY(-5px);
    }

    .guest-card:hover::before {
      opacity: 1;
    }

    @keyframes fadeUp {
      from {
        opacity: 0;
        transform: translateY(16px);
      }

      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    .guest-card-top {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 12px;
    }

    .guest-card-actions {
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .linkedin-link {
      position: absolute;
      bottom: 16px;
      right: 16px;
      width: 28px;
      height: 28px;
      border: 1px solid rgba(0, 0, 0, 0.08);
      border-radius: 4px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #0077b5;
      text-decoration: none;
      font-size: 0.9rem;
      transition: all 0.2s;
      background: var(--white);
    }

    .linkedin-link:hover {
      background: #0077b5;
      color: var(--white);
      border-color: #0077b5;
    }

    .guest-avatar {
      width: 48px;
      height: 48px;
      border-radius: 50%;
      background: linear-gradient(135deg, var(--blue), var(--purple));
      display: flex;
      align-items: center;
      justify-content: center;
      font-family: 'Orbitron', sans-serif;
      font-size: 1rem;
      font-weight: 700;
      color: var(--white);
      flex-shrink: 0;
      letter-spacing: 0;
    }

    .rsvp-badge {
      display: flex;
      align-items: center;
      justify-content: center;
      background: rgba(0, 208, 132, 0.12);
      border: 1px solid rgba(0, 208, 132, 0.3);
      color: var(--green);
      border-radius: 50%;
      width: 32px;
      height: 32px;
      font-size: 1.1rem;
      font-weight: 700;
      flex-shrink: 0;
    }

    .invite-plus-btn {
      width: 32px;
      height: 32px;
      border-radius: 50%;
      border: 1px solid var(--blue);
      background: var(--blue);
      color: var(--white);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.2rem;
      font-weight: 700;
      cursor: pointer;
      transition: all 0.2s;
    }

    .invite-plus-btn:hover {
      background: #1a4aee;
      transform: scale(1.1);
    }

    .invite-plus-btn.disabled {
      background: var(--gray);
      border-color: var(--gray);
      cursor: not-allowed;
      opacity: 0.5;
    }

    .invite-count-label {
      font-family: 'Elms Sans', sans-serif;
      font-size: 0.65rem;
      font-weight: 700;
      color: var(--gray);
      margin-top: 4px;
    }

    .pending-badge {
      display: flex;
      align-items: center;
      gap: 5px;
      background: rgba(138, 147, 176, 0.1);
      border: 1px solid rgba(138, 147, 176, 0.2);
      color: var(--gray);
      border-radius: 20px;
      padding: 4px 10px;
      font-family: 'Elms Sans', sans-serif;
      font-size: 0.63rem;
      font-weight: 700;
      letter-spacing: 1.5px;
      text-transform: uppercase;
      white-space: nowrap;
      flex-shrink: 0;
    }

    .pending-badge::before {
      content: '○';
      font-size: 0.7rem;
    }

    .guest-name {
      font-family: 'Elms Sans', sans-serif;
      font-size: 1rem;
      font-weight: 700;
      color: var(--dark);
      line-height: 1.2;
      letter-spacing: 0.2px;
    }

    .guest-title {
      font-family: 'Gelasio', serif;
      font-size: 0.83rem;
      color: #666;
      line-height: 1.4;
      font-style: italic;
      margin-top: 2px;
    }

    .guest-company-tag {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      background: rgba(44, 95, 255, 0.1);
      border: 1px solid rgba(44, 95, 255, 0.2);
      color: var(--accent);
      border-radius: 4px;
      padding: 4px 10px;
      font-family: 'Elms Sans', sans-serif;
      font-size: 0.72rem;
      font-weight: 600;
      letter-spacing: 0.5px;
      width: fit-content;
      margin-top: 4px;
    }

    /* ── COMPANY GRID ── */
    .company-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
      gap: 16px;
    }

    .company-card {
      background: var(--white);
      border: 1px solid rgba(0, 0, 0, 0.08);
      border-radius: 8px;
      padding: 24px 28px;
      display: flex;
      align-items: center;
      gap: 20px;
      transition: all 0.3s;
      position: relative;
      overflow: hidden;
      animation: fadeUp 0.35s ease both;
    }

    .company-card:hover {
      border-color: var(--blue);
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
      transform: translateY(-5px);
    }

    .company-card:hover::before {
      opacity: 1;
    }

    .company-logo-placeholder {
      width: 52px;
      height: 52px;
      border-radius: 10px;
      background: linear-gradient(135deg, rgba(44, 95, 255, 0.25), rgba(123, 47, 255, 0.25));
      border: 1px solid rgba(255, 255, 255, 0.08);
      display: flex;
      align-items: center;
      justify-content: center;
      font-family: 'Orbitron', sans-serif;
      font-size: 0.85rem;
      font-weight: 700;
      color: var(--white);
      flex-shrink: 0;
      letter-spacing: 0;
      cursor: pointer;
      transition: transform 0.2s;
    }

    .company-logo-placeholder:hover {
      transform: scale(1.05);
    }

    .company-info {
      flex: 1;
      min-width: 0;
    }

    .company-name {
      font-family: 'Elms Sans', sans-serif;
      font-size: 0.98rem;
      font-weight: 700;
      color: var(--dark);
      line-height: 1.2;
      margin-bottom: 4px;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .company-industry {
      font-family: 'Gelasio', serif;
      font-size: 0.8rem;
      color: #666;
      font-style: italic;
    }

    .company-card-right {
      display: flex;
      flex-direction: column;
      align-items: flex-end;
      gap: 10px;
      flex-shrink: 0;
    }


    /* ── LETTER DIVIDER ── */
    .letter-section {
      margin-bottom: 40px;
    }

    .letter-heading {
      font-family: 'Orbitron', sans-serif;
      font-size: 0.85rem;
      font-weight: 700;
      color: var(--blue);
      letter-spacing: 3px;
      text-transform: uppercase;
      margin-bottom: 16px;
      padding-bottom: 10px;
      border-bottom: 1px solid rgba(0, 0, 0, 0.05);
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .letter-heading::after {
      content: '';
      flex: 1;
      height: 1px;
      background: rgba(0, 0, 0, 0.03);
    }

    /* ── EMPTY STATE ── */
    .empty-state {
      text-align: center;
      padding: 80px 20px;
      display: none;
    }

    .empty-state.visible {
      display: block;
    }

    .empty-icon {
      font-size: 3rem;
      margin-bottom: 16px;
      opacity: 0.4;
    }

    .empty-title {
      font-family: 'Elms Sans', sans-serif;
      font-size: 1.2rem;
      font-weight: 700;
      color: var(--dark);
      margin-bottom: 8px;
      text-transform: uppercase;
    }

    .empty-sub {
      font-size: 0.88rem;
      color: var(--gray);
      max-width: 500px;
      margin: 0 auto 24px;
      line-height: 1.5;
    }

    /* ── INLINE GET INVITE ── */
    .inline-flow-container {
      display: none;
      max-width: 500px;
      margin: 0 auto;
      text-align: left;
      background: var(--white);
      border: 1px solid rgba(0, 0, 0, 0.08);
      border-radius: 12px;
      padding: 40px;
      animation: fadeIn 0.4s ease;
    }

    .inline-flow-container.visible {
      display: block;
    }

    .inline-flow-container .modal-title {
      text-align: center;
    }

    .inline-flow-container .modal-sub {
      text-align: center;
    }

    .inline-flow-container .thank-you-content {
      display: block;
    }

    /* ── FOOTER ── */
    footer {
      background: var(--darker);
      padding: 80px var(--page-gutter) 40px;
      border-top: 1px solid rgba(255, 255, 255, 0.06);
    }

    .footer-top {
      max-width: var(--content-width);
      margin: 0 auto 64px;
      display: grid;
      grid-template-columns: 1.5fr 1fr 1fr 1fr;
      gap: 80px;
    }

    .footer-logo {
      font-family: 'Orbitron', sans-serif;
      font-size: 1.2rem;
      font-weight: 700;
      color: var(--white);
      margin-bottom: 16px;
    }

    .footer-logo img {
      display: block;
      width: 160px;
      height: auto;
    }

    .footer-logo span {
      color: var(--blue);
    }

    .footer-desc {
      font-size: 0.85rem;
      color: var(--gray);
      line-height: 1.6;
      margin-bottom: 24px;
    }

    .footer-contact {
      font-size: 0.82rem;
      color: var(--gray);
      line-height: 1.8;
    }

    .footer-contact a {
      color: var(--blue);
      text-decoration: none;
    }

    .footer-col-title {
      font-size: 0.72rem;
      font-weight: 700;
      letter-spacing: 3px;
      text-transform: uppercase;
      color: var(--white);
      margin-bottom: 20px;
    }

    .footer-links {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    .footer-links a {
      font-size: 0.85rem;
      color: var(--gray);
      text-decoration: none;
      transition: color 0.2s;
    }

    .footer-links a:hover {
      color: var(--white);
    }

    .footer-bottom {
      border-top: 1px solid rgba(255, 255, 255, 0.06);
      padding-top: 28px;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .footer-bottom p {
      font-size: 0.8rem;
      color: var(--gray);
    }

    .footer-socials {
      display: flex;
      gap: 16px;
    }

    .social-btn {
      width: 36px;
      height: 36px;
      border: 1px solid rgba(255, 255, 255, 0.1);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 0.85rem;
      color: var(--gray);
      cursor: pointer;
      transition: border-color 0.2s, color 0.2s;
    }

    .social-btn:hover {
      border-color: var(--blue);
      color: var(--blue);
    }

    /* ── RESPONSIVE ── */
    @media (max-width: 1100px) {
      nav {
        padding: 0 28px;
      }

      .nav-links {
        gap: 20px;
      }

      .nav-logo img {
        width: 132px;
      }

      .rsvp-body {
        padding: 48px 32px 80px;
      }
    }

    @media (max-width: 900px) {
      nav {
        align-items: center;
        gap: 18px;
        height: auto;
        min-height: 64px;
        padding: 12px 24px;
        flex-wrap: wrap;
      }

      .nav-links {
        order: 3;
        width: 100%;
        gap: 24px;
        overflow-x: auto;
        padding: 2px 0 8px;
        scrollbar-width: none;
      }

      .nav-links::-webkit-scrollbar {
        display: none;
      }

      .nav-links a {
        white-space: nowrap;
      }

      .nav-cta {
        padding: 9px 16px;
      }

      .page-hero-inner {
        flex-direction: column;
        align-items: flex-start;
        padding: 52px 32px 44px;
        gap: 32px;
      }

      .stats-row {
        gap: 12px;
      }

      .stat-pill {
        min-width: 120px;
        padding: 12px 20px;
      }

      .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
      }

      .rsvp-body {
        padding: 40px 24px 72px;
      }

      .guest-grid,
      .company-grid {
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
      }
    }

    @media (max-width: 640px) {
      nav {
        padding: 10px 16px;
        gap: 12px;
      }

      .nav-logo img {
        width: 118px;
      }

      .nav-cta {
        display: none;
      }

      .nav-links {
        gap: 20px;
        padding-bottom: 6px;
      }

      .nav-links a {
        font-size: 0.8rem;
      }

      .page-hero-inner {
        padding: 44px 20px 36px;
      }

      .rsvp-body {
        padding: 32px 16px 64px;
      }

      .controls-bar {
        gap: 12px;
      }

      .tab-group {
        width: 100%;
      }

      .tab-btn {
        flex: 1;
        justify-content: center;
      }

      .footer-top {
        grid-template-columns: 1fr;
      }

      .footer-bottom {
        flex-direction: column;
        gap: 18px;
        align-items: flex-start;
      }

      .alpha-btn {
        width: 28px;
        height: 28px;
        font-size: 0.72rem;
      }

      .guest-grid,
      .company-grid {
        grid-template-columns: 1fr;
      }
    }

    /* ── RSVP MODAL ── */
    .modal-overlay {
      position: fixed;
      inset: 0;
      background: rgba(8, 11, 26, 0.8);
      backdrop-filter: blur(8px);
      z-index: 1000;
      display: none;
      align-items: center;
      justify-content: center;
      padding: 20px;
      animation: fadeIn 0.3s ease;
    }

    @keyframes fadeIn {
      from {
        opacity: 0;
      }

      to {
        opacity: 1;
      }
    }

    .modal-content {
      background: var(--white);
      width: 100%;
      max-width: 440px;
      border-radius: 12px;
      padding: 40px;
      position: relative;
      box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
      animation: slideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    }

    @keyframes slideUp {
      from {
        transform: translateY(30px);
        opacity: 0;
      }

      to {
        transform: translateY(0);
        opacity: 1;
      }
    }

    .modal-close {
      position: absolute;
      top: 20px;
      right: 20px;
      background: none;
      border: none;
      font-size: 1.5rem;
      color: var(--gray);
      cursor: pointer;
      line-height: 1;
      transition: color 0.2s;
    }

    .modal-close:hover {
      color: var(--dark);
    }

    .modal-title {
      font-family: 'Elms Sans', sans-serif;
      font-size: 1.5rem;
      font-weight: 800;
      color: var(--dark);
      margin-bottom: 8px;
      text-transform: uppercase;
    }

    .modal-sub {
      font-size: 0.9rem;
      color: var(--gray);
      margin-bottom: 24px;
      line-height: 1.5;
    }

    .form-group {
      margin-bottom: 20px;
    }

    .form-label {
      display: block;
      font-family: 'Elms Sans', sans-serif;
      font-size: 0.75rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 1px;
      color: var(--dark);
      margin-bottom: 8px;
    }

    .form-input {
      width: 100%;
      padding: 12px 16px;
      border: 1px solid rgba(0, 0, 0, 0.1);
      border-radius: 6px;
      font-family: 'Gelasio', serif;
      font-size: 1rem;
      outline: none;
      transition: border-color 0.2s;
    }

    .form-input:focus {
      border-color: var(--blue);
    }

    .form-error {
      color: #ff4d4d;
      font-size: 0.75rem;
      margin-top: 4px;
      display: none;
    }

    .modal-btn {
      width: 100%;
      background: var(--blue);
      color: var(--white);
      border: none;
      padding: 14px;
      border-radius: 6px;
      font-family: 'Elms Sans', sans-serif;
      font-size: 0.9rem;
      font-weight: 700;
      cursor: pointer;
      transition: background 0.2s;
      margin-top: 8px;
    }

    .modal-btn:hover {
      background: #1a4aee;
    }

    .thank-you-content {
      text-align: center;
      display: none;
    }

    .thank-you-icon {
      font-size: 4rem;
      color: var(--green);
      margin-bottom: 20px;
    }

    /* OTP Styles */
    .otp-content {
      display: none;
    }

    .invite-content {
      display: none;
    }

    .invite-details-box {
      background: #f8f9fb;
      border: 1px solid rgba(0, 0, 0, 0.05);
      border-radius: 8px;
      padding: 16px;
      margin-top: 16px;
      text-align: left;
      font-size: 0.85rem;
    }

    .invite-details-box div {
      margin-bottom: 6px;
    }

    .invite-details-box strong {
      color: var(--dark);
      display: inline-block;
      width: 100px;
    }

    .checkbox-group {
      display: flex;
      gap: 10px;
      align-items: flex-start;
      margin-top: 20px;
      text-align: left;
      cursor: pointer;
    }

    .checkbox-group input {
      margin-top: 4px;
      cursor: pointer;
    }

    .checkbox-label {
      font-size: 0.82rem;
      color: #666;
      line-height: 1.4;
      user-select: none;
    }

    .resend-timer {
      font-size: 0.8rem;
      color: var(--gray);
      margin-top: 12px;
      text-align: center;
    }

    .resend-link {
      color: var(--blue);
      text-decoration: none;
      font-weight: 700;
      cursor: pointer;
    }

    .resend-link.disabled {
      color: var(--gray);
      cursor: not-allowed;
      opacity: 0.6;
      text-decoration: none;
    }