/* Client login pages (/login). Same fonts + colours as the portal (status.css).
   2026-12-04 (Sam): site look, like the menu (site.css Round 19): film still + film colour bands, form on whitewash. Look only. */
@font-face { font-family: "Instrument Serif"; src: url("/assets/fonts/instrument-serif-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Bricolage Grotesque"; src: url("/assets/fonts/bricolage-grotesque-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Bricolage Grotesque"; src: url("/assets/fonts/bricolage-grotesque-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
:root {
  --bg: #FAF8F4; --card: #FFFFFF; --rule: #E2DCCF; --ink: #13275A; --ink-dim: #4E5A78; --accent: #C81E63; --ok: #2E6B3F;
  --sun: #F5C431; --aegean: #1B4A9C; --mint: #A8DCC8; --bouga: #C81E63; --navy: #13275A;
  --sans: "Bricolage Grotesque", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: var(--bg); color: var(--ink); font: 400 17px/1.55 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: var(--accent); }
.lg-wrap { max-width: 460px; margin: 0 auto; padding: 0 18px 40px; }
.lg-top { display: flex; justify-content: space-between; align-items: center; padding: 22px 0 28px; }
.lg-logo { font: 400 26px/1 var(--serif); color: var(--ink); text-decoration: none; }
.lg-lang { font-size: 14px; color: var(--ink-dim); }
.lg-card { background: var(--card); border: 1px solid var(--rule); border-radius: 18px; padding: clamp(22px, 6vw, 34px); }
.lg-h1 { font: 400 clamp(34px, 9vw, 42px)/1.05 var(--serif); margin: 0 0 10px; }
.lg-lead { margin: 0 0 22px; color: var(--ink-dim); }
.lg-form { display: grid; gap: 16px; }
.lg-form label { display: grid; gap: 6px; font-weight: 600; font-size: 15px; }
.lg-form small { font-weight: 400; color: var(--ink-dim); font-size: 13px; }
.lg-form input { font: inherit; font-weight: 400; font-size: 16px; padding: 13px 14px; border: 1.5px solid var(--rule); border-radius: 10px; background: #fff; color: var(--ink); width: 100%; }
.lg-form input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(19, 39, 90, .12); }
.lg-btn { display: inline-flex; justify-content: center; align-items: center; min-height: 50px; padding: 0 24px; border: 0; border-radius: 999px; background: var(--accent); color: #fff; font: 600 16px/1 var(--sans); text-decoration: none; cursor: pointer; width: 100%; }
.lg-btn:hover { filter: brightness(1.07); }
.lg-btn:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.lg-btn--ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.lg-alt { margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--rule); }
.lg-alt p { margin: 0 0 10px; font-size: 15px; color: var(--ink-dim); }
.lg-note { margin: 0 0 18px; padding: 12px 14px; border-radius: 10px; font-size: 15px; }
.lg-note--bad { background: #FCE8EF; color: #8A1240; }
.lg-note--ok { background: #E6F1E9; color: var(--ok); }
.lg-back { margin: 18px 0 0; font-size: 15px; }
.lg-help { text-align: center; font-size: 14px; color: var(--ink-dim); margin-top: 22px; }
.cf-turnstile { min-height: 65px; }

/* ---------- split layout: film still on one side, form on the other ---------- */
.lg-split { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.lg-film { position: sticky; top: 0; height: 100vh; margin: 0; overflow: hidden; background: var(--navy); color: #fff; }
.lg-film img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lg-film::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 12, 28, 0) 45%, rgba(8, 12, 28, .62) 100%); }
.lg-film figcaption { position: absolute; z-index: 1; left: clamp(24px, 4vw, 56px); right: 24px; bottom: 58px; font: 400 clamp(40px, 4.4vw, 68px)/1 var(--serif); letter-spacing: -.01em; max-width: 12ch; text-shadow: 0 2px 18px rgba(8, 12, 28, .55); }
.lg-bands { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; height: 16px; display: grid; grid-template-columns: repeat(5, 1fr); }
.lg-bands i:nth-child(1) { background: var(--sun); } .lg-bands i:nth-child(2) { background: var(--aegean); } .lg-bands i:nth-child(3) { background: var(--mint); }
.lg-bands i:nth-child(4) { background: var(--bouga); } .lg-bands i:nth-child(5) { background: var(--navy); }
.lg-split .lg-wrap { width: 100%; max-width: 520px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 48px) 40px; align-self: center; }
.lg-split .lg-top { padding: 28px 0 clamp(28px, 6vh, 64px); }
.lg-split .lg-card { background: transparent; border: 0; border-radius: 0; padding: 0; }
.lg-split .lg-h1 { font-size: clamp(44px, 4.6vw, 64px); line-height: 1; margin-bottom: 12px; }
.lg-split .lg-lead { font-size: 18px; }
.lg-split .lg-form input { padding: 15px 16px; font-size: 17px; border-radius: 12px; }
.lg-split .lg-btn { min-height: 56px; font-size: 17px; }
.lg-split .lg-btn:not(.lg-btn--ghost) { background: var(--navy); }
.lg-split .lg-btn:not(.lg-btn--ghost):hover { background: var(--aegean); filter: none; }
.lg-split .lg-alt { border-top: 0; margin-top: 22px; padding: 18px 20px; border-radius: 14px; background: var(--sun); }
.lg-split .lg-alt p { color: var(--navy); font-weight: 600; }
.lg-split .lg-alt .lg-btn--ghost { background: #fff; border-color: var(--navy); }
.lg-split .lg-help { text-align: left; }

/* phone: the still becomes a colour band on top, form below */
@media (max-width: 820px) {
  .lg-split { grid-template-columns: 1fr; }
  .lg-film { position: relative; height: 210px; }
  .lg-film img { object-position: 50% 30%; }
  .lg-film::after { background: linear-gradient(180deg, rgba(8, 12, 28, 0) 20%, rgba(8, 12, 28, .7) 100%); }
  .lg-film figcaption { bottom: 30px; font-size: 34px; max-width: none; }
  .lg-bands { height: 10px; }
  .lg-split .lg-wrap { align-self: start; padding-top: 0; }
  .lg-split .lg-top { padding: 18px 0 22px; }
  .lg-split .lg-h1 { font-size: 42px; }
}
