/* Public password screen only. Actual access control lives in _worker.js. */
:root {
  --ink: #181818;
  --cream: #f5f2e9;
  --pink: #ff5b96;
  --lime: #d9ff43;
}

* { box-sizing: border-box; }
html { color-scheme: light; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: 'DM Sans', Arial, sans-serif;
}

.page-shell { min-height: 100vh; display: flex; flex-direction: column; }
.site-header {
  min-height: 92px;
  padding: 20px clamp(18px, 4vw, 64px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 2px solid var(--ink);
}
.brand { display: flex; align-items: center; gap: 14px; color: inherit; text-decoration: none; }
.brand img { width: clamp(150px, 18vw, 218px); height: auto; display: block; }
.brand span { font-size: 11px; font-weight: 800; letter-spacing: 1.1px; }
.header-note { font-size: 11px; font-weight: 800; letter-spacing: 1.2px; white-space: nowrap; }
.note-dot { display: inline-block; width: 9px; height: 9px; background: var(--pink); border: 1px solid var(--ink); margin-right: 8px; }

.gate-grid { display: grid; grid-template-columns: 1.03fr 0.97fr; flex: 1; min-height: 650px; }
.poster { background: var(--lime); border-right: 2px solid var(--ink); padding: clamp(30px, 5vw, 78px); position: relative; overflow: hidden; }
.section-label { font-size: 12px; font-weight: 800; letter-spacing: 2px; margin: 0 0 clamp(42px, 7vh, 80px); }
.section-label span { padding: 0 5px; color: var(--pink); font-size: 17px; -webkit-text-stroke: 1px var(--ink); }
.poster h1 {
  font: 700 clamp(86px, 10vw, 180px) / .79 'Space Grotesk', Arial, sans-serif;
  letter-spacing: -.105em;
  margin: 0;
  position: relative;
  z-index: 1;
}
.pink-word { color: var(--pink); -webkit-text-stroke: 2px var(--ink); }
.poster-bottom { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-top: clamp(60px, 10vh, 130px); }
.poster-bottom p { max-width: 340px; font-size: clamp(18px, 1.65vw, 24px); line-height: 1.4; font-weight: 600; margin: 0; }
.burst {
  width: 124px;
  height: 124px;
  flex: none;
  display: grid;
  place-items: center;
  background: var(--pink);
  border: 2px solid var(--ink);
  border-radius: 50%;
  box-shadow: 5px 5px 0 var(--ink);
  transform: rotate(13deg);
}
.burst span { text-align: center; font: 800 14px/1.05 'Space Grotesk', Arial, sans-serif; }
.poster-stamp { position: absolute; bottom: 18px; left: clamp(30px, 5vw, 78px); font-size: 10px; letter-spacing: 2px; font-weight: 800; opacity: .6; transform: translateY(8px); }

.entry-panel { display: grid; place-items: center; padding: clamp(26px, 4vw, 70px); background: var(--cream); }
.entry-card { width: min(100%, 515px); }
.mini-headline { display: flex; align-items: center; gap: 10px; font-size: 11px; font-weight: 800; letter-spacing: 2px; margin-bottom: 30px; }
.mini-headline span:last-child { margin-left: auto; color: var(--pink); font-size: 30px; line-height: 1; }
.hand-drawn-star { color: var(--pink); -webkit-text-stroke: 1px var(--ink); font-size: 29px; }
.lock-icon { width: 91px; height: 91px; display: grid; place-items: center; background: var(--pink); border: 2px solid var(--ink); transform: rotate(-9deg); box-shadow: 5px 5px 0 var(--ink); margin-bottom: 30px; }
.lock-icon svg { width: 70px; height: 70px; transform: rotate(9deg); }
.entry-card h2 { font: 700 clamp(42px, 4.8vw, 73px)/.92 'Space Grotesk', Arial, sans-serif; letter-spacing: -.07em; margin: 0 0 24px; }
.entry-card h2 em { color: var(--pink); font-style: normal; }
.welcome-copy { line-height: 1.55; font-size: 17px; margin: 0 0 34px; max-width: 440px; }
.password-form { display: grid; gap: 10px; }
.password-form label { font-weight: 800; font-size: 12px; letter-spacing: 1px; }
.password-form input {
  width: 100%;
  height: 62px;
  padding: 16px 18px;
  border: 2px solid var(--ink);
  border-radius: 0;
  background: #fff;
  color: var(--ink);
  font-size: 17px;
  letter-spacing: .4px;
}
.password-form input::placeholder { color: #797979; font-weight: 700; letter-spacing: 1.5px; font-size: 12px; }
.password-form button {
  margin-top: 10px;
  min-height: 60px;
  border: 2px solid var(--ink);
  border-radius: 0;
  background: var(--ink);
  color: #fff;
  font: 800 15px 'DM Sans', Arial, sans-serif;
  letter-spacing: 1px;
  box-shadow: 5px 5px 0 var(--pink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 0 23px;
  cursor: pointer;
  transition: transform .12s, box-shadow .12s;
}
.password-form button span { color: var(--lime); font-size: 22px; }
.password-form button:hover { transform: translate(3px, 3px); box-shadow: 2px 2px 0 var(--pink); }
:is(a, input, button):focus-visible { outline: 3px solid var(--pink); outline-offset: 4px; }
.help { margin: 24px 0 0; color: #595959; font-size: 13px; line-height: 1.5; }
.private-note { border-top: 1px solid #bbb8af; margin-top: 44px; padding-top: 17px; font-size: 11px; letter-spacing: .6px; font-weight: 800; }
.private-note span { color: var(--pink); margin-right: 7px; }
.error-message { background: #ffe0ec; border: 2px solid var(--ink); padding: 13px 15px; font-size: 14px; font-weight: 700; margin: 0 0 20px; }

.ticker { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 10px 18px; padding: 18px 25px; background: var(--ink); color: white; font-size: 12px; font-weight: 800; letter-spacing: 1px; }
.ticker span:nth-child(even) { color: var(--pink); }
.site-footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 25px clamp(18px, 4vw, 64px); font-size: 11px; font-weight: 800; letter-spacing: .4px; }

@media (max-width: 980px) {
  .gate-grid { grid-template-columns: 1fr; }
  .poster { border-right: none; border-bottom: 2px solid var(--ink); min-height: 430px; }
  .section-label { margin-bottom: 40px; }
  .poster h1 { font-size: clamp(78px, 13vw, 130px); }
  .poster-bottom { margin-top: 42px; }
  .entry-panel { padding: 55px 26px 75px; }
}
@media (max-width: 550px) {
  .site-header { min-height: 72px; gap: 9px; }
  .brand { gap: 8px; }
  .brand img { width: min(37vw, 157px); }
  .brand span { font-size: 8px; letter-spacing: .3px; }
  .header-note { font-size: 8px; letter-spacing: .3px; }
  .note-dot { width: 6px; height: 6px; margin-right: 3px; }
  .poster { min-height: 390px; padding: 30px 24px; }
  .poster h1 { font-size: clamp(64px, 17vw, 94px); }
  .pink-word { -webkit-text-stroke: 1px var(--ink); }
  .poster-bottom p { font-size: 16px; max-width: 215px; }
  .burst { width: 94px; height: 94px; }
  .burst span { font-size: 11px; }
  .poster-stamp { display: none; }
  .entry-panel { padding: 55px 24px 72px; }
  .entry-card h2 { font-size: clamp(41px, 10.6vw, 58px); }
  .ticker { gap: 9px 12px; font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  .password-form button { transition: none; }
}
