/* Login: flat brand red on the left (matches the logo's own background so the
   wordmark sits on it with no visible box), black on the right. */
.lg-body { margin: 0; background: #09090b; overflow-x: hidden; }
.lg-body::before { display: none; }

.lg { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); min-height: 100vh; min-height: 100dvh; }

/* ── brand side ─────────────────────────────────────────── */
.lg-brand {
  position: relative; background: #ff002b; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; padding: 28px 36px 0;
}
.lg-brand::after { /* fine grain so the flat red feels printed, not digital */
  content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; opacity: 0.06; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
.lg-top { display: flex; justify-content: space-between; gap: 12px; position: relative; z-index: 2; }
.lg-chip { font-size: 11.5px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: #fff; background: #000; padding: 7px 12px; border-radius: 999px; }

.lg-mark-wrap { margin: 0; position: relative; z-index: 2; display: flex; justify-content: center; align-items: center; flex: 1; min-height: 0; padding: 8px 0; }
.lg-mark { width: clamp(420px, calc((100vh - 520px) * 2), 960px); max-width: 100%; height: auto; display: block; animation: lg-pop 0.9s cubic-bezier(0.2, 1.3, 0.4, 1) both, lg-float 7s ease-in-out 1s infinite; }

/* thumbnails as stickers: white edge, black outline, like the logo */
.lg-reel { position: relative; z-index: 1; margin-top: auto; padding-bottom: 20px; transform: rotate(-5deg) translateY(30px); width: 120%; margin-left: -10%; display: grid; gap: 18px; }
.lg-row { overflow: hidden; padding: 12px 0; }
.lg-track { display: flex; gap: 18px; width: max-content; will-change: transform; }
.lg-row-a .lg-track { animation: lg-drift-l 70s linear infinite; }
.lg-row-b .lg-track { animation: lg-drift-r 80s linear infinite; }
.lg-track img {
  height: clamp(150px, 23vh, 250px); width: auto; aspect-ratio: 16 / 9; object-fit: cover; flex-shrink: 0;
  border: 4px solid #fff; border-radius: 6px; box-shadow: 0 0 0 4px #000, 0 14px 0 4px rgba(0,0,0,0.22);
}
.lg-row-a .lg-track img:nth-child(odd) { transform: rotate(-1.4deg); }
.lg-row-a .lg-track img:nth-child(even) { transform: rotate(1.2deg) translateY(4px); }
.lg-row-b .lg-track img:nth-child(odd) { transform: rotate(1.3deg); }
.lg-row-b .lg-track img:nth-child(even) { transform: rotate(-1.1deg) translateY(-3px); }

@keyframes lg-drift-l { to { transform: translateX(-50%); } }
@keyframes lg-drift-r { from { transform: translateX(-50%); } to { transform: translateX(0); } }
@keyframes lg-pop { from { opacity: 0; transform: scale(0.82) rotate(-4deg); } to { opacity: 1; transform: none; } }
@keyframes lg-float { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-8px) rotate(-0.8deg); } }
@keyframes lg-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ── form side ──────────────────────────────────────────── */
.lg-form { position: relative; display: flex; align-items: center; justify-content: center; padding: 40px 28px; background: #09090b; overflow: hidden; }
.lg-form::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: #000; box-shadow: 0 0 0 0 transparent; }
.lg-card { position: relative; width: min(420px, 100%); animation: lg-rise 0.8s 0.2s both; }

.lg-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 18px; }
.lg-dot { width: 8px; height: 8px; border-radius: 50%; background: #ff002b; box-shadow: 0 0 0 4px rgba(255,0,43,0.22); animation: lg-pulse 2.2s ease-in-out infinite; }
@keyframes lg-pulse { 50% { box-shadow: 0 0 0 8px rgba(255,0,43,0); } }
.lg-title { font-family: var(--font-display); font-weight: 700; font-size: clamp(44px, 5vw, 64px); line-height: 0.95; margin: 0 0 14px; color: #fff; letter-spacing: 0.005em; }
.lg-sub { font-size: 15px; line-height: 1.6; color: var(--text-dim); margin: 0 0 26px; max-width: 38ch; }
.lg-msg { margin: 0 0 16px; padding: 11px 14px; border-radius: 10px; font-size: 13.5px; font-weight: 600; color: #fff; background: rgba(255,0,43,0.14); border: 1px solid rgba(255,0,43,0.5); }

.lg-btn {
  position: relative; display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; padding: 17px 22px;
  border-radius: 14px; background: #ff002b; color: #fff; text-decoration: none; font-weight: 800; font-size: 16px; letter-spacing: 0.01em;
  box-shadow: 0 0 0 2px #000, 5px 6px 0 2px #000, 0 18px 40px -10px rgba(255,0,43,0.55);
  transition: transform 0.15s cubic-bezier(0.2, 1.4, 0.4, 1), box-shadow 0.15s;
  overflow: hidden;
}
.lg-btn svg { width: 22px; height: 22px; flex-shrink: 0; }
.lg-btn::before { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,0.28) 50%, transparent 70%); transform: translateX(-120%); transition: transform 0.6s; }
.lg-btn:hover { transform: translate(-2px, -2px); box-shadow: 0 0 0 2px #000, 8px 9px 0 2px #000, 0 22px 46px -10px rgba(255,0,43,0.65); }
.lg-btn:hover::before { transform: translateX(120%); }
.lg-btn:active { transform: translate(3px, 4px); box-shadow: 0 0 0 2px #000, 2px 2px 0 2px #000, 0 8px 20px -8px rgba(255,0,43,0.5); }
.lg-btn:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.lg-arrow { font-style: normal; font-size: 20px; transition: transform 0.2s; }
.lg-btn:hover .lg-arrow { transform: translateX(5px); }

.lg-list { list-style: none; margin: 34px 0 0; padding: 22px 0 0; border-top: 1px solid rgba(255,255,255,0.1); display: grid; gap: 16px; }
.lg-list li { display: flex; gap: 14px; align-items: flex-start; }
.lg-ico { width: 36px; height: 36px; border-radius: 10px; flex-shrink: 0; display: grid; place-items: center; background: rgba(255,0,43,0.12); border: 1px solid rgba(255,0,43,0.38); color: #ff3b57; }
.lg-ico .icon { width: 17px; height: 17px; }
.lg-list b { display: block; font-size: 14px; color: #fff; }
.lg-list span:not(.lg-ico) { display: block; font-size: 12.5px; color: var(--text-faint); line-height: 1.5; margin-top: 2px; }
.lg-fine { margin: 26px 0 0; font-size: 11.5px; color: var(--text-faint); }

/* ── responsive ─────────────────────────────────────────── */
@media (max-width: 960px) {
  .lg { grid-template-columns: 1fr; }
  .lg-brand { padding: 20px 20px 0; min-height: 56vh; }
  .lg-mark { width: min(560px, 96%); }
  .lg-reel { transform: rotate(-4deg) translateY(18px); }
  .lg-track img { height: clamp(110px, 17vh, 160px); }
  .lg-form::before { width: 100%; height: 6px; bottom: auto; }
  .lg-form { padding: 36px 20px 44px; }
}
@media (max-width: 480px) {
  .lg-brand { min-height: 50vh; }
}
@media (prefers-reduced-motion: reduce) {
  .lg-mark, .lg-card, .lg-row-a .lg-track, .lg-row-b .lg-track, .lg-dot { animation: none; }
  .lg-btn, .lg-btn::before, .lg-arrow { transition: none; }
}
