/* fluidity application page (27 Nov 2026, Cid): Annie's form (her prototype screenshots 97/98, brief chapters 9.1, 10 and 11).
   Own door, no team-tool code, no cookies; the header strip is graphics of the CI pack only, never a photo of a person. */
@font-face { font-family: "Cascadia"; src: url("/fonts/CascadiaMono-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Cascadia"; src: url("/fonts/CascadiaMono-Bold.ttf") format("truetype"); font-weight: 600 700; font-display: swap; }

:root {
  --aubergine: #260b23; --wine: #5a042e; --pink: #e70353; --pink-text: #ff4f86; --lila: #601c59; --blue: #2b2a6b; --orange: #f57523;
  --surface: #33102f; --input: #1a0718; --line: #4a1a44; --line-strong: #7a4170; --field-line: #5a2a52;
  --ink: #fbeef3; --ink-dim: #d4b3c8; --muted: #a9839c;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--aubergine); color: var(--ink); font-family: "Cascadia", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: 15px; line-height: 1.6; }
[hidden] { display: none !important; }

/* the header visual: her wide strip, always running into the aubergine */
.strip { height: 220px; background: linear-gradient(180deg, rgb(38 11 35 / 0) 35%, var(--aubergine) 100%), url("/img/header.jpg") center / cover no-repeat, var(--wine); }
.top { position: absolute; top: 0; left: 0; right: 0; display: flex; align-items: flex-start; justify-content: space-between; padding: 20px 24px; }
.mark { width: 112px; height: auto; }
.year { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 700; }

.wrap { max-width: 780px; margin: -70px auto 0; padding: 0 20px 64px; position: relative; }
/* on every screen, without script too (Impressum: easy to find, directly reachable) */
.foot { max-width: 780px; margin: 0 auto; padding: 0 20px 32px; display: flex; gap: 20px; font-size: 12px; }
.foot a { display: inline-block; padding: 6px 0; color: var(--muted); }
.foot a:hover { color: var(--ink); }
.state { display: flex; flex-direction: column; gap: 16px; }
h1 { margin: 0; font-size: clamp(32px, 7vw, 48px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; }
h2 { margin: 0; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--pink-text); font-weight: 700; }
.eyebrow { margin: 0; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--pink-text); font-weight: 700; }
.eyebrow.light { color: #ffd0df; }
.text { margin: 0; color: var(--ink-dim); }
.pre { white-space: pre-line; }

/* "Invited by <crew>": her crew card in the lila-to-blue gradient */
.crew { border-radius: 20px; padding: 16px 20px; background: linear-gradient(135deg, var(--lila), var(--blue)); }
.crew p { margin: 0; }
.langs { display: inline-flex; gap: 4px; padding: 4px; background: var(--input); border: 1px solid var(--line); border-radius: 999px; align-self: flex-start; }
.langs button { min-height: 36px; padding: 0 14px; border: 0; border-radius: 999px; background: transparent; color: var(--ink-dim); font: inherit; font-size: 13px; cursor: pointer; }
.langs button[aria-pressed="true"] { background: var(--pink); color: #fff; font-weight: 600; }

form { display: flex; flex-direction: column; gap: 20px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.q { display: flex; flex-direction: column; gap: 6px; }
.q > label, .q > .label { font-size: 13px; font-weight: 600; color: var(--ink); }
.hint { margin: 0; font-size: 12px; color: var(--muted); }
input[type="text"], input[type="email"], input:not([type]), textarea {
  width: 100%; min-height: 46px; padding: 10px 14px; background: var(--input); border: 1px solid var(--field-line); border-radius: 12px;
  color: var(--ink); font: inherit; font-size: 15px;
}
textarea { min-height: 110px; resize: vertical; }
input:hover, textarea:hover { border-color: var(--line-strong); }
input[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--orange); }
.error { margin: 0; font-size: 13px; color: var(--orange); }

/* choices: her pills, the chosen one pink */
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choices.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice span { display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-strong); background: transparent; font-size: 14px; text-align: center; }
.choice input:checked + span { background: var(--pink); border-color: var(--pink); color: #fff; font-weight: 600; }
.choice input:focus-visible + span { outline: 2px solid var(--pink-text); outline-offset: 2px; }

/* the picture: a round preview with her gradient ring */
.photo { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; background: var(--input); border: 1px solid var(--line); border-radius: 16px; padding: 12px 14px; }
.ring { width: 64px; height: 64px; border-radius: 999px; padding: 4px; background: linear-gradient(135deg, var(--orange), var(--pink), var(--lila)); flex: none; }
.ring img, .ring span { display: block; width: 100%; height: 100%; border-radius: 999px; object-fit: cover; background: linear-gradient(135deg, var(--pink), var(--wine), var(--aubergine)); }
.photo .pick { position: relative; }
.photo .pick input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.photo .note { flex: 1 1 180px; }

.tick { display: flex; gap: 12px; align-items: flex-start; font-size: 13px; color: var(--ink-dim); cursor: pointer; }
.tick input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--pink); flex: none; }
.privacy-link { margin: -10px 0 0 32px; font-size: 13px; }      /* under the consent tick its words point to */
.privacy-link a { display: inline-block; padding: 6px 0; color: var(--ink-dim); }
.privacy-link a:hover { color: var(--ink); }
.honey { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

button { min-height: 46px; padding: 0 26px; border-radius: 999px; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; transition: background-color 150ms ease, border-color 150ms ease; }
.primary { background: var(--pink); border: 0; color: #fff; }
.primary:hover { background: #ff1a67; }
.primary:disabled { opacity: 0.6; cursor: default; }
.ghost { background: transparent; border: 1px solid var(--line-strong); color: var(--ink); align-self: flex-start; }
.ghost:hover { border-color: var(--pink); }
.send { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.note { font-size: 12px; color: var(--muted); }
button:focus-visible, input:focus-visible, textarea:focus-visible, a:focus-visible { outline: 2px solid var(--pink-text); outline-offset: 2px; }
h1:focus { outline: none; }

/* the success page: her loop as the accent */
.done { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: 40px 0; }
.loop { width: 96px; height: auto; opacity: 0.9; }

@media (prefers-reduced-motion: reduce) { button { transition: none; } }
@media (max-width: 520px) { .strip { height: 170px; } .card { padding: 18px; border-radius: 20px; } .top { padding: 16px; } .mark { width: 96px; } }
.photo .pick:focus-within button { outline: 2px solid var(--pink-text); outline-offset: 2px; }
