/* ============================================================
   Registration page — extends styles.css
   Mobile first, same tokens and type as the summit landing page.
   ============================================================ */

.reg-body{ padding-top:var(--navh); }

.reg{ display:block; }


/* ---------- page head ---------- */

.reg-head{ padding:44px 0 30px; }
.reg-head h1{
  font-size:clamp(34px,9vw,64px); line-height:1.05;
  color:var(--ink); margin:12px 0 0;
}
.reg-sub{
  font-size:15px; color:var(--ink-2);
  max-width:60ch; margin:16px 0 0;
}
@media (min-width:900px){
  .reg-head{ padding:76px 0 46px; }
  .reg-sub{ font-size:16.5px; margin-top:18px; }
}


/* ---------- layout ---------- */

.reg-layout{
  display:grid; grid-template-columns:1fr;
  gap:40px; padding-bottom:72px; align-items:start;
}
@media (min-width:1000px){
  .reg-layout{ grid-template-columns:1.5fr .8fr; gap:56px; padding-bottom:110px; }
  .reg-aside{ position:sticky; top:calc(var(--navh) + 22px); }
}
@media (min-width:1200px){ .reg-layout{ gap:72px; } }


/* ---------- fieldsets ---------- */

.fs{ border:none; margin:0 0 34px; padding:0; }
.fs-legend{
  display:flex; align-items:baseline; gap:12px;
  font-family:var(--f-serif); font-size:22px; color:var(--ink);
  padding:0 0 14px; margin-bottom:20px; width:100%;
  border-bottom:1px solid var(--cream-3);
}
.fs-num{
  flex:none; display:grid; place-items:center;
  width:30px; height:24px;
  background:var(--brown); color:var(--gold-pale);
  font-size:12.5px; letter-spacing:.06em;
}
@media (min-width:900px){ .fs{ margin-bottom:44px; } .fs-legend{ font-size:25px; } }


/* ---------- registration type cards ---------- */

.type-grid{ display:grid; grid-template-columns:1fr; gap:10px; }
@media (min-width:700px){ .type-grid{ grid-template-columns:1fr 1fr; gap:12px; } }

.type{ display:block; cursor:pointer; }
.type input{
  position:absolute; opacity:0;
  width:1px; height:1px; margin:-1px; overflow:hidden;
}
.type-box{
  display:block; height:100%;
  padding:18px 18px 20px;
  background:var(--cream-2);
  border:1px solid var(--cream-3);
  border-left:3px solid var(--cream-3);
  transition:background .25s, border-color .25s;
}
.type-name{
  display:block; font-family:var(--f-serif);
  font-size:20px; color:var(--ink); line-height:1.2;
}
.type-when{
  display:block; margin-top:6px;
  font-size:9.5px; letter-spacing:.16em; text-transform:uppercase;
  color:var(--gold-dim);
}
.type-desc{
  display:block; margin-top:10px;
  font-size:13px; line-height:1.6; color:var(--ink-2);
}

.type input:checked + .type-box{
  background:var(--brown);
  border-color:var(--brown);
  border-left-color:var(--gold);
}
.type input:checked + .type-box .type-name{ color:var(--gold-pale); }
.type input:checked + .type-box .type-when{ color:var(--gold-lt); }
.type input:checked + .type-box .type-desc{ color:#C6C4B0; }
.type input:focus-visible + .type-box{ outline:2px solid var(--gold); outline-offset:3px; }
@media (hover:hover){
  .type:hover .type-box{ border-left-color:var(--gold); }
}


/* ---------- day picker ----------
   A pass is any set of days, so the choice is four checkboxes rather than a
   pass type plus a dropdown. Seat counts are live: the hall holds 1,500 on any
   given day, so Day 1 can sell out while Day 3 is half empty, and a day that
   is full has to look unavailable before someone fills in the whole form. */

.day-hint{
  margin:0 0 12px; max-width:62ch;
  font-size:13px; line-height:1.65; color:var(--ink-2);
}

.day-grid{ display:grid; grid-template-columns:1fr 1fr; gap:10px; }
@media (min-width:820px){ .day-grid{ grid-template-columns:repeat(4,1fr); gap:12px; } }

.day{ display:block; cursor:pointer; }
.day input{
  position:absolute; opacity:0;
  width:1px; height:1px; margin:-1px; overflow:hidden;
}
.day-box{
  display:block; height:100%;
  padding:15px 15px 16px;
  background:var(--cream-2);
  border:1px solid var(--cream-3);
  border-left:3px solid var(--cream-3);
  transition:background .25s, border-color .25s;
}
.day-no{
  display:block; font-family:var(--f-serif);
  font-size:19px; color:var(--ink); line-height:1.2;
}
.day-date{
  display:block; margin-top:5px;
  font-size:9.5px; letter-spacing:.16em; text-transform:uppercase;
  color:var(--gold-dim);
}
.day-theme{
  display:block; margin-top:9px;
  font-size:12.5px; line-height:1.55; color:var(--ink-2);
}
.day-seats{
  display:block; margin-top:11px;
  font-size:11.5px; letter-spacing:.02em; color:var(--ink-3);
}

.day input:checked + .day-box{
  background:var(--brown);
  border-color:var(--brown);
  border-left-color:var(--gold);
}
.day input:checked + .day-box .day-no{ color:var(--gold-pale); }
.day input:checked + .day-box .day-date{ color:var(--gold-lt); }
.day input:checked + .day-box .day-theme{ color:#C6C4B0; }
.day input:checked + .day-box .day-seats{ color:var(--gold-lt); }
.day input:focus-visible + .day-box{ outline:2px solid var(--gold); outline-offset:3px; }
@media (hover:hover){
  .day:hover .day-box{ border-left-color:var(--gold); }
}

/* A sold-out day is struck through rather than merely dimmed. Dimming alone
   reads as "not selected", which is the state next to it. */
.day input:disabled + .day-box{
  opacity:.55; cursor:not-allowed;
  background:var(--cream); border-style:dashed;
}
.day.is-full{ cursor:not-allowed; }
.day.is-full .day-no{ text-decoration:line-through; }
.day.is-full .day-seats{ color:#9A3412; font-weight:600; }
@media (hover:hover){
  .day.is-full:hover .day-box{ border-left-color:var(--cream-3); }
}


/* ---------- sponsorship tiers ----------
   Every tier is a fixed number of slots, so the count is part of the offer and
   not a footnote. Same treatment as a sold-out day: taken is struck through and
   unselectable, because a sponsor who fills in a whole form for a tier that was
   already gone has been wasted. */

.sp-tier-grid{ display:grid; grid-template-columns:1fr; gap:10px; }
@media (min-width:640px){ .sp-tier-grid{ grid-template-columns:1fr 1fr; gap:12px; } }

.sp-tier{ display:block; cursor:pointer; }
.sp-tier input{
  position:absolute; opacity:0;
  width:1px; height:1px; margin:-1px; overflow:hidden;
}
.sp-tier-box{
  display:block; height:100%;
  padding:17px 17px 18px;
  background:var(--cream-2);
  border:1px solid var(--cream-3);
  border-left:3px solid var(--cream-3);
  transition:background .25s, border-color .25s;
}
.sp-tier-name{
  display:block; font-family:var(--f-serif);
  font-size:20px; color:var(--ink); line-height:1.2;
}
.sp-tier-price{
  display:block; margin-top:6px;
  font-size:9.5px; letter-spacing:.16em; text-transform:uppercase;
  color:var(--gold-dim);
}
.sp-tier-desc{
  display:block; margin-top:10px;
  font-size:12.5px; line-height:1.6; color:var(--ink-2);
}
.sp-tier-slots{
  display:block; margin-top:12px;
  font-size:11.5px; letter-spacing:.02em; color:var(--ink-3);
}

.sp-tier input:checked + .sp-tier-box{
  background:var(--brown);
  border-color:var(--brown);
  border-left-color:var(--gold);
}
.sp-tier input:checked + .sp-tier-box .sp-tier-name{ color:var(--gold-pale); }
.sp-tier input:checked + .sp-tier-box .sp-tier-price{ color:var(--gold-lt); }
.sp-tier input:checked + .sp-tier-box .sp-tier-desc{ color:#C6C4B0; }
.sp-tier input:checked + .sp-tier-box .sp-tier-slots{ color:var(--gold-lt); }
.sp-tier input:focus-visible + .sp-tier-box{ outline:2px solid var(--gold); outline-offset:3px; }
@media (hover:hover){
  .sp-tier:hover .sp-tier-box{ border-left-color:var(--gold); }
}

.sp-tier input:disabled + .sp-tier-box{
  opacity:.55; cursor:not-allowed;
  background:var(--cream); border-style:dashed;
}
.sp-tier.is-full{ cursor:not-allowed; }
.sp-tier.is-full .sp-tier-name{ text-decoration:line-through; }
.sp-tier.is-full .sp-tier-slots{ color:#9A3412; font-weight:600; }
@media (hover:hover){
  .sp-tier.is-full:hover .sp-tier-box{ border-left-color:var(--cream-3); }
}

.sp-tier-foot{
  margin:14px 0 0; font-size:12.5px; line-height:1.6; color:var(--ink-2);
}


/* ---------- fields ---------- */

.field-grid{ display:grid; grid-template-columns:1fr; gap:0; }
@media (min-width:700px){ .field-grid{ grid-template-columns:1fr 1fr; gap:0 26px; } }

.field{ margin:0 0 18px; display:block; }
.field label{
  display:block; margin-bottom:7px;
  font-size:10.5px; font-weight:500;
  letter-spacing:.14em; text-transform:uppercase;
  color:var(--ink-2);
}
.field label b{ color:var(--gold-dim); font-weight:500; }
.field .opt{
  letter-spacing:.06em; text-transform:none;
  color:var(--ink-3); font-weight:300;
}

.field input,
.field select,
.field textarea{
  width:100%;
  min-height:var(--tap);
  padding:11px 14px;
  font-family:var(--f-sans); font-size:15px; font-weight:300;
  color:var(--ink);
  background:var(--cream);
  border:1px solid var(--cream-3);
  border-radius:0;
  transition:border-color .25s, background .25s;
  -webkit-appearance:none; appearance:none;
}
/* iOS Safari zooms the page in on any field it focuses that is under 16px, and
   then leaves the form sitting half off-screen. Only touch devices need the
   bigger type, so the 15px above still applies on a desktop. */
@media (pointer:coarse){
  .field input,
  .field select,
  .field textarea{ font-size:16px; }
}

.field textarea{ min-height:112px; resize:vertical; line-height:1.6; }

.field select{
  background-image:
    linear-gradient(45deg,transparent 50%,var(--ink-2) 50%),
    linear-gradient(135deg,var(--ink-2) 50%,transparent 50%);
  background-position:calc(100% - 18px) 50%, calc(100% - 13px) 50%;
  background-size:5px 5px, 5px 5px;
  background-repeat:no-repeat;
  padding-right:38px;
}

.field input:focus,
.field select:focus,
.field textarea:focus{
  outline:none; border-color:var(--gold); background:#fff;
}
.field input::placeholder,
.field textarea::placeholder{ color:#A8A48E; }

.field.is-bad input,
.field.is-bad select,
.field.is-bad textarea{ border-color:#A93116; background:#FBEFEC; }

.err{
  display:none; margin-top:6px;
  font-size:11.5px; color:#A93116;
}
.field.is-bad .err,
.check.is-bad .err{ display:block; }

.cond{ overflow:hidden; }

/* consent */
.check{
  display:grid; grid-template-columns:auto 1fr;
  gap:0 12px; margin:22px 0 0; align-items:start;
}
.check input{
  width:20px; height:20px; margin:2px 0 0;
  accent-color:var(--gold-dim);
  flex:none;
}
.check label{
  margin:0; font-size:13.5px; line-height:1.55;
  letter-spacing:0; text-transform:none; font-weight:300;
  color:var(--ink-2);
}
.check label b{ color:var(--gold-dim); }
.check .err{ grid-column:2; }


/* ---------- submit ---------- */

.submit-row{
  display:flex; flex-direction:column; align-items:flex-start; gap:14px;
  padding-top:26px; border-top:1px solid var(--cream-3);
}
.submit-row .btn{ width:100%; }
@media (min-width:520px){ .submit-row .btn{ width:auto; } }
.submit-note{
  font-size:12.5px; color:var(--ink-3); margin:0; max-width:52ch;
}
#submitBtn[disabled]{ opacity:.55; pointer-events:none; }

.form-error{
  margin:18px 0 0; padding:13px 16px;
  background:#FBEFEC; border-left:3px solid #A93116;
  font-size:13px; color:#8A2712;
}


/* ---------- aside ---------- */

.summary{ background:var(--brown); color:var(--cream); padding:24px; }
.sum-h{
  font-size:9.5px; letter-spacing:.2em; text-transform:uppercase;
  color:var(--gold-lt); margin:0 0 16px;
}
.summary dl{ margin:0; }
.summary dl > div{
  display:flex; justify-content:space-between; gap:16px;
  padding:10px 0; border-bottom:1px solid rgba(233,200,123,.16);
}
.summary dl > div:last-child{ border-bottom:none; }
.summary dt{ font-size:12.5px; color:#B8B19A; }
.summary dd{
  margin:0; font-size:12.5px; font-weight:500;
  text-align:right; color:var(--cream);
}

.aside-art{ margin:20px 0 0; }
.aside-art figcaption{
  margin-top:10px; font-size:11px; color:var(--ink-3); line-height:1.5;
}

.aside-note{ margin-top:26px; padding-top:20px; border-top:1px solid var(--cream-3); }
.aside-note h3{ font-size:19px; }


/* ---------- success ---------- */

.done{ padding:64px 0 80px; text-align:center; }
@media (min-width:900px){ .done{ padding:110px 0 140px; } }

.done-inner{ display:flex; flex-direction:column; align-items:center; }
.done-diya{ width:70px; margin-bottom:22px; }
.done h2{ font-size:clamp(32px,8vw,54px); line-height:1.06; color:var(--ink); }
.done-lede{
  font-size:15.5px; color:var(--ink-2);
  max-width:50ch; margin:16px 0 0;
}
.done .btn{ margin-top:30px; }

.done-warn{
  margin:24px 0 0; padding:14px 18px;
  background:#FBF3E2; border-left:3px solid #9A6B0C;
  font-size:13px; line-height:1.6; color:#6E4C08;
  max-width:62ch; text-align:left;
}
.done-warn b{ font-weight:600; }


/* ---------- footer tweak ---------- */

.reg-foot{ padding-top:70px; }
.reg-foot .foot-sky{ display:none; }
@media (min-width:900px){ .reg-foot{ padding-top:100px; } }


/* ============================================================
   ADDITIONS — three-form registration system
   Hub page + Entry Pass / Booth / Performer forms.
   ============================================================ */

/* the [hidden] attribute must beat the display rules on
   .reg-layout / .field / .fs used for conditional blocks */
[hidden]{ display:none !important; }


/* ---------- hub: choose a registration ---------- */

.hub-layout{ padding-bottom:84px; }
@media (min-width:900px){ .hub-layout{ padding-bottom:120px; } }

.hub-grid{ display:grid; grid-template-columns:1fr; gap:14px; }
@media (min-width:760px){ .hub-grid{ grid-template-columns:repeat(3,1fr); gap:16px; } }

.hub-card{
  display:flex; flex-direction:column; height:100%;
  padding:26px 24px 24px;
  background:var(--cream-2);
  border:1px solid var(--cream-3);
  border-top:3px solid var(--gold);
  text-decoration:none; color:var(--ink);
  transition:background .25s ease, transform .25s ease, border-color .25s ease;
}
@media (hover:hover){
  .hub-card:hover{ background:#fff; transform:translateY(-3px); }
}
.hub-card:focus-visible{ outline:2px solid var(--gold); outline-offset:3px; }
.hub-num{
  font-size:9.5px; letter-spacing:.2em; text-transform:uppercase;
  color:var(--gold-dim);
}
.hub-card h2{
  font-family:var(--f-serif); font-size:23px; line-height:1.16;
  color:var(--ink); margin:12px 0 0;
}
.hub-card p{ font-size:13px; line-height:1.62; color:var(--ink-2); margin:10px 0 0; }
.hub-price{
  margin:14px 0 0; font-size:12px; color:var(--ink-3);
  padding-top:12px; border-top:1px solid var(--cream-3);
}
.hub-price b{ color:var(--ink); font-weight:600; }
.hub-go{
  margin-top:auto; padding-top:20px;
  font-size:10.5px; letter-spacing:.16em; text-transform:uppercase;
  color:var(--gold-dim);
}
.hub-go i{
  display:inline-block; width:16px; height:1px; background:currentColor;
  vertical-align:middle; margin-left:8px; transition:width .25s ease;
}
@media (hover:hover){ .hub-card:hover .hub-go i{ width:26px; } }

.hub-note{
  margin:34px 0 0; padding:16px 18px;
  background:var(--cream-2); border-left:3px solid var(--gold);
  font-size:12.5px; line-height:1.65; color:var(--ink-2);
}


/* ---------- generic group blocks inside a fieldset ---------- */

.fs-block{ margin:0 0 20px; }
.fs-block:last-child{ margin-bottom:0; }

.group-label{
  display:block; margin-bottom:10px;
  font-size:10.5px; font-weight:500;
  letter-spacing:.14em; text-transform:uppercase; color:var(--ink-2);
}
.group-label b{ color:var(--gold-dim); font-weight:500; }
.group-label .opt{
  letter-spacing:.06em; text-transform:none; color:var(--ink-3); font-weight:300;
}

.field-wide{ grid-column:1 / -1; }

.hint{
  display:block; margin-top:7px;
  font-size:11px; line-height:1.55; color:var(--ink-3);
}

.fs-block .err,
.field-wide .err{ display:none; margin-top:8px; font-size:11.5px; color:#A93116; }
.fs-block.is-bad .err,
.field-wide.is-bad .err{ display:block; }


/* ---------- standalone inputs (repeat rows etc.) ---------- */

.inp{
  width:100%; min-height:var(--tap);
  padding:11px 14px;
  font-family:var(--f-sans); font-size:15px; font-weight:300;
  color:var(--ink); background:var(--cream);
  border:1px solid var(--cream-3); border-radius:0;
  -webkit-appearance:none; appearance:none;
  transition:border-color .25s, background .25s;
}
.inp:focus{ outline:none; border-color:var(--gold); background:#fff; }


/* ---------- chips: multi-select + compact radio ---------- */

.chip-group{ display:flex; flex-wrap:wrap; gap:8px; }
.chip{ position:relative; cursor:pointer; display:block; }
.chip input{
  position:absolute; opacity:0; width:1px; height:1px;
  margin:-1px; overflow:hidden;
}
.chip span{
  display:block; padding:10px 15px;
  font-size:12.5px; line-height:1.2; color:var(--ink-2);
  background:var(--cream); border:1px solid var(--cream-3);
  transition:background .2s, color .2s, border-color .2s;
}
.chip span b{ font-weight:500; color:var(--ink); }
.chip span em{ font-style:normal; color:var(--ink-3); }
.chip input:checked + span{
  background:var(--brown); color:var(--gold-pale); border-color:var(--brown);
}
.chip input:checked + span b,
.chip input:checked + span em{ color:var(--gold-pale); }
.chip input:focus-visible + span{ outline:2px solid var(--gold); outline-offset:2px; }
@media (hover:hover){ .chip:hover span{ border-color:var(--gold); } }


/* ---------- booth map ---------- */

.booth-map{
  display:grid; grid-template-columns:repeat(6,1fr); gap:6px;
  margin:2px 0 0;
}
@media (min-width:560px){ .booth-map{ grid-template-columns:repeat(10,1fr); } }
@media (min-width:1000px){ .booth-map{ grid-template-columns:repeat(12,1fr); } }

.booth{ position:relative; }
.booth input{
  position:absolute; inset:0; width:100%; height:100%;
  margin:0; opacity:0; cursor:pointer;
}
.booth span{
  display:grid; place-items:center; height:40px;
  font-size:11px; color:var(--ink-2);
  background:var(--cream); border:1px solid var(--cream-3);
  transition:background .2s, color .2s, border-color .2s;
}
.booth input:checked + span{
  background:var(--gold); color:#221E13; border-color:var(--gold); font-weight:600;
}
.booth input:focus-visible + span{ outline:2px solid var(--gold); outline-offset:2px; }
.booth.taken span{
  background:var(--cream-3); color:var(--ink-3);
  text-decoration:line-through; opacity:.55;
}
.booth.taken input{ cursor:not-allowed; }
@media (hover:hover){ .booth:not(.taken):hover span{ border-color:var(--gold); } }

.booth-legend{
  display:flex; flex-wrap:wrap; gap:8px 20px;
  margin-top:14px; font-size:11px; color:var(--ink-3);
}
.booth-legend span{ display:flex; align-items:center; gap:7px; }
.booth-legend i{
  width:13px; height:13px; border:1px solid var(--cream-3); display:block;
}
.booth-legend i.free{ background:var(--cream); }
.booth-legend i.sel{ background:var(--gold); border-color:var(--gold); }
.booth-legend i.taken{ background:var(--cream-3); }


/* ---------- repeat rows: group members ---------- */

.repeat{ display:grid; gap:10px; margin-top:2px; }
.repeat-row{
  display:grid; grid-template-columns:1fr 1fr auto; gap:10px; align-items:center;
}
@media (max-width:620px){
  .repeat-row{ grid-template-columns:1fr 1fr; }
  .repeat-row .repeat-del{ grid-column:2; justify-self:end; }
}

.btn-mini{
  min-height:var(--tap); padding:0 16px;
  background:none; border:1px solid var(--cream-3); color:var(--ink-2);
  font-family:var(--f-sans); font-size:11px; letter-spacing:.1em;
  text-transform:uppercase; cursor:pointer;
  transition:border-color .2s, color .2s;
}
.btn-mini:hover{ border-color:var(--gold); color:var(--ink); }
.repeat-del{ padding:0 12px; line-height:1; }
.repeat-add{ margin-top:12px; }


/* ---------- file upload ---------- */

.file input[type="file"]{
  width:100%; font-family:var(--f-sans); font-size:12.5px; color:var(--ink-2);
  padding:9px 0;
}
.file input[type="file"]::file-selector-button{
  margin-right:14px; padding:10px 15px;
  font-family:var(--f-sans); font-size:10px; letter-spacing:.1em;
  text-transform:uppercase; color:var(--ink-2);
  background:var(--cream-2); border:1px solid var(--cream-3);
  cursor:pointer; transition:border-color .2s, color .2s;
}
.file input[type="file"]::file-selector-button:hover{
  border-color:var(--gold); color:var(--ink);
}


/* ---------- live totals panel ---------- */

.totals{
  margin:4px 0 0; padding:18px 20px;
  background:var(--brown); color:var(--cream);
}
.totals-h{
  font-size:9.5px; letter-spacing:.2em; text-transform:uppercase;
  color:var(--gold-lt); margin:0 0 14px;
}
.totals dl{ margin:0; display:grid; gap:9px; }
.totals dl > div{
  display:flex; justify-content:space-between; gap:16px;
  font-size:12.5px; align-items:baseline;
}
.totals dt{ color:#B8B19A; }
.totals dd{ margin:0; text-align:right; color:var(--cream); font-variant-numeric:tabular-nums; }
.totals .t-grand{
  margin-top:4px; padding-top:12px;
  border-top:1px solid rgba(233,200,123,.22);
}
.totals .t-grand dt{ color:var(--cream); }
.totals .t-grand dd{ color:var(--gold-pale); font-size:17px; font-weight:600; }
.totals .t-note{
  display:block; margin-top:12px; font-size:11px; line-height:1.55; color:#B8B19A;
}


/* ---------- age / conditional helper text ---------- */

.age-out{
  display:inline-block; margin-top:8px;
  font-size:11.5px; color:var(--ink-3);
}
.age-out b{ color:var(--gold-dim); font-weight:600; }


/* ---------- success: provisional reference ---------- */

.done-ref{
  margin:16px 0 0; font-size:11px; letter-spacing:.16em; text-transform:uppercase;
  color:var(--ink-3);
}
.done-ref b{ color:var(--gold-dim); font-weight:600; letter-spacing:.1em; }


/* ---------- aside: registration steps list ---------- */

.aside-steps{ margin-top:24px; }
.aside-steps ol{
  margin:12px 0 0; padding:0; list-style:none;
  counter-reset:step;
}
.aside-steps li{
  position:relative; padding:0 0 12px 30px;
  font-size:12px; line-height:1.55; color:var(--ink-2);
  counter-increment:step;
}
.aside-steps li::before{
  content:counter(step);
  position:absolute; left:0; top:0;
  width:20px; height:20px; display:grid; place-items:center;
  background:var(--cream-2); border:1px solid var(--cream-3);
  font-size:10px; color:var(--ink-3);
}

/* ---------- payment brands ----------
   khalti.svg is the official mark, taken from Khalti's own CDN
   (khalti-static.s3.ap-south-1.amazonaws.com/.../images/khalti-logo.svg).
   It is the current red wordmark; Khalti moved off the older purple.

   It sits on a white plate on purpose. Khalti's own guidance is a colour logo
   on white and a white logo on colour, and we only have the colour file — so
   a plate keeps it legible and on-brand when the chip flips to brown on
   selection, instead of red-on-maroon. Do not recolour the mark. */

.pay-brand{ font-weight:700; letter-spacing:-.01em; }
.pay-esewa { color:#60BB46; }   /* eSewa green — styled wordmark, not the official mark */
.chip-pay input:checked + .pay-brand{ color:inherit; }

/* The logo chip carries its own padding so the white plate, not the chip,
   is what hugs the mark. Height is tuned so the 'khalti' wordmark reads at the
   same weight as the eSewa chip beside it — the SVG's viewBox includes the
   paper plane above the word, so the type is only ~60% of the box height. */
.chip-pay .pay-brand:has(img){ padding:6px 10px; }
.pay-brand img{
  display:block; height:23px; width:auto;
  background:#fff; padding:3px 7px; border-radius:5px;
}

.pay-note{
  margin-top:10px; padding:11px 13px; border-radius:8px;
  background:rgba(225,145,47,.10); border:1px solid rgba(225,145,47,.32);
  font-size:12.5px; line-height:1.55; max-width:52ch;
}

/* 10% of every ticket fee goes to the Prime Minister Relief Fund. Stated on the
   form before payment, not only afterwards on the ticket, because it is part of
   what someone is agreeing to when they pay. */
.relief-pledge{
  margin-top:18px; padding:13px 15px; border-radius:9px;
  background:rgba(225,145,47,.10); border-left:3px solid var(--saffron,#E1912F);
  font-size:13px; line-height:1.6; max-width:56ch;
}
.relief-pledge b{ display:block; margin-bottom:2px; }

/* Prose links inside a form. Neither stylesheet resets the anchor, and these
   are the first in-copy links any of the forms carry, so without this they
   render as default browser blue on cream — the one colour the palette does not
   contain. */
.reg-form .sp-tier-foot a,
.reg-form .relief-pledge a,
.reg-form .day-hint a{
  color:var(--gold-dim);
  text-decoration:underline;
  text-underline-offset:2px;
  text-decoration-thickness:1px;
}
@media (hover:hover){
  .reg-form .sp-tier-foot a:hover,
  .reg-form .relief-pledge a:hover,
  .reg-form .day-hint a:hover{ color:var(--ink); }
}


/* ---------- bank transfer ----------
   Shown when Bank transfer is chosen, and again on the confirmation screen
   where the booking reference finally exists.

   The QR is STATIC. It carries the account and nothing else, so it cannot
   prefill an amount and cannot carry a reference. That makes the remarks line
   load-bearing rather than decorative: without it an incoming payment is
   anonymous, and the details are spelled out in full because a QR is useless
   to someone paying from a laptop or wiring in from abroad. */

.bank{ margin-top:4px; }
.bank-grid{
  display:grid; grid-template-columns:1fr; gap:20px; align-items:start;
  padding:18px; background:var(--cream-2);
  border:1px solid var(--cream-3); border-left:3px solid var(--gold);
}
@media (min-width:660px){ .bank-grid{ grid-template-columns:auto 1fr; gap:26px; } }

.bank-qr{ margin:0; }
.bank-qr img{
  display:block; width:190px; height:auto;
  background:#fff; padding:8px; border:1px solid var(--cream-3);
}
.bank-qr figcaption{
  margin-top:8px; max-width:190px;
  font-size:11px; line-height:1.5; color:var(--ink-3);
}

.bank-detail h3{
  margin:0 0 12px; font-family:var(--f-serif);
  font-size:18px; font-weight:500; color:var(--ink);
}
.bank-dl{ margin:0 0 14px; }
.bank-dl > div{
  display:flex; flex-wrap:wrap; gap:4px 12px;
  padding:6px 0; border-bottom:1px solid rgba(0,0,0,.06);
}
.bank-dl > div:last-child{ border-bottom:none; }
.bank-dl dt{
  flex:0 0 130px;
  font-size:10.5px; letter-spacing:.1em; text-transform:uppercase;
  color:var(--gold-dim); padding-top:2px;
}
.bank-dl dd{ margin:0; font-size:14px; color:var(--ink); }
/* An account number is copied by hand off a screen, so it gets a face where
   1 and l, and 0 and O, cannot be confused. */
.bank-dl dd.mono{
  font-family:ui-monospace, "SF Mono", "Cascadia Mono", Consolas, monospace;
  font-size:14.5px; letter-spacing:.02em; word-break:break-all;
}

.bank-ref{
  margin:0; padding:11px 13px;
  background:rgba(225,145,47,.12); border:1px solid rgba(225,145,47,.35);
  font-size:12.5px; line-height:1.6; color:var(--ink-2); max-width:52ch;
}
.bank-ref b{ display:block; margin-bottom:3px; color:var(--ink); }

.bank-ref-code{
  display:inline-block; margin:4px 0 6px;
  font-family:ui-monospace, "SF Mono", "Cascadia Mono", Consolas, monospace;
  font-size:15px; font-weight:600; letter-spacing:.04em;
  color:var(--ink); background:#fff;
  padding:4px 10px; border:1px solid var(--cream-3);
}

/* On the confirmation screen the panel sits on the dark done background. */
.done-bank{ margin:22px auto 26px; max-width:720px; text-align:left; }
.done-bank h3{
  margin:0 0 12px; font-family:var(--f-serif);
  font-size:20px; font-weight:500; color:var(--gold-pale); text-align:center;
}


/* ---------- pay now, on the confirmation screen ----------
   Khalti is settled after the booking exists, not during the form. If the
   payment fails or is abandoned, the visitor still has a reference and the team
   can still find them — losing the whole registration at the payment step would
   be a far worse failure than an unpaid booking. */

.done-pay{
  margin:20px auto 4px; max-width:420px;
  padding:18px 20px 20px;
  background:var(--cream-2);
  border:1px solid var(--cream-3);
  border-top:3px solid var(--gold);
}
/* The confirmation screen sits on cream, not on the brown used elsewhere, so
   this panel takes ink on light rather than the pale gold that belongs on dark. */
.done-pay-amount{
  margin:0 0 14px;
  font-family:var(--f-serif); font-size:26px; color:var(--ink);
}
.done-pay .btn{ margin:0; }
.done-pay-note{
  margin:12px 0 0;
  font-size:12.5px; line-height:1.6; color:var(--ink-2);
}


/* The four-day saving. Green because it is money back, and it only appears when
   there is actually a saving to show — a permanent "discount" line that reads
   zero most of the time trains people to ignore it. */
.t-save dt{ color:var(--gold-lt); }
.t-save dd{ color:#7FBF7F; font-weight:600; }


/* Where to send a file, now that the forms no longer pretend to accept one. */
.receipt-note, .artwork-note{
  margin:0; padding:12px 14px;
  background:rgba(225,145,47,.10); border:1px solid rgba(225,145,47,.32);
  font-size:12.5px; line-height:1.65; color:var(--ink-2); max-width:56ch;
}
.receipt-note b, .artwork-note b{ display:block; margin-bottom:3px; color:var(--ink); }
