/* Public registration page. Kept identical to the original inline styles so
   the design does not change; only the font files are now self-hosted. */
:root{
  --robe:#5B1220;
  --robe-deep:#430C17;
  --saffron:#F2A900;
  --saffron-deep:#D99400;
  --paper:#F8F5F6;
  --ink:#24161A;
  --muted:#6B5A5F;
  --line:#D9CFD2;
  --lapis:#23407A;
  --night:#000000;   /* sampled from the banner, so the panel continues it without a seam */
  --gold:#E0B255;
  --gold-soft:#C6B393;
  --error:#A3122A;
  --display:"Alegreya", Georgia, "Times New Roman", serif;
  --body:"Alegreya Sans", "Segoe UI", Helvetica, Arial, sans-serif;
}
*{box-sizing:border-box}
[hidden]{display:none !important}
html{-webkit-text-size-adjust:100%}
body{
  margin:0;background:var(--paper);color:var(--ink);
  font-family:var(--body);font-size:1.125rem;line-height:1.5;
}
.layout{display:grid;min-height:100vh;min-height:100dvh}

/* ---------- Event panel ----------
   Black, to continue the banner rather than sit next to it. The warm tints
   that used to come off the maroon are now pulled from the gold lettering. */
.event{
  position:relative;
  background:var(--night);color:#F3EEE6;
  padding:0 0 3rem;
}
.portrait{margin:0}
.portrait img{
  display:block;width:100%;height:auto;
  /* the banner's own black, so there is no seam where it meets the panel */
  background:var(--night);
}
.event-body{padding:1.75rem 1.5rem 0}
.event .sub{
  font-family:var(--display);font-style:italic;font-weight:500;
  font-size:clamp(1.35rem,3.2vw,1.75rem);line-height:1.25;margin:0 0 2.25rem;color:var(--gold);
}
.facts{margin:0 0 2.5rem;padding:0;border-top:1px solid rgba(224,178,85,.28)}
.facts div{
  display:grid;grid-template-columns:6.5rem 1fr;gap:1rem;
  padding:.85rem 0;border-bottom:1px solid rgba(224,178,85,.28);
}
.facts dt{color:var(--gold-soft);font-size:1rem;padding-top:.1rem}
.facts dd{margin:0;font-weight:500}
.facts dd small{display:block;font-weight:400;font-size:1rem;color:var(--gold-soft)}
.facts a{color:inherit;text-underline-offset:.2em}
.jump{display:block;text-align:center;text-decoration:none;font-weight:700;font-size:1.2rem;
  background:var(--saffron);color:var(--ink);border-radius:8px;padding:.9rem;margin:0 0 2.5rem}
.bio{max-width:34rem;margin:0;color:#C2B7A8;font-size:1.0625rem}

/* ---------- Signup panel ---------- */
.signup{padding:1.5rem 1.5rem 3rem;display:flex;flex-direction:column}
.langs{display:flex;gap:.25rem;justify-content:flex-end;margin-bottom:2.5rem}
.langs button{
  font:inherit;font-size:1rem;background:none;border:0;color:var(--muted);
  padding:.35rem .7rem;border-radius:999px;cursor:pointer;
}
.langs button[aria-pressed="true"]{background:var(--robe);color:#fff}
.inner{width:100%;max-width:27rem;margin:0 auto;flex:1}
.signup h2{
  font-family:var(--display);font-weight:700;font-size:2.25rem;line-height:1.1;margin:0 0 .5rem;
}
.intro{margin:0 0 2rem;color:var(--muted)}
.notice{
  margin:0 0 1.5rem;padding:.75rem 1rem;border-left:4px solid var(--saffron);
  background:#FFF4D9;font-size:1rem;
}
.field{margin-bottom:1.35rem}
label,.label{display:block;font-weight:700;font-size:1rem;margin-bottom:.4rem}
input[type=text],input[type=email]{
  width:100%;font:inherit;color:var(--ink);background:#fff;
  border:1.5px solid var(--line);border-radius:8px;padding:.8rem .9rem;
}
input:focus-visible,button:focus-visible,a:focus-visible{
  outline:3px solid var(--lapis);outline-offset:2px;
}
input[aria-invalid="true"]{border-color:var(--error)}
.err{color:var(--error);font-size:.95rem;margin:.35rem 0 0;min-height:0}
.err:empty{display:none}

.stepper{display:inline-flex;align-items:center;border:1.5px solid var(--line);border-radius:8px;background:#fff}
.stepper button{
  font:inherit;font-size:1.5rem;line-height:1;width:3rem;height:3rem;
  background:none;border:0;color:var(--robe);cursor:pointer;border-radius:6px;
}
.stepper button:disabled{color:var(--line);cursor:default}
.stepper output{min-width:3rem;text-align:center;font-weight:700;font-size:1.25rem}

.consent{display:grid;grid-template-columns:1.5rem 1fr;gap:.75rem;align-items:start;font-size:1rem;color:var(--muted)}
.consent input{width:1.35rem;height:1.35rem;margin:.15rem 0 0;accent-color:var(--robe)}
.consent label{font-weight:400;margin:0;font-size:1rem}
.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}

.submit{
  width:100%;font:inherit;font-weight:700;font-size:1.2rem;
  background:var(--saffron);color:var(--ink);border:0;border-radius:8px;
  padding:1rem;margin-top:.75rem;cursor:pointer;transition:background .15s;
}
.submit:hover{background:var(--saffron-deep)}
.submit:disabled{opacity:.6;cursor:progress}
.form-error{margin-top:1rem}
.contact{margin-top:2.5rem;font-size:1rem;color:var(--muted)}
.contact a{color:var(--lapis)}

/* ---------- Success ---------- */
.done{display:none;scroll-margin-top:2rem;outline:none}
.is-done form,.is-done .intro,.is-done .notice,.is-done h2.form-title{display:none}
.is-done .done{display:block}
.check{width:4.5rem;height:4.5rem;margin-bottom:1.25rem}
.check circle{fill:var(--saffron)}
.check path{fill:none;stroke:var(--robe);stroke-width:5;stroke-linecap:round;stroke-linejoin:round;
  stroke-dasharray:40;stroke-dashoffset:40;animation:draw .5s .15s ease-out forwards}
@keyframes draw{to{stroke-dashoffset:0}}
.done h2{margin-bottom:.75rem}
.done p{margin:0 0 1rem}
.summary{border-top:1px solid var(--line);margin:1.5rem 0;padding:0}
.summary div{display:flex;justify-content:space-between;gap:1rem;padding:.7rem 0;border-bottom:1px solid var(--line)}
.summary dt{color:var(--muted)}
.summary dd{margin:0;font-weight:700;text-align:right}
.ghost{
  font:inherit;font-weight:700;background:none;color:var(--robe);
  border:1.5px solid var(--robe);border-radius:8px;padding:.75rem 1.1rem;cursor:pointer;
}
.ghost:hover{background:var(--robe);color:#fff}

@media (min-width:60rem){
  .layout{grid-template-columns:minmax(0,1.05fr) minmax(0,1fr)}
  .event{padding:0 0 4rem}
  .event-body{padding:2.5rem clamp(2.5rem,6vw,6rem) 0}
  .signup{padding:2rem 3rem 4rem}
  .langs{margin-bottom:4.5rem}
  .jump{display:none}
}
@media (prefers-reduced-motion:reduce){
  .check path{animation:none;stroke-dashoffset:0}
  .submit{transition:none}
}

.privacy-foot{margin-top:1.25rem;font-size:.95rem}
.privacy-foot a{color:var(--lapis)}
.is-done .privacy-foot{margin-top:2rem}
