/* ═══════════════════════════════════════════════════════════════════
   WARDYN TECHNOLOGIES — DEMO DAY / REGISTRATION
   Extends wardyn.css. Load after it.
   ═══════════════════════════════════════════════════════════════════ */

/* ── INFO STRIP ───────────────────────────────────────────────────── */
.info-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1px;
  background: var(--steel-700);
  border-block: 1px solid var(--steel-700);
}
.info-tile {
  background: var(--steel-900);
  padding: 1.6rem clamp(1.25rem, 3vw, 2rem);
}
.info-tile .label { margin-bottom: .55rem; }
.info-tile .value {
  display: block;
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.35;
  color: var(--chalk);
}

/* ── SCHEDULE ─────────────────────────────────────────────────────── */
.timeline { list-style: none; margin-top: 1.5rem; }
.timeline li {
  display: grid;
  grid-template-columns: minmax(6.5rem, 8rem) 1fr;
  gap: 1.5rem;
  align-items: baseline;
  padding: .95rem 0;
  border-top: 1px solid var(--hairline);
}
.timeline .time {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: .78rem;
  letter-spacing: .12em;
  color: var(--signal);
}
.timeline .event { font-weight: 700; color: var(--heading); }

/* ── PLAIN LISTS ──────────────────────────────────────────────────── */
.section-list { list-style: none; margin-top: 1.25rem; }
.section-list li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: .6rem;
  max-width: var(--measure);
}
.section-list li::before {
  content: '';
  position: absolute;
  left: 0; top: .68em;
  width: 9px; height: 2px;
  background: var(--signal);
  transform: skewX(-8deg);
}

/* ── TRAVEL ───────────────────────────────────────────────────────── */
.travel-grid {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  background: var(--hairline);
  border: 1px solid var(--hairline);
  margin-top: 1.75rem;
}
.travel-option { background: var(--surface); padding: clamp(1.4rem, 3vw, 1.85rem); }
.travel-label {
  display: block;
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: .7rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--signal);
  margin-bottom: .75rem;
}
.travel-option p { font-size: .95rem; max-width: none; }

/* ── FORM ─────────────────────────────────────────────────────────── */
.register-inner { max-width: 720px; }

.field { margin-bottom: 1.5rem; }
.field-row { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 620px) { .field-row { grid-template-columns: 1fr 1fr; } }

.field label:not(.day-option),
.field .field-legend {
  display: block;
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--steel-300);
  margin-bottom: .6rem;
}
.req { color: var(--signal); }

.field input[type='text'],
.field input[type='email'] {
  width: 100%;
  padding: .85rem 1rem;
  font-family: 'Archivo', system-ui, sans-serif;
  font-size: 1rem;
  color: var(--chalk);
  background: var(--ink);
  border: 1px solid var(--steel-700);
  border-radius: 0;
  transition: border-color .18s ease;
}
.field input::placeholder { color: var(--steel-500); }
.field input:hover { border-color: var(--steel-500); }
.field input:focus-visible { outline: none; border-color: var(--signal); box-shadow: inset 0 0 0 1px var(--signal); }
.field input[aria-invalid='true'] { border-color: var(--signal); }

/* Choice rows — whole row is the target, per mistake-proofing. */
.day-options { display: grid; gap: .6rem; }
.day-option {
  display: flex;
  align-items: flex-start;
  gap: .85rem;
  padding: .95rem 1.1rem;
  background: var(--ink);
  border: 1px solid var(--steel-700);
  cursor: pointer;
  transition: border-color .18s ease, background-color .18s ease;
}
.day-option:hover { border-color: var(--steel-500); }
.day-option input { accent-color: var(--signal); width: 1.1rem; height: 1.1rem; margin-top: .18rem; flex: none; }
.day-option input:focus-visible { outline: 2px solid var(--signal); outline-offset: 2px; }
.day-option span { font-size: .95rem; color: var(--chalk); line-height: 1.45; }
.day-option:has(input:checked) { border-color: var(--signal); background: rgba(200, 16, 46, .07); }

/* Messages */
.field-hint,
.form-error {
  display: none;
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: .72rem;
  letter-spacing: .06em;
  color: var(--signal);
  margin-top: .7rem;
}
.field-hint.visible,
.form-error.visible { display: block; }
.form-error {
  padding: .9rem 1.1rem;
  border: 1px solid var(--signal);
  border-left-width: 3px;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}
.form-error a { color: var(--signal); }

.submit-btn {
  display: inline-block;
  width: 100%;
  padding: 1.05rem 2rem;
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-weight: 500;
  font-size: .78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--paper);
  background: var(--signal);
  border: 1px solid var(--signal);
  border-radius: 0;
  cursor: pointer;
  transition: background-color .18s ease;
}
.submit-btn:hover:not(:disabled) { background: #A80D26; border-color: #A80D26; }
.submit-btn:disabled { opacity: .55; cursor: progress; }

.form-note {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: .7rem;
  line-height: 1.7;
  letter-spacing: .05em;
  color: var(--steel-300);
  margin-top: 1.1rem;
  max-width: none;
}
.closes-note { font-size: .95rem; margin-top: 1rem; }
.closes-note strong { color: var(--chalk); }

/* ── RESULT STATES ────────────────────────────────────────────────── */
.state-panel {
  border: 1px solid var(--steel-700);
  border-left: 3px solid var(--signal);
  padding: clamp(1.75rem, 4vw, 2.5rem);
  background: var(--steel-900);
}
.state-panel .icon {
  width: 34px; height: 34px;
  stroke: var(--signal);
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-bottom: 1.15rem;
}
.state-panel h3 {
  font-size: clamp(1.2rem, 1rem + 1vw, 1.6rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -.01em;
  margin-bottom: .85rem;
}
.state-panel p { color: var(--body); }
.state-panel a { color: var(--signal); }

/* The schedule is a time/description grid; below about 560px the time column
   squeezes the description, so it stacks with the time as a lead-in line. */
@media (max-width: 560px) {
  .timeline li { grid-template-columns: 1fr; gap: .3rem; }
  .timeline .time { font-size: .72rem; }
}
