 /* shell */
      .shell {
        padding: 12px 0 56px;
      }
      .card-shell {
        display: grid;
        grid-template-columns: 1fr 1.05fr;
        border-radius: var(--radius-l);
        overflow: hidden;
        background: #fff;
        box-shadow: 0 50px 90px -40px rgba(96, 31, 48, 0.5);
        animation: rise var(--dur-l) var(--ease) both;
      }
      @keyframes rise {
        from {
          opacity: 0;
          transform: translateY(40px) scale(0.98);
        }
      }
      @media (max-width: 991px) {
        .card-shell {
          grid-template-columns: 1fr;
        }
      }

      /* ---------- left panel ---------- */
      .side {
        position: relative;
        overflow: hidden;
        padding: 3rem 2.6rem;
        color: #fff;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        gap: 2rem;
        background: linear-gradient(
          155deg,
          var(--wine) 0%,
          var(--wine-deep) 100%
        );
      }
      .orb {
        position: absolute;
        border-radius: 50%;
        filter: blur(2px);
      }
      .orb.o1 {
        width: 300px;
        height: 300px;
        right: -100px;
        top: -90px;
        background: radial-gradient(
          circle at 30% 30%,
          rgba(249, 137, 72, 0.9),
          rgba(249, 137, 72, 0) 70%
        );
        animation: drift 10s ease-in-out infinite alternate;
      }
      .orb.o2 {
        width: 240px;
        height: 240px;
        left: -90px;
        bottom: -80px;
        background: radial-gradient(
          circle at 60% 40%,
          rgba(201, 213, 181, 0.55),
          rgba(201, 213, 181, 0) 70%
        );
        animation: drift 12s ease-in-out infinite alternate-reverse;
      }
      .orb.o3 {
        width: 90px;
        height: 90px;
        right: 18%;
        bottom: 22%;
        border: 2px dashed rgba(255, 255, 255, 0.25);
        animation: spin 20s linear infinite;
      }
      @keyframes drift {
        to {
          transform: translate(-26px, 30px) scale(1.12);
        }
      }
      @keyframes spin {
        to {
          transform: rotate(360deg);
        }
      }
      .side > * {
        position: relative;
        z-index: 1;
      }
      .side .tag {
        display: inline-flex;
        gap: 0.5rem;
        align-items: center;
        background: rgba(255, 255, 255, 0.12);
        border: 1px solid rgba(255, 255, 255, 0.2);
        padding: 0.4rem 0.9rem;
        border-radius: 99px;
        font-size: 0.78rem;
        font-weight: 600;
        letter-spacing: 0.04em;
        backdrop-filter: blur(6px);
      }
      .side .tag i {
        color: var(--orange);
      }
      .side h2 {
        color: #fff;
        font-size: clamp(1.8rem, 3.2vw, 2.5rem);
        font-weight: 800;
        margin: 1.2rem 0 0.9rem;
      }
      .side h2 span {
        color: var(--orange);
      }
      .side p {
        color: rgba(255, 255, 255, 0.8);
        max-width: 400px;
      }
      .perks {
        list-style: none;
        padding: 0;
        margin: 0;
        display: grid;
        gap: 0.9rem;
      }
      .perks li {
        display: flex;
        gap: 0.9rem;
        align-items: center;
        font-weight: 500;
        font-size: 0.95rem;
        background: rgba(255, 255, 255, 0.07);
        border: 1px solid rgba(255, 255, 255, 0.1);
        padding: 0.8rem 1rem;
        border-radius: var(--radius-m);
        transition: transform var(--dur-m) var(--ease), background var(--dur-m);
        animation: slideIn var(--dur-l) var(--ease) both;
      }
      .perks li:nth-child(1) {
        animation-delay: 0.3s;
      }
      .perks li:nth-child(2) {
        animation-delay: 0.42s;
      }
      .perks li:nth-child(3) {
        animation-delay: 0.54s;
      }
      .perks li:nth-child(4) {
        animation-delay: 0.66s;
      }
      @keyframes slideIn {
        from {
          opacity: 0;
          transform: translateX(-24px);
        }
      }
      .perks li:hover {
        transform: translateX(8px);
        background: rgba(255, 255, 255, 0.14);
      }
      .perks i {
        flex: none;
        width: 36px;
        height: 36px;
        display: grid;
        place-items: center;
        border-radius: 10px;
        background: var(--orange);
        color: #fff;
      }
      .side-note {
        font-size: 0.8rem;
        color: rgba(255, 255, 255, 0.6);
        margin: 0;
      }
      @media (max-width: 991px) {
        .side {
          padding: 2rem 1.6rem;
        }
        .perks {
          grid-template-columns: 1fr 1fr;
        }
        .side-note {
          display: none;
        }
      }
      @media (max-width: 575px) {
        .perks {
          grid-template-columns: 1fr;
        }
        .perks li:nth-child(n + 3) {
          display: none;
        }
      }

      /* ---------- form panel ---------- */
      .panel {
        padding: 2.6rem 2.6rem 2.2rem;
      }
      @media (max-width: 575px) {
        .panel {
          padding: 1.8rem 1.25rem;
        }
      }

      .switch {
        position: relative;
        display: grid;
        grid-template-columns: 1fr 1fr;
        background: var(--sage-soft);
        border-radius: 999px;
        padding: 5px;
        margin-bottom: 2rem;
      }
      .switch button {
        position: relative;
        z-index: 1;
        border: 0;
        background: none;
        padding: 0.75rem 1rem;
        border-radius: 999px;
        font-family: var(--font-head);
        font-weight: 600;
        font-size: 0.92rem;
        color: var(--ink);
        transition: color var(--dur-m) var(--ease);
      }
      .switch button.active {
        color: #fff;
      }
      .switch .thumb {
        position: absolute;
        top: 5px;
        bottom: 5px;
        left: 5px;
        width: calc(50% - 5px);
        border-radius: 999px;
        background: linear-gradient(135deg, var(--orange), #ef7a37);
        box-shadow: 0 10px 20px -8px var(--orange);
        transition: transform var(--dur-m) var(--ease);
      }
      .switch[data-mode="login"] .thumb {
        transform: translateX(100%);
      }

      .view {
        display: none;
      }
      .view.active {
        display: block;
        animation: swap var(--dur-m) var(--ease) both;
      }
      @keyframes swap {
        from {
          opacity: 0;
          transform: translateY(18px) scale(0.985);
          filter: blur(4px);
        }
      }
      .view h1 {
        font-size: clamp(1.6rem, 3vw, 2.1rem);
        font-weight: 700;
        margin-bottom: 0.4rem;
      }
      .view .sub {
        margin-bottom: 1.6rem;
      }

      /* fields */
      .field {
        position: relative;
        margin-bottom: 1.1rem;
      }
      .field > i.lead-i {
        position: absolute;
        left: 16px;
        top: 50%;
        transform: translateY(-50%);
        color: var(--mist);
        font-size: 1.05rem;
        pointer-events: none;
        transition: color var(--dur-s);
        z-index: 2;
      }
      .field input,
      .field select {
        width: 100%;
        height: 58px;
        padding: 1.5rem 1rem 0.5rem 46px;
        font-size: 0.97rem;
        font-family: var(--font-body);
        color: var(--wine);
        font-weight: 500;
        background: var(--cream);
        border: 2px solid transparent;
        border-radius: var(--radius-m);
        outline: 0;
        transition: border-color var(--dur-s), background var(--dur-s),
          box-shadow var(--dur-s);
        appearance: none;
        -webkit-appearance: none;
      }
      .field label {
        position: absolute;
        left: 46px;
        top: 50%;
        transform: translateY(-50%);
        color: var(--ink);
        opacity: 0.75;
        font-size: 0.95rem;
        pointer-events: none;
        transition: all var(--dur-s) var(--ease);
        transform-origin: left;
      }
      .field input:focus ~ label,
      .field input:not(:placeholder-shown) ~ label,
      .field select:focus ~ label,
      .field select.filled ~ label {
        top: 11px;
        transform: none;
        font-size: 0.7rem;
        font-weight: 600;
        letter-spacing: 0.05em;
        text-transform: uppercase;
        color: var(--orange);
        opacity: 1;
      }
      .field input:focus,
      .field select:focus {
        background: #fff;
        border-color: var(--orange);
        box-shadow: 0 0 0 5px rgba(249, 137, 72, 0.15);
      }
      .field:focus-within > i.lead-i {
        color: var(--orange);
      }
      .field select {
        cursor: pointer;
        padding-right: 44px;
      }
      .field select option {
        color: var(--ink);
      }
      .field .chev {
        position: absolute;
        right: 16px;
        top: 50%;
        transform: translateY(-50%);
        color: var(--wine);
        pointer-events: none;
        transition: transform var(--dur-s) var(--ease);
      }
      .field select:focus ~ .chev {
        transform: translateY(-50%) rotate(180deg);
      }
      .pw-toggle {
        position: absolute;
        right: 8px;
        top: 50%;
        transform: translateY(-50%);
        border: 0;
        background: none;
        width: 42px;
        height: 42px;
        border-radius: 50%;
        color: var(--mist);
        transition: all var(--dur-s);
        z-index: 3;
      }
      .pw-toggle:hover {
        color: var(--orange);
        background: var(--orange-soft);
      }
      .field.invalid input,
      .field.invalid select {
        border-color: var(--danger);
        background: #fff5f4;
        animation: shake 0.4s;
      }
      .field.invalid > i.lead-i {
        color: var(--danger);
      }
      .err {
        display: none;
        font-size: 0.76rem;
        color: var(--danger);
        font-weight: 500;
        padding: 0.3rem 0 0 0.4rem;
      }
      .field.invalid .err {
        display: block;
      }
      .field.valid input,
      .field.valid select {
        border-color: rgba(130, 160, 100, 0.55);
      }
      @keyframes shake {
        20%,
        60% {
          transform: translateX(-5px);
        }
        40%,
        80% {
          transform: translateX(5px);
        }
      }

      /* stagger in */
      .view.active .field,
      .view.active .row-extra,
      .view.active .btn-submit,
      .view.active .alt {
        animation: fieldIn var(--dur-l) var(--ease) both;
      }
      .view.active .field:nth-of-type(1) {
        animation-delay: 0.04s;
      }
      .view.active .field:nth-of-type(2) {
        animation-delay: 0.09s;
      }
      .view.active .field:nth-of-type(3) {
        animation-delay: 0.14s;
      }
      .view.active .field:nth-of-type(4) {
        animation-delay: 0.19s;
      }
      .view.active .field:nth-of-type(5) {
        animation-delay: 0.24s;
      }
      .view.active .field:nth-of-type(6) {
        animation-delay: 0.29s;
      }
      .view.active .btn-submit {
        animation-delay: 0.34s;
      }
      .view.active .alt {
        animation-delay: 0.4s;
      }
      @keyframes fieldIn {
        from {
          opacity: 0;
          transform: translateY(20px);
        }
      }

      .row-extra {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
        gap: 0.6rem;
        font-size: 0.88rem;
        margin: 0.2rem 0 1.2rem;
      }
      .form-check-input:checked {
        background-color: var(--orange);
        border-color: var(--orange);
      }
      .form-check-input:focus {
        box-shadow: 0 0 0 0.2rem rgba(249, 137, 72, 0.25);
        border-color: var(--orange);
      }
      .link {
        color: var(--orange);
        font-weight: 600;
        text-decoration: none;
        background: none;
        border: 0;
        padding: 0;
      }
      .link:hover {
        color: var(--wine);
        text-decoration: underline;
      }

      .btn-submit {
        position: relative;
        overflow: hidden;
        width: 100%;
        border: 0;
        padding: 1.05rem 1.5rem;
        border-radius: 999px;
        color: #fff;
        font-family: var(--font-head);
        font-weight: 700;
        font-size: 1rem;
        background: linear-gradient(135deg, var(--orange), #ef7a37);
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.7rem;
        box-shadow: 0 18px 30px -14px rgba(249, 137, 72, 0.9);
        transition: transform var(--dur-s) var(--ease),
          box-shadow var(--dur-s) var(--ease);
      }
      .btn-submit::before {
        content: "";
        position: absolute;
        top: 0;
        left: -60%;
        width: 40%;
        height: 100%;
        background: linear-gradient(
          100deg,
          transparent,
          rgba(255, 255, 255, 0.45),
          transparent
        );
        transform: skewX(-20deg);
        transition: left 0.7s var(--ease);
      }
      .btn-submit:hover {
        transform: translateY(-3px);
        box-shadow: 0 24px 34px -14px rgba(249, 137, 72, 1);
      }
      .btn-submit:hover::before {
        left: 130%;
      }
      .btn-submit:active {
        transform: translateY(0) scale(0.98);
      }
      .btn-submit i {
        transition: transform var(--dur-s) var(--ease);
      }
      .btn-submit:hover i {
        transform: translateX(5px);
      }
      .btn-submit.loading {
        pointer-events: none;
        opacity: 0.9;
      }
      .btn-submit.loading span,
      .btn-submit.loading i {
        opacity: 0;
      }
      .btn-submit.loading::after {
        content: "";
        position: absolute;
        width: 22px;
        height: 22px;
        border: 3px solid rgba(255, 255, 255, 0.4);
        border-top-color: #fff;
        border-radius: 50%;
        animation: spin 0.7s linear infinite;
      }

      .alt {
        text-align: center;
        margin: 1.4rem 0 0;
        font-size: 0.92rem;
      }
      .fine {
        font-size: 0.76rem;
        opacity: 0.75;
        text-align: center;
        margin-top: 1rem;
      }

      /* success */
      .success {
        display: none;
        text-align: center;
        padding: 2rem 0;
      }
      .success.show {
        display: block;
        animation: swap var(--dur-m) var(--ease) both;
      }
      .check {
        width: 92px;
        height: 92px;
        margin: 0 auto 1.4rem;
      }
      .check circle {
        fill: none;
        stroke: var(--sage);
        stroke-width: 6;
      }
      .check .ring {
        stroke: var(--orange);
        stroke-dasharray: 283;
        stroke-dashoffset: 283;
        stroke-linecap: round;
        animation: draw 0.8s var(--ease) 0.1s forwards;
        transform: rotate(-90deg);
        transform-origin: center;
      }
      .check path {
        fill: none;
        stroke: var(--wine);
        stroke-width: 7;
        stroke-linecap: round;
        stroke-linejoin: round;
        stroke-dasharray: 60;
        stroke-dashoffset: 60;
        animation: draw 0.5s var(--ease) 0.7s forwards;
      }
      @keyframes draw {
        to {
          stroke-dashoffset: 0;
        }
      }
      .success h2 {
        font-size: 1.7rem;
        margin-bottom: 0.5rem;
      }
      .confetti {
        position: fixed;
        width: 10px;
        height: 14px;
        top: -20px;
        z-index: 2000;
        pointer-events: none;
        animation: fall linear forwards;
      }
      @keyframes fall {
        to {
          transform: translateY(110vh) rotate(720deg);
          opacity: 0.9;
        }
      }

      @media (prefers-reduced-motion: reduce) {
        * {
          animation: none !important;
          transition: none !important;
        }
      }