/* Annie & Adrian's Japan 2026 — login screen
   Woodblock palette: cream paper #e7dfc9 / ink #1c1a17 / terracotta #b24e33 */

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: #e7dfc9;
  font-family: "Zen Kaku Gothic New", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  color: #1c1a17;
}

a { color: #b24e33; text-decoration: none; }
a:hover { color: #cf6142; }

/* ---- layout ---- */
.screen {
  min-height: 100dvh;
  width: 100%;
  display: flex;
  position: relative;
  overflow: hidden;
  background: #e7dfc9;
}

.grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  mix-blend-mode: multiply;
  opacity: .4;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---- left poster ---- */
.poster {
  position: relative;
  flex: 1.1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  border-right: 1px solid rgba(28,26,23,.14);
}
.poster-inner { position: relative; max-width: 460px; width: 100%; text-align: center; }

.poster-kanji {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 12px;
  margin-bottom: 6px;
}
.kanji-title {
  font-family: "Zen Antique", serif;
  font-size: clamp(38px, 4vw, 54px);
  line-height: .98;
  color: #1c1a17;
  writing-mode: vertical-rl;
  letter-spacing: .06em;
}
.kanji-sub {
  font-weight: 500;
  font-size: 12px;
  line-height: 1.5;
  color: #3a352c;
  writing-mode: vertical-rl;
  letter-spacing: .12em;
  height: 130px;
  margin-top: 6px;
}

.seal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 2px solid #b24e33;
  border-radius: 6px;
  color: #b24e33;
  font-family: "Zen Antique", serif;
  font-size: 23px;
  margin: 6px 0 16px;
  animation: seal 7s ease-in-out infinite;
}

.cat { display: block; mix-blend-mode: multiply; }
.cat--poster { width: 100%; max-width: 260px; margin: 0 auto; }
.cat--mobile { width: 132px; height: auto; margin: 0 auto; }

.poster-names {
  margin-top: 14px;
  letter-spacing: .4em;
  font-weight: 700;
  font-size: 15px;
  color: #1c1a17;
  padding-left: .4em;
}
.poster-tag {
  margin-top: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: .22em;
  color: #6b6353;
}
.rule { width: 26px; height: 1px; background: rgba(28,26,23,.35); }

/* ---- right form panel ---- */
.panel {
  position: relative;
  flex: 0.9;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 24px;
}
.form-wrap { width: 100%; max-width: 380px; animation: rise .6s ease both; }

.mobile-head { display: none; text-align: center; margin-bottom: 22px; }

.eyebrow {
  font-weight: 700;
  letter-spacing: .32em;
  font-size: 11px;
  color: #b24e33;
  text-transform: uppercase;
  padding-left: .32em;
}
.title {
  font-family: "Zen Antique", serif;
  font-size: clamp(30px, 4.4vw, 42px);
  color: #1c1a17;
  margin: 8px 0 4px;
  line-height: 1;
}
.lede { color: #5a544a; font-size: 14.5px; margin: 0 0 26px; line-height: 1.5; }

.form-error {
  margin: 0 0 16px;
  padding: 11px 13px;
  border: 1.5px solid rgba(178, 78, 51, 0.45);
  border-radius: 10px;
  background: rgba(178, 78, 51, 0.1);
  color: #8a3a24;
  font-size: 13.5px;
  line-height: 1.4;
}

/* ---- form ---- */
.form { display: flex; flex-direction: column; gap: 15px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.label {
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .14em;
  color: #3a352c;
  text-transform: uppercase;
}
.label-row { display: flex; align-items: baseline; justify-content: space-between; }

.input {
  width: 100%;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 15px;
  padding: 13px 15px;
  border: 1.5px solid rgba(28,26,23,.28);
  border-radius: 11px;
  background: #f4efe1;
  color: #1c1a17;
  transition: box-shadow .15s ease, border-color .15s ease;
}
.input::placeholder { color: #9a8f74; }
.input:focus {
  outline: none;
  border-color: #1c1a17;
  box-shadow: 0 0 0 3px rgba(178,78,51,.18);
}

.pw-wrap { position: relative; display: flex; align-items: center; }
.pw-wrap .input { padding-right: 46px; }
.pw-toggle {
  position: absolute;
  right: 6px;
  width: 34px;
  height: 34px;
  border: none;
  background: transparent;
  cursor: pointer;
  color: #6b6353;
  font-family: "Zen Antique", serif;
  font-size: 17px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.remember {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 2px;
  cursor: pointer;
  font-size: 13px;
  color: #5a544a;
}
.remember input { width: 17px; height: 17px; accent-color: #b24e33; }

/* ---- buttons ---- */
.btn {
  width: 100%;
  cursor: pointer;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 700;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.btn--primary {
  margin-top: 8px;
  border: none;
  background: #1c1a17;
  color: #f4efe1;
  font-size: 15px;
  letter-spacing: .06em;
  padding: 15px;
  box-shadow: 0 10px 24px rgba(28,26,23,.28);
}
.btn--primary:hover { background: #000; }
.btn-glyph { font-family: "Zen Antique", serif; font-size: 16px; color: #e0a24f; }

.btn--ghost {
  background: transparent;
  color: #1c1a17;
  font-size: 14px;
  padding: 13px;
  border: 1.5px solid rgba(28,26,23,.32);
}
.btn--ghost:hover { background: rgba(28,26,23,.05); }

/* ---- divider / footnote ---- */
.divider { display: flex; align-items: center; gap: 12px; margin: 22px 0; }
.divider .rule { flex: 1; width: auto; background: rgba(28,26,23,.16); }
.divider-txt { font-size: 11px; letter-spacing: .16em; color: #9a8f74; }

.link--sm { font-size: 11.5px; font-weight: 500; }
.link--bold { font-weight: 700; }
.footnote { text-align: center; font-size: 12.5px; color: #6b6353; margin: 22px 0 0; }

/* ---- responsive: collapse poster on narrow screens ---- */
@media (max-width: 820px) {
  .poster { display: none; }
  .mobile-head { display: block; }
  .panel { flex: 1; }
}

/* ---- keyframes ---- */
@keyframes seal {
  0%, 100% { transform: rotate(-4deg); }
  50% { transform: rotate(2deg); }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
