/* ============================================================
   Design 12 — "SPLIT"
   Bold 50/50 vertical split. Coral left / Charcoal right.
   Graphic poster energy. Plus Jakarta Sans.
   ============================================================ */

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

:root {
  --coral:    #DD6F56;
  --coral-dk: #B85A44;
  --charcoal: #1E1E1E;
  --teal:     #6FA7A3;
  --ash:      #EEECE7;
  --font:     'Plus Jakarta Sans', system-ui, sans-serif;
}

html, body {
  height: 100%;
  overflow: hidden;
  font-family: var(--font);
}

/* ── Split layout ───────────────────────────────────────── */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 100dvh;
}

/* ── Divider logo ───────────────────────────────────────── */

.divider-logo {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 100;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 4px rgba(255,255,255,0.3), 0 8px 32px rgba(0,0,0,0.25);
}

.divider-logo img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

/* ── Panel base ─────────────────────────────────────────── */

.panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2rem 2.5rem;
  overflow: hidden;
}

/* ── Left panel ─────────────────────────────────────────── */

.panel--left {
  background: var(--coral);
  color: #fff;
  animation: slide-in-left 0.7s cubic-bezier(0.22,1,0.36,1) both;
}

.panel__name {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}

.panel__super {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 0.5rem;
}

.panel__word {
  font-size: clamp(4rem, 9vw, 8.5rem);
  font-weight: 800;
  line-height: 0.88;
  letter-spacing: -0.03em;
  color: #fff;
}

.panel__location {
  font-size: 0.62rem;
  font-weight: 300;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-top: 1rem;
}

.panel__copy {
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}

/* ── Right panel ────────────────────────────────────────── */

.panel--right {
  background: var(--charcoal);
  color: var(--ash);
  animation: slide-in-right 0.7s 0.1s cubic-bezier(0.22,1,0.36,1) both;
}

.panel__nav {
  display: flex;
  justify-content: flex-end;
  gap: 1.25rem;
}

.panel__nav a {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
  text-decoration: none;
  transition: color 0.2s;
}

.panel__nav a:hover { color: var(--ash); }

.panel__word--outline {
  color: transparent;
  -webkit-text-stroke: 3px rgba(238,236,231,0.7);
  font-style: italic;
}

.panel__body {
  font-size: 0.88rem;
  line-height: 1.8;
  color: rgba(238,236,231,0.5);
  font-weight: 300;
  max-width: 340px;
  margin-top: 1.25rem;
}

/* ── Form ───────────────────────────────────────────────── */

.form__label {
  display: block;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(238,236,231,0.35);
  margin-bottom: 0.6rem;
}

.form__row { display: flex; }

.form__input {
  flex: 1;
  height: 46px;
  padding: 0 1rem;
  background: rgba(238,236,231,0.06);
  border: 1px solid rgba(238,236,231,0.15);
  border-right: none;
  border-radius: 3px 0 0 3px;
  font-family: var(--font);
  font-size: 0.88rem;
  color: var(--ash);
  outline: none;
  transition: background 0.2s, border-color 0.2s;
}

.form__input::placeholder { color: rgba(238,236,231,0.2); }
.form__input:focus { background: rgba(238,236,231,0.1); border-color: var(--teal); }

.form__btn {
  height: 46px;
  padding: 0 1.25rem;
  background: var(--coral);
  color: #fff;
  border: none;
  border-radius: 0 3px 3px 0;
  font-family: var(--font);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
}

.form__btn:hover { background: var(--coral-dk); }
.form__btn:disabled { opacity: 0.55; cursor: default; }

.form__confirm {
  margin-top: 0.6rem;
  font-size: 0.82rem;
  color: var(--teal);
  font-weight: 600;
}
.form__confirm[hidden] { display: none; }

/* ── Animations ─────────────────────────────────────────── */

@keyframes slide-in-left {
  from { opacity: 0; transform: translateX(-50px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes slide-in-right {
  from { opacity: 0; transform: translateX(50px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* ── Responsive ─────────────────────────────────────────── */

@media (max-width: 700px) {
  html, body { overflow-y: auto; height: auto; }
  .split { grid-template-columns: 1fr; height: auto; }
  .panel--left  { min-height: 45vh; animation: none; }
  .panel--right { min-height: 55vh; animation: none; }
  .divider-logo { top: 45vh; }
  .panel__nav { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; }
}
