:root {
        --entry-cream: #f7e8d8;
        --entry-ivory: rgba(247, 232, 216, 0.92);
        --entry-gold: #ee6a37;
        --entry-line: rgba(247, 232, 216, 0.42);
        --entry-shadow: 0 30px 80px rgba(17, 12, 8, 0.22);
        --entry-panel: rgba(27, 21, 17, 0.34);
        --entry-panel-line: rgba(247, 232, 216, 0.16);
      }

      * {
        box-sizing: border-box;
      }

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

      body {
        font-family: "Manrope", sans-serif;
        background: #1a1410;
        color: var(--entry-cream);
      }

      .sr-only {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
      }

      .wedding-entry-shell {
        position: relative;
        min-height: 100vh;
        display: grid;
        place-items: center;
        overflow: hidden;
        isolation: isolate;
        padding: clamp(1.5rem, 3vw, 2.5rem);
      }

      .wedding-entry-shell::before {
        content: "";
        position: absolute;
        inset: 0;
        background-image:
          linear-gradient(180deg, rgba(19, 14, 11, 0.18) 0%, rgba(19, 14, 11, 0.34) 54%, rgba(19, 14, 11, 0.48) 100%),
          var(--entry-image);
        background-size: cover;
        background-position: center 34%;
        transform: scale(1.02);
        z-index: -2;
      }

      .wedding-entry-shell::after {
        content: "";
        position: absolute;
        inset: 0;
        background:
          radial-gradient(circle at 50% 50%, rgba(255, 250, 243, 0.08), transparent 34%),
          linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(17, 12, 8, 0.1));
        z-index: -1;
      }

      .wedding-entry-panel {
        width: min(100%, 980px);
        text-align: center;
        padding: clamp(2rem, 4vw, 3.4rem) clamp(1.25rem, 4vw, 3rem);
        display: grid;
        justify-items: center;
        align-content: center;
      }

      .wedding-entry-eyebrow,
      .wedding-entry-kicker,
      .wedding-entry-meta,
      .wedding-entry-hint,
      .wedding-entry-form button {
        letter-spacing: 0.26em;
        text-transform: uppercase;
      }

      .wedding-entry-eyebrow {
        margin: 0 0 0.75rem;
        font-size: 0.78rem;
        color: rgba(247, 232, 216, 0.8);
      }

      .wedding-entry-kicker {
        margin: 0;
        font-size: 0.92rem;
        color: rgba(247, 232, 216, 0.92);
      }

      .wedding-entry-divider {
        width: 220px;
        height: 1px;
        margin: 0.9rem auto 1.4rem;
        background: var(--entry-line);
        position: relative;
      }

      .wedding-entry-divider::after {
        content: "";
        position: absolute;
        left: 50%;
        top: -5px;
        width: 20px;
        height: 10px;
        transform: translateX(-50%);
        border-top: 1px solid rgba(247, 232, 216, 0.78);
        border-radius: 999px;
      }

      .wedding-entry-title {
        margin: 0;
        display: grid;
        gap: 0.02em;
        width: min(100%, 760px);
        text-shadow: 0 14px 38px rgba(14, 8, 5, 0.34);
      }

      .wedding-entry-title .name-line {
        display: flex;
        width: 100%;
        font-family: "Cormorant Garamond", serif;
        font-size: clamp(3.5rem, 7.4vw, 6rem);
        font-weight: 500;
        line-height: 0.9;
        letter-spacing: 0.01em;
      }

      .wedding-entry-title .name-line-top {
        align-items: flex-end;
        justify-content: center;
        gap: 0.16em;
      }

      .wedding-entry-title .name-line-bottom {
        justify-content: center;
        margin-top: -0.06em;
      }

      .wedding-entry-title .accent {
        display: inline-block;
        color: var(--entry-gold);
        font-family: "Instrument Serif", serif;
        font-size: 0.74em;
        font-style: italic;
        line-height: 0.82;
        transform: translateY(-0.04em);
        text-shadow: 0 10px 20px rgba(14, 8, 5, 0.24);
      }

      .wedding-entry-meta {
        margin: 1.15rem 0 0;
        font-size: 0.84rem;
        letter-spacing: 0.28em;
        color: rgba(247, 232, 216, 0.84);
      }

      .wedding-entry-access {
        width: min(100%, 640px);
        margin-top: 1.45rem;
        padding: 1rem;
        display: grid;
        gap: 0.85rem;
        background:
          linear-gradient(180deg, rgba(27, 21, 17, 0.36), rgba(27, 21, 17, 0.22));
        border: 1px solid rgba(247, 232, 216, 0.12);
        border-radius: 28px;
        backdrop-filter: blur(8px);
        box-shadow: 0 18px 42px rgba(17, 12, 8, 0.16);
      }

      .wedding-entry-copy {
        margin: 0;
        max-width: 34ch;
        justify-self: center;
        font-family: "Manrope", sans-serif;
        font-size: 0.96rem;
        line-height: 1.65;
        font-weight: 500;
        color: var(--entry-ivory);
        text-wrap: pretty;
      }

      .wedding-entry-hint {
        margin: 0;
        font-size: 0.72rem;
        font-weight: 600;
        letter-spacing: 0.22em;
        color: rgba(247, 232, 216, 0.68);
      }

      .wedding-entry-form {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: stretch;
        gap: 1rem;
        width: min(100%, 760px);
        margin: 0 auto;
      }

      .wedding-entry-form input {
        min-height: 68px;
        border: 1px solid rgba(247, 232, 216, 0.34);
        border-radius: 18px;
        padding: 0.95rem 1.2rem;
        background: rgba(23, 18, 14, 0.26);
        backdrop-filter: blur(10px);
        color: #fff8f3;
        box-shadow: inset 0 1px 0 rgba(255, 250, 244, 0.08);
      }

      .wedding-entry-form input::placeholder {
        color: rgba(247, 232, 216, 0.62);
        font-weight: 500;
      }

      .wedding-entry-form button {
        min-height: 68px;
        min-width: 164px;
        border: 0;
        border-radius: 18px;
        background: linear-gradient(135deg, #dd542f, #97203d);
        color: #f4c1a0;
        font-weight: 700;
        font-size: 0.88rem;
        padding: 0 1.7rem;
        cursor: pointer;
        box-shadow: var(--entry-shadow);
      }

      .wedding-entry-error {
        margin: 1rem 0 0;
        color: #ffe0d4;
        font-weight: 600;
      }

      @media (max-width: 720px) {
        .wedding-entry-shell::before {
          background-position: center center;
        }

        .wedding-entry-title {
          width: min(100%, 520px);
        }

        .wedding-entry-title .name-line {
          font-size: clamp(3.1rem, 14vw, 5rem);
        }

        .wedding-entry-title .name-line-top,
        .wedding-entry-title .name-line-bottom {
          justify-content: center;
          margin-top: 0;
        }

        .wedding-entry-title .accent {
          font-size: 0.76em;
          transform: translateY(-0.02em);
        }

        .wedding-entry-access {
          width: min(100%, 520px);
        }

        .wedding-entry-form {
          grid-template-columns: 1fr;
          width: min(100%, 520px);
        }

        .wedding-entry-form input,
        .wedding-entry-form button {
          min-height: 64px;
        }
      }

      @media (max-height: 920px) {
        .wedding-entry-panel {
          padding-top: 1.25rem;
          padding-bottom: 1.25rem;
        }

        .wedding-entry-title {
          width: min(100%, 680px);
        }

        .wedding-entry-copy {
          font-size: 0.92rem;
        }

        .wedding-entry-form input,
        .wedding-entry-form button {
          min-height: 68px;
        }
      }

      @media (max-height: 760px) {
        .wedding-entry-eyebrow {
          margin-bottom: 0.5rem;
        }

        .wedding-entry-divider {
          margin-bottom: 1rem;
        }

        .wedding-entry-title {
          width: min(100%, 600px);
        }

        .wedding-entry-meta {
          margin-top: 0.8rem;
          font-size: 0.78rem;
        }

        .wedding-entry-access {
          margin-top: 1rem;
          padding: 0.85rem;
        }

        .wedding-entry-hint {
          font-size: 0.74rem;
        }

        .wedding-entry-form input,
        .wedding-entry-form button {
          min-height: 60px;
        }
      }

