/* ==========================================================================
   Jumpstart Workshop — a one-page site.

   Palette, type and chrome follow The Safety Apprentice (safetyapprentice.com),
   of which this is a subdomain. Light mode only: paper background, ink text,
   terracotta accent.
   ========================================================================== */

:root {
  --paper: #F8F3EC;
  --paper-tint: #F2EADF;
  --card: #FFFCF7;
  --ink: #2C2520;
  --ink-body: #4A413A;
  --ink-soft: #6B6058;
  --ink-faint: #8B7E72;
  --ink-dim: #A89E94;
  --line: #E8E0D4;
  --line-strong: #E0D6C8;

  --accent: #B85C38;
  --accent-2: #C2793D;
  --accent-3: #A45B5B;

  --content-width: 820px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 90px; }
body {
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  font-family: 'DM Sans', sans-serif;
  color: var(--ink);
}
::selection { background: color-mix(in srgb, var(--accent) 20%, transparent); color: var(--ink); }

@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  10% { transform: translate(-2%, -2%); }
  30% { transform: translate(3%, -1%); }
  50% { transform: translate(-1%, 3%); }
  70% { transform: translate(2%, 1%); }
  90% { transform: translate(-3%, 2%); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* film grain overlay */
body::before {
  content: '';
  position: fixed; inset: 0; pointer-events: none; z-index: 1000; opacity: 0.025;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  animation: grain 4s steps(6) infinite;
}

/* ------------------------------------------------------------ backdrop -- */
.map-bg {
  position: absolute; top: 0; left: 0; right: 0; height: 820px;
  overflow: hidden; pointer-events: none; z-index: 0;
}
.map-bg__img {
  position: absolute; inset: 0; top: -280px;
  background-image: url('neurons.png');
  background-size: cover; background-position: center; background-repeat: no-repeat;
  opacity: 0.09; filter: saturate(0.4) sepia(0.25);
}
.map-bg__fade-bottom {
  position: absolute; bottom: 0; left: 0; right: 0; height: 340px;
  background: linear-gradient(to top, var(--paper) 0%, var(--paper) 15%, transparent 100%);
}
.map-bg__fade-top {
  position: absolute; top: 0; left: 0; right: 0; height: 80px;
  background: linear-gradient(to bottom, var(--paper) 0%, transparent 100%);
}

/* ------------------------------------------------------------------ nav -- */
.nav-bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 16px 32px; display: flex; align-items: center;
  justify-content: space-between; gap: 16px; transition: all 0.35s ease;
}
.nav-bar.scrolled {
  background: rgba(248, 243, 236, 0.88);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(232, 224, 212, 0.6);
  padding: 12px 32px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo__icon {
  width: 32px; height: 32px; border-radius: 10px; flex-shrink: 0;
  background: linear-gradient(135deg, #B85C38 0%, #C2793D 100%);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 8px rgba(184, 92, 56, 0.25);
  color: #FFFFFF;
}
.nav-logo__icon svg { width: 20px; height: 20px; display: block; }
.nav-logo__text {
  font-family: 'Lora', serif; font-weight: 700; font-size: 17px; color: var(--ink);
}
.nav-links { display: flex; gap: 4px; align-items: center; }
.nav-link {
  font-size: 13.5px; font-weight: 500; color: var(--ink-soft); text-decoration: none;
  padding: 8px 14px; border-radius: 8px; transition: all 0.2s ease; white-space: nowrap;
}
.nav-link:hover { background: rgba(184, 92, 56, 0.06); color: var(--ink); }
.nav-link--cta {
  margin-left: 6px; font-weight: 600; color: #FFFCF7;
  background: linear-gradient(135deg, #B85C38 0%, #C2793D 100%);
  box-shadow: 0 2px 8px rgba(184, 92, 56, 0.2);
}
.nav-link--cta:hover {
  color: #FFFCF7; box-shadow: 0 4px 14px rgba(184, 92, 56, 0.3);
  background: linear-gradient(135deg, #B85C38 0%, #C2793D 100%);
}

@media (max-width: 700px) {
  .nav-bar, .nav-bar.scrolled { padding: 12px 18px; }
  .nav-links .nav-link:not(.nav-link--cta) { display: none; }
  .nav-logo__text { font-size: 15px; }
}

/* ----------------------------------------------------------------- hero -- */
.hero {
  text-align: center; padding: 150px 32px 0;
  max-width: 800px; margin: 0 auto; position: relative; z-index: 1;
}
.hero__eyebrow {
  display: inline-block; font-size: 11.5px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent);
  background: color-mix(in srgb, var(--accent) 7%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 18%, transparent);
  padding: 6px 14px; border-radius: 100px; margin-bottom: 24px;
  animation: fadeInUp 0.8s ease both; animation-delay: 0.1s;
}
.hero h1 {
  font-family: 'Lora', serif; font-size: clamp(34px, 5.4vw, 56px);
  font-weight: 700; color: var(--ink); line-height: 1.15; margin-bottom: 22px;
  animation: fadeInUp 0.8s ease both; animation-delay: 0.2s;
}
.hero h1 span {
  background: linear-gradient(135deg, var(--accent), var(--accent-2), var(--accent-3));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero .tagline {
  font-size: 18px; color: var(--ink-soft); line-height: 1.7;
  max-width: 620px; margin: 0 auto;
  animation: fadeInUp 0.8s ease both; animation-delay: 0.35s;
}
.hero__cta {
  display: inline-flex; align-items: center; gap: 9px; margin-top: 32px;
  font-size: 15px; font-weight: 600; text-decoration: none; color: #FFFCF7;
  background: linear-gradient(135deg, #B85C38 0%, #C2793D 100%);
  padding: 14px 28px; border-radius: 12px;
  box-shadow: 0 2px 10px rgba(184, 92, 56, 0.22);
  transition: all 0.25s ease;
  animation: fadeInUp 0.8s ease both; animation-delay: 0.5s;
}
.hero__cta:hover {
  transform: translateY(-2px); box-shadow: 0 8px 24px rgba(184, 92, 56, 0.3);
}
.hero__cta i { font-style: normal; transition: transform 0.25s ease; }
.hero__cta:hover i { transform: translateX(3px); }

/* --------------------------------------------------------------- facts -- */
.facts {
  max-width: var(--content-width); margin: 56px auto 0; padding: 0 32px;
  position: relative; z-index: 1;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
}
.fact {
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  padding: 18px 18px 16px; box-shadow: 0 2px 8px rgba(120, 80, 40, 0.04);
}
.fact__label {
  font-size: 11px; font-weight: 600; letter-spacing: 0.09em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 7px;
}
.fact__value {
  font-family: 'Lora', serif; font-size: 17px; font-weight: 600;
  color: var(--ink); line-height: 1.3;
}
.fact__note { font-size: 12.5px; color: var(--ink-faint); margin-top: 5px; line-height: 1.5; }

@media (max-width: 760px) { .facts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 420px) { .facts { grid-template-columns: 1fr; } }

/* -------------------------------------------------------------- content -- */
.section {
  max-width: var(--content-width); margin: 0 auto; padding: 64px 32px 0;
  position: relative; z-index: 1;
}
.band { background: var(--paper-tint); margin-top: 72px; padding-bottom: 64px; }
.band .section { padding-top: 64px; }
.band .item, .band .fact { border-color: #E6DACB; }

.section__label {
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 10px;
}
.section h2 {
  font-family: 'Lora', serif; font-size: clamp(25px, 3.4vw, 31px);
  font-weight: 600; color: var(--ink); line-height: 1.25; margin-bottom: 18px;
}
.section h3 {
  font-family: 'Lora', serif; font-size: 19px; font-weight: 600;
  color: var(--ink); margin: 30px 0 10px;
}
.section p {
  font-size: 15.5px; color: var(--ink-body); line-height: 1.75; margin-bottom: 16px;
  max-width: 72ch;
}
.section p:last-child { margin-bottom: 0; }
.section a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.section a:hover { color: var(--accent-2); }
.lead { font-size: 17px !important; color: var(--ink-soft) !important; }

.fade-in {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ---------------------------------------------------------------- stats -- */
.stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 26px 0 8px;
}
.stat {
  border-left: 3px solid color-mix(in srgb, var(--accent) 45%, transparent);
  padding: 4px 0 4px 16px;
}
.stat__num {
  font-family: 'Lora', serif; font-size: 34px; font-weight: 700;
  color: var(--accent); line-height: 1; margin-bottom: 8px;
}
.stat__desc { font-size: 13.5px; color: var(--ink-soft); line-height: 1.55; }

@media (max-width: 620px) { .stats { grid-template-columns: 1fr; gap: 14px; } }

/* -------------------------------------------------------------- agenda -- */
.agenda { margin-top: 8px; }
.step {
  display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 20px;
  padding: 20px 0; border-bottom: 1px solid var(--line);
}
.step:first-child { border-top: 1px solid var(--line); }
.band .step { border-color: #E6DACB; }
.step__num {
  font-family: 'Lora', serif; font-size: 28px; font-weight: 700;
  color: var(--accent); opacity: 0.35; line-height: 1;
}
.step__name {
  font-family: 'Lora', serif; font-size: 18px; font-weight: 600;
  color: var(--ink); margin-bottom: 6px; line-height: 1.35;
}
.step__desc { font-size: 14.5px; color: var(--ink-soft); line-height: 1.65; }

@media (max-width: 520px) {
  .step { grid-template-columns: 1fr; gap: 8px; }
  .step__num { font-size: 22px; }
}

/* --------------------------------------------------------------- cards -- */
.items-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 24px; }
.item {
  background: var(--card); border-radius: 16px; border: 1px solid var(--line);
  padding: 22px 22px 20px;
  transition: all 0.35s cubic-bezier(0.23, 1, 0.32, 1);
  box-shadow: 0 2px 8px rgba(120, 80, 40, 0.04);
}
.item:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(120, 80, 40, 0.1), 0 4px 12px rgba(120, 80, 40, 0.05);
}
.item__name {
  font-family: 'Lora', serif; font-size: 18px; font-weight: 600;
  color: var(--ink); margin-bottom: 8px; line-height: 1.3;
}
.item__desc { font-size: 14px; color: var(--ink-soft); line-height: 1.65; }

@media (max-width: 700px) { .items-grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ instructor -- */
.bio {
  display: flex; gap: 26px; align-items: flex-start; flex-wrap: wrap;
  background: var(--card); border: 1px solid var(--line); border-radius: 16px;
  padding: 26px 28px; margin-top: 8px;
  box-shadow: 0 2px 8px rgba(120, 80, 40, 0.04);
}
.bio__photo {
  width: 108px; height: 108px; border-radius: 14px; object-fit: cover;
  flex-shrink: 0; border: 1px solid var(--line-strong);
}
.bio__text { flex: 1 1 340px; }
.bio__name {
  font-family: 'Lora', serif; font-size: 20px; font-weight: 600;
  color: var(--ink); margin-bottom: 8px;
}
.bio__text p { font-size: 14.5px; line-height: 1.7; margin-bottom: 12px; }

/* --------------------------------------------------------------- signup -- */
.signup {
  background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--accent);
  border-radius: 14px; padding: 26px 28px; margin-top: 8px;
  box-shadow: 0 2px 8px rgba(120, 80, 40, 0.04);
}
.signup h2 { margin-bottom: 12px; }
.signup p { font-size: 15px; }
.signup__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14.5px; font-weight: 600; text-decoration: none;
  padding: 12px 22px; border-radius: 10px; transition: all 0.25s ease;
}
.btn--primary {
  color: #FFFCF7; background: linear-gradient(135deg, #B85C38 0%, #C2793D 100%);
  box-shadow: 0 2px 8px rgba(184, 92, 56, 0.2);
}
.btn--primary:hover {
  transform: translateY(-2px); color: #FFFCF7;
  box-shadow: 0 6px 18px rgba(184, 92, 56, 0.28);
}
.btn--ghost {
  color: var(--ink-soft); background: transparent; border: 1px solid var(--line-strong);
}
.btn--ghost:hover { color: var(--ink); border-color: var(--accent); background: rgba(184, 92, 56, 0.04); }
.section .btn { text-decoration: none; }

/* pending details — venue, registration link — read as provisional, not missing */
.pending {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12.5px; font-weight: 500; color: var(--ink-faint);
  background: rgba(240, 233, 223, 0.85); border: 1px solid var(--line-strong);
  padding: 5px 12px; border-radius: 100px;
}
.pending::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent-2); flex-shrink: 0;
}

/* --------------------------------------------------------------- footer -- */
.footer {
  border-top: 1px solid var(--line-strong); padding: 40px 32px;
  text-align: center; margin-top: 80px; position: relative; z-index: 1;
}
.footer p { font-size: 13.5px; color: var(--ink-faint); line-height: 1.7; }
.footer p.small { font-size: 12px; color: var(--ink-dim); margin-top: 12px; }
.footer a {
  color: var(--ink-faint); text-decoration: underline; text-underline-offset: 3px;
  transition: color 0.2s ease;
}
.footer a:hover { color: var(--accent); }

@media (max-width: 720px) {
  .section, .facts { padding-left: 20px; padding-right: 20px; }
  .hero { padding: 128px 20px 0; }
  .bio { padding: 22px 20px; }
  .signup { padding: 22px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  body::before { animation: none; }
  .hero__eyebrow, .hero h1, .hero .tagline, .hero__cta { animation: none; }
  .fade-in { opacity: 1; transform: none; transition: none; }
}
