/* ==========================================================================
   Impact Conference 2026 — Dominion
   Brand palette inspired by the conference poster.
   ========================================================================== */

:root {
  --orange-900: #5a1a00;
  --orange-700: #b8390a;
  --orange-600: #e0521a;
  --orange-500: #f26b1f;
  --orange-400: #ff8a3d;
  --orange-300: #ffb070;
  --amber-100: #fff3e0;
  --yellow-400: #ffd400;
  --yellow-300: #ffe066;
  --cream: #fffaf3;
  --ink-900: #1a0d04;
  --ink-700: #3a2616;
  --ink-500: #6a523f;
  --ink-300: #b8a594;
  --line: #f1e4d3;
  --white: #ffffff;
  --shadow-sm: 0 2px 8px rgba(180, 70, 10, 0.08);
  --shadow-md: 0 8px 24px rgba(180, 70, 10, 0.12);
  --shadow-lg: 0 24px 60px rgba(180, 70, 10, 0.18);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
    sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-900);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--orange-700);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--ink-900);
}
h1 { font-size: clamp(2.4rem, 6vw, 4.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
h3 { font-size: 1.25rem; }
p  { color: var(--ink-700); }

.lead {
  font-size: 1.15rem;
  color: var(--ink-700);
  max-width: 60ch;
}

/* Layout helpers */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
}
.section {
  padding: clamp(3rem, 8vw, 6rem) 0;
}
.center { text-align: center; }
.muted  { color: var(--ink-500); }

/* ==========================================================================
   Navigation
   ========================================================================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 250, 243, 0.92);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.25rem;
  max-width: 1100px;
  margin: 0 auto;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 800;
  font-family: 'Plus Jakarta Sans', sans-serif;
  letter-spacing: -0.01em;
  color: var(--ink-900);
  text-decoration: none;
}
.nav-brand:hover { text-decoration: none; }
.nav-logo {
  height: 38px;
  width: auto;
  display: block;
}
.nav-divider {
  display: inline-block;
  width: 1px;
  height: 28px;
  background: var(--line);
}
.nav-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  gap: 0.2rem;
}
.nav-brand-tag {
  font-family: 'Anton', sans-serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--orange-700);
  font-size: 0.9rem;
}
.nav-brand .badge {
  background: linear-gradient(135deg, var(--orange-500), var(--orange-700));
  color: white;
  padding: 0.15rem 0.5rem;
  border-radius: 5px;
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  font-weight: 700;
  align-self: flex-start;
}
@media (max-width: 540px) {
  .nav-logo { height: 32px; }
  .nav-brand-text { display: none; }
  .nav-divider { display: none; }
}
.nav-links {
  display: flex;
  gap: 1.25rem;
  align-items: center;
}
.nav-links a {
  color: var(--ink-700);
  font-weight: 500;
  font-size: 0.95rem;
}
@media (max-width: 640px) {
  .nav-links a:not(.btn) { display: none; }
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: transform 0.12s ease, box-shadow 0.18s ease, background 0.18s;
  text-decoration: none;
  font-family: inherit;
}
.btn-primary {
  background: linear-gradient(135deg, var(--orange-500), var(--orange-700));
  color: white;
  box-shadow: var(--shadow-md);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
  text-decoration: none;
}
.btn-secondary {
  background: white;
  color: var(--orange-700);
  border: 2px solid var(--orange-300);
}
.btn-secondary:hover {
  background: var(--amber-100);
  text-decoration: none;
}
.btn-ghost {
  background: transparent;
  color: var(--ink-700);
}
.btn-ghost:hover { color: var(--orange-700); text-decoration: none; }
.btn-large { padding: 1.05rem 2rem; font-size: 1.05rem; }
.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 80% -10%, var(--yellow-300) 0%, transparent 55%),
    radial-gradient(ellipse at 20% 110%, var(--orange-400) 0%, transparent 55%),
    linear-gradient(180deg, #ffe6c2 0%, #ffd0a3 60%, #ff9d59 100%);
  padding: clamp(3rem, 8vw, 6rem) 0 clamp(4rem, 10vw, 7rem);
  color: var(--ink-900);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 3rem;
  align-items: center;
}
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.5);
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(6px);
}
.hero h1 {
  font-family: 'Anton', 'Plus Jakarta Sans', sans-serif;
  font-weight: 400;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  -webkit-text-stroke: 1px rgba(255,255,255,0.4);
  background: linear-gradient(180deg, #fff 0%, #ffe6b6 50%, #ffb56b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 6px 30px rgba(180, 60, 10, 0.45);
  line-height: 0.95;
  font-size: clamp(3.5rem, 11vw, 7rem);
}
.hero-subtitle {
  font-size: 1.15rem;
  margin: 1.25rem 0 2rem;
  color: var(--ink-900);
  max-width: 36ch;
}
.hero-meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
  max-width: 460px;
}
.hero-meta div {
  background: rgba(255, 255, 255, 0.55);
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(6px);
}
.hero-meta dt {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--orange-700);
  font-weight: 700;
}
.hero-meta dd {
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--ink-900);
  margin-top: 0.15rem;
}
.hero-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.hero-poster {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transform: rotate(2deg);
  border: 6px solid white;
}
.hero-poster img {
  width: 100%;
  height: auto;
  display: block;
}
@media (max-width: 860px) {
  .hero-poster { transform: none; max-width: 360px; margin: 0 auto; }
}

/* ==========================================================================
   Workshops list (landing page)
   ========================================================================== */
.workshops-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}
.workshop-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  transition: box-shadow 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
}
.workshop-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.workshop-card .pill {
  display: inline-block;
  background: var(--amber-100);
  color: var(--orange-700);
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  align-self: flex-start;
  margin-bottom: 0.85rem;
}
.workshop-card h3 {
  margin-bottom: 0.25rem;
}
.workshop-card .tagline {
  font-style: italic;
  color: var(--ink-500);
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}
.workshop-card .age {
  font-size: 0.85rem;
  color: var(--orange-700);
  font-weight: 600;
  margin-bottom: 0.85rem;
}
.workshop-card p {
  font-size: 0.94rem;
  line-height: 1.55;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: var(--ink-900);
  color: #f3e7d8;
  padding: 3rem 0 2rem;
  margin-top: 3rem;
}
.footer p { color: #cdb8a3; font-size: 0.9rem; }
.footer a { color: var(--yellow-300); }
.footer-logo { height: 48px; width: auto; display: block; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer h4 {
  color: white;
  margin-bottom: 0.6rem;
  font-size: 1rem;
  letter-spacing: 0.02em;
}
.footer .copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.25rem;
  text-align: center;
  font-size: 0.82rem;
}

/* ==========================================================================
   Registration wizard
   ========================================================================== */
.wizard {
  max-width: 820px;
  margin: 0 auto;
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
  overflow: hidden;
}
.wizard-header {
  padding: 1.5rem 2rem;
  background: linear-gradient(135deg, #fff8ee 0%, #ffe6c2 100%);
  border-bottom: 1px solid var(--line);
}
.wizard-header h2 {
  font-size: 1.4rem;
  margin-bottom: 0.25rem;
}
.wizard-header p {
  font-size: 0.9rem;
  color: var(--ink-500);
}
.wizard-body {
  padding: 2rem;
}
@media (max-width: 600px) {
  .wizard-body { padding: 1.25rem; }
  .wizard-header { padding: 1.25rem; }
}
.wizard-footer {
  padding: 1.25rem 2rem;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  background: #fffaf3;
}
@media (max-width: 600px) {
  .wizard-footer { padding: 1rem 1.25rem; flex-direction: column-reverse; }
  .wizard-footer .btn { width: 100%; }
}

/* Progress bar */
.progress {
  display: flex;
  gap: 0.4rem;
  padding: 0 2rem;
  margin-top: 1rem;
}
@media (max-width: 600px) { .progress { padding: 0 1.25rem; } }
.progress span {
  flex: 1;
  height: 6px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.07);
}
.progress span.active {
  background: linear-gradient(90deg, var(--orange-500), var(--yellow-400));
}

/* Step transitions */
.step {
  display: none;
  animation: fadeIn 0.35s ease;
}
.step.active {
  display: block;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Choice cards (registration type) */
.choice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}
@media (max-width: 540px) {
  .choice-grid { grid-template-columns: 1fr; }
}
.choice-card {
  border: 2px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  cursor: pointer;
  background: white;
  text-align: left;
  font: inherit;
  color: inherit;
  transition: border-color 0.18s, transform 0.18s, box-shadow 0.18s;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.choice-card:hover {
  border-color: var(--orange-400);
  transform: translateY(-2px);
}
.choice-card.selected {
  border-color: var(--orange-600);
  background: linear-gradient(135deg, #fff8ee 0%, #ffefd5 100%);
  box-shadow: var(--shadow-sm);
}
.choice-card .icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}
.choice-card h3 { font-size: 1.15rem; }
.choice-card p { font-size: 0.9rem; color: var(--ink-500); }

/* Form fields */
.field {
  margin-bottom: 1.1rem;
}
.field label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
  color: var(--ink-700);
}
.field .req { color: var(--orange-700); }
.input, .select, .textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  font: inherit;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--line);
  background: white;
  color: var(--ink-900);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--orange-500);
  box-shadow: 0 0 0 3px rgba(242, 107, 31, 0.15);
}
.field-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 540px) { .field-grid-2 { grid-template-columns: 1fr; } }

/* Family counters */
.family-builder {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.25rem;
}
.counter-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fffaf3;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  gap: 1rem;
}
.counter-row .label-block strong {
  display: block;
  font-size: 1rem;
  color: var(--ink-900);
}
.counter-row .label-block small {
  color: var(--ink-500);
  font-size: 0.82rem;
}
.counter {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.counter-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid var(--orange-300);
  background: white;
  color: var(--orange-700);
  font-size: 1.25rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  transition: background 0.15s, transform 0.1s;
}
.counter-btn:hover { background: var(--amber-100); }
.counter-btn:active { transform: scale(0.95); }
.counter-btn:disabled { opacity: 0.4; cursor: not-allowed; }
.counter-value {
  min-width: 28px;
  text-align: center;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--ink-900);
}

/* Person cards */
.person-card {
  border: 1.5px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-bottom: 1rem;
  background: white;
}
.person-card h4 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--orange-700);
  margin-bottom: 0.85rem;
  font-weight: 800;
}
.person-card .person-meta {
  font-size: 0.85rem;
  color: var(--ink-500);
  margin-bottom: 0.85rem;
}

/* Workshop selector inside person card */
.workshop-options {
  display: grid;
  gap: 0.6rem;
  margin-top: 0.5rem;
}
.workshop-option {
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  cursor: pointer;
  background: white;
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font: inherit;
  color: inherit;
  text-align: left;
  width: 100%;
}
.workshop-option:hover { border-color: var(--orange-400); }
.workshop-option:focus-visible {
  outline: none;
  border-color: var(--orange-500);
  box-shadow: 0 0 0 3px rgba(242, 107, 31, 0.2);
}
.workshop-option-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--orange-300);
  background: white;
  flex: 0 0 auto;
  margin-top: 0.15rem;
  position: relative;
  transition: border-color 0.15s, background 0.15s;
}
.workshop-option.selected {
  border-color: var(--orange-600);
  background: #fffaf3;
  box-shadow: var(--shadow-sm);
}
.workshop-option.selected .workshop-option-dot {
  border-color: var(--orange-600);
  background: var(--orange-600);
  box-shadow: inset 0 0 0 3px white;
}
.workshop-option-body strong {
  display: block;
  font-size: 0.98rem;
}
.workshop-option-body small {
  color: var(--ink-500);
  font-size: 0.85rem;
  display: block;
  margin-top: 0.15rem;
}
.workshop-option-body em {
  display: block;
  font-style: normal;
  color: var(--orange-700);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  margin-top: 0.35rem;
}
.assigned-workshop {
  background: var(--amber-100);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  color: var(--orange-700);
  font-weight: 600;
}
.assigned-workshop strong { display: block; color: var(--ink-900); font-size: 1rem; }

/* Review summary */
.summary {
  background: #fffaf3;
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-bottom: 1rem;
  border: 1.5px solid var(--line);
}
.summary h4 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--orange-700);
  font-weight: 800;
  margin-bottom: 0.5rem;
}
.summary dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem 1rem;
  font-size: 0.95rem;
}
.summary dt { color: var(--ink-500); }
.summary dd { color: var(--ink-900); font-weight: 600; }
.summary table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 0.6rem;
  font-size: 0.92rem;
}
.summary th, .summary td {
  text-align: left;
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--line);
}
.summary th {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-500);
  font-weight: 700;
}

/* Validation */
.error-banner {
  background: #fff0eb;
  border: 1.5px solid #ffb39a;
  color: #a32a00;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
  font-size: 0.9rem;
  font-weight: 600;
}
.field.has-error .input,
.field.has-error .select {
  border-color: #d65a2c;
  background: #fff7f3;
}

/* Confirmation */
.confirm-card {
  max-width: 640px;
  margin: 0 auto;
  background: white;
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
}
.confirm-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange-500), var(--orange-700));
  color: white;
  font-size: 2.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  box-shadow: var(--shadow-md);
}
.confirm-card h1 { font-size: 2rem; margin-bottom: 0.75rem; }
.confirm-card p { margin-bottom: 0.75rem; }
.confirm-card .ref-code {
  display: inline-block;
  background: var(--amber-100);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  margin: 1rem 0;
  color: var(--orange-700);
  letter-spacing: 0.04em;
}

/* Loading */
.spinner {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2.5px solid rgba(255,255,255,0.4);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
