/* Workshop registration — Intraneurals */

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

:root {
  --ink: #0C0C0A;
  --ink-2: #141310;
  --card: #16150F;
  --line: rgba(199, 245, 17, .16);
  --line-soft: rgba(243, 241, 231, .10);
  --lime: #C7F511;
  --amber: #FFB23E;
  --paper: #F3F1E7;
  --muted: #928F81;
  --muted-2: #6E6C61;
  --maxw: 1120px;
  --session-bar-height: 44px;
  --header-height: 64px;
  --track-display: -0.012em;
  --track-body: 0.012em;
  --word-body: 0.028em;
  --word-display: 0.055em;
  --word-lede: 0.038em;
}

@media (max-width: 640px) {
  :root { --session-bar-height: 52px; }
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--session-bar-height) + var(--header-height) + 12px);
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}

body {
  background: var(--ink);
  color: var(--paper);
  font-family: 'Satoshi', 'Noto Sans Tamil', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.68;
  letter-spacing: var(--track-body);
  word-spacing: var(--word-body);
  font-feature-settings: 'kern' 1, 'liga' 1;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

@media (max-width: 1023px) {
  body { padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
}

.ta {
  font-family: 'Noto Sans Tamil', 'Satoshi', sans-serif;
  line-height: 1.85;
  word-spacing: normal;
  letter-spacing: 0;
}

h1, h2, h3, .display {
  font-family: 'Clash Display', 'Noto Sans Tamil', sans-serif;
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: var(--track-display);
  word-spacing: var(--word-display);
  font-feature-settings: 'kern' 1, 'liga' 1;
}

a { color: inherit; text-decoration: none; }

.wrap {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 40px);
}

.eyebrow {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: .7em;
}

.eyebrow b { color: var(--lime); font-weight: 700; }

.dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--muted-2);
  display: inline-block;
}

/* Session bar */
.session-bar {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  min-height: var(--session-bar-height);
  background: #111111;
  border-bottom: 1px solid var(--line-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
}

.session-bar::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--lime);
}

.session-bar__inner {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: var(--maxw);
  width: 100%;
}

.session-bar__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--lime);
  white-space: nowrap;
  flex-shrink: 0;
}

.session-bar__divider { width: 1px; height: 16px; background: #2a2a2a; flex-shrink: 0; }

.session-bar__text {
  font-size: 13px;
  color: #aaa;
  min-width: 0;
  flex: 1;
  letter-spacing: 0.01em;
  word-spacing: 0.03em;
  line-height: 1.5;
}

.session-bar__text strong { color: #e8e8e8; font-weight: 700; }

.session-bar__text .venue {
  color: #c8c5b8;
  word-spacing: 0.04em;
}

.session-bar__spacer { flex: 1; }

.session-bar__link {
  font-size: 12px;
  font-weight: 700;
  color: #0a0a0a;
  background: var(--lime);
  padding: 5px 14px;
  border-radius: 4px;
  white-space: nowrap;
  flex-shrink: 0;
}

.session-bar__link:hover { background: #d4ff2e; }

@media (max-width: 640px) {
  .session-bar { height: auto; padding: 8px 16px; align-items: stretch; }
  .session-bar__inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 6px 10px;
    width: 100%;
  }
  .session-bar__divider { display: none; }
  .session-bar__label { grid-column: 1; grid-row: 1; }
  .session-bar__link { grid-column: 2; grid-row: 1; font-size: 11px; padding: 4px 12px; }
  .session-bar__text {
    grid-column: 1 / -1;
    grid-row: 2;
    white-space: normal;
    font-size: 11px;
    line-height: 1.4;
  }
  .session-bar__spacer { display: none; }
}

/* Header + brand */
.wr-site-header {
  position: sticky;
  top: var(--session-bar-height);
  z-index: 90;
  backdrop-filter: blur(12px);
  background: rgba(12, 12, 10, .88);
  border-bottom: 1px solid var(--line-soft);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: 16px;
  min-width: 0;
}

.wr-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  min-width: 0;
  flex: 1 1 auto;
}

.wr-brand__logo {
  display: block;
  height: 2.75rem;
  width: auto;
  flex-shrink: 0;
}

.wr-brand__wordmark {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.15;
  min-width: 0;
}

.wr-brand__primary {
  font-family: 'Clash Display', sans-serif;
  font-weight: 600;
  font-size: 1.0625rem;
  letter-spacing: -0.01em;
  color: var(--paper);
}

.wr-brand__secondary {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--muted);
}

.wr-brand:hover .wr-brand__primary { color: var(--lime); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .01em;
  cursor: pointer;
  border-radius: 999px;
  padding: .74em 1.35em;
  border: 1px solid transparent;
  transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
  font-family: inherit;
}

.btn-primary { background: var(--lime); color: #0C0C0A; }
.btn-primary:hover { transform: translateY(-2px); background: #d4ff2e; }
.btn-ghost { border-color: var(--line); color: var(--paper); }
.btn-ghost:hover { border-color: var(--lime); color: var(--lime); transform: translateY(-2px); }
.nav .btn { padding: .55em 1.1em; font-size: 14px; flex-shrink: 0; }

/* Hero */
.hero {
  padding: clamp(44px, 7vw, 80px) 0 clamp(36px, 5vw, 64px);
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 50% at 78% 8%, rgba(255, 178, 62, .10), transparent 70%),
    radial-gradient(70% 60% at 6% 100%, rgba(199, 245, 17, .08), transparent 65%);
}

.hero h1 {
  font-size: clamp(36px, 7vw, 72px);
  max-width: 15ch;
  margin: .28em 0 .36em;
  word-spacing: 0.08em;
  letter-spacing: 0.008em;
  line-height: 1.06;
}

.hero h1 em { font-style: normal; color: var(--lime); }

.lede {
  font-size: clamp(17px, 2.1vw, 21px);
  color: #d9d6c8;
  max-width: 46ch;
  font-weight: 500;
  line-height: 1.68;
  word-spacing: var(--word-lede);
  letter-spacing: 0.015em;
}

.ta-hero {
  margin-top: 12px;
  font-size: clamp(15px, 1.9vw, 18px);
  color: var(--amber);
  max-width: 42ch;
}

.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin: 24px 0 6px;
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(243, 241, 231, .025), transparent);
}

.fact {
  flex: 1 1 180px;
  padding: 16px 20px;
  border-right: 1px solid var(--line-soft);
}

.fact--venue { flex: 1.35 1 220px; }

.fact:last-child { border-right: none; }

.fact .k {
  font-size: 11.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted-2);
  font-weight: 700;
}

.fact .v {
  font-family: 'Clash Display', sans-serif;
  font-weight: 600;
  font-size: 18px;
  margin-top: 4px;
  letter-spacing: 0.01em;
  word-spacing: 0.04em;
  line-height: 1.25;
}

.fact .v small {
  display: block;
  font-family: 'Satoshi', sans-serif;
  font-weight: 500;
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.02em;
  word-spacing: 0.03em;
  line-height: 1.45;
  margin-top: 3px;
}

.venue-line {
  word-spacing: 0.045em;
  letter-spacing: 0.015em;
  line-height: 1.55;
}

.venue-address {
  display: inline-block;
  margin-top: 4px;
  font-size: 14px;
  color: var(--muted);
  letter-spacing: 0.02em;
  word-spacing: 0.03em;
}

.seats {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin: 22px 0 24px;
}

.ticks { display: flex; gap: 6px; flex-wrap: wrap; }

.tick {
  width: 10px;
  height: 26px;
  border-radius: 3px;
  background: rgba(243, 241, 231, .14);
}

.tick.open {
  background: var(--lime);
  box-shadow: 0 0 14px rgba(199, 245, 17, .4);
}

.seats .label { font-weight: 700; font-size: 15px; }
.seats .label b { color: var(--lime); }
.seats .label span { color: var(--muted); font-weight: 500; }

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-row .btn { font-size: 16px; padding: .88em 1.6em; }

/* Sections */
section { padding: clamp(40px, 6vw, 72px) 0; }

.section-alt { background: var(--ink-2); }

.sec-head { max-width: 54ch; margin-bottom: clamp(22px, 3.5vw, 40px); }
.sec-head h2 {
  font-size: clamp(28px, 4.2vw, 46px);
  margin: .3em 0 0;
  word-spacing: 0.05em;
  line-height: 1.1;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.in { opacity: 1; transform: none; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

.card {
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  padding: 24px 22px;
  transition: border-color .25s ease, transform .25s ease;
}

.card:hover { border-color: var(--line); transform: translateY(-3px); }

.card .num {
  font-family: 'Clash Display', sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: var(--amber);
  letter-spacing: .05em;
}

.card h3 { font-size: 20px; margin: 12px 0 8px; word-spacing: 0.04em; line-height: 1.15; }
.card p { color: var(--muted); font-size: 15px; line-height: 1.65; word-spacing: 0.025em; }

.days { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

.day {
  background: var(--ink-2);
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  padding: 24px;
  position: relative;
  overflow: hidden;
}

.section-alt .day { background: var(--card); }

.day::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--amber);
  opacity: .85;
}

.day .d-tag { display: flex; align-items: baseline; gap: 10px; margin-bottom: 12px; }
.day .d-tag .n {
  font-family: 'Clash Display', sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--amber);
}

.day .d-tag .dt { font-size: 13px; color: var(--muted-2); font-weight: 600; }
.day h3 { font-size: 19px; margin-bottom: 8px; word-spacing: 0.04em; line-height: 1.15; }
.day p { color: var(--muted); font-size: 15px; line-height: 1.65; word-spacing: 0.025em; }
.days-foot { margin-top: 16px; font-size: 14px; color: var(--muted-2); }

.for-wrap {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(20px, 4vw, 48px);
  align-items: start;
}

.for-list { display: flex; flex-direction: column; }

.for-item {
  padding: 16px 0;
  border-top: 1px solid var(--line-soft);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: baseline;
}

.for-item:last-child { border-bottom: 1px solid var(--line-soft); }
.for-item .mk { font-family: 'Clash Display', sans-serif; font-weight: 600; color: var(--lime); font-size: 15px; }
.for-item h3 { font-size: 18px; margin-bottom: 2px; word-spacing: 0.035em; line-height: 1.2; }
.for-item p { color: var(--muted); font-size: 15px; line-height: 1.65; word-spacing: 0.025em; }

.for-aside {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
  position: sticky;
  top: calc(var(--session-bar-height) + var(--header-height) + 16px);
}

.for-aside .big {
  font-family: 'Clash Display', sans-serif;
  font-weight: 600;
  font-size: 22px;
  line-height: 1.2;
  margin-bottom: 12px;
  word-spacing: 0.05em;
}

.for-aside .ta { color: var(--amber); font-size: 16px; }

.tools { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }

.tool {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--ink-2);
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  padding: 14px 16px;
}

.section-alt .tool { background: var(--card); }

.tool .t-name {
  font-family: 'Clash Display', sans-serif;
  font-weight: 600;
  font-size: 16px;
  word-spacing: 0.035em;
  letter-spacing: 0.01em;
}
.tool .t-role { font-size: 13px; color: var(--muted); }
.tool .pip { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); flex: none; }

/* Form */
.reg {
  background: var(--ink-2);
  scroll-margin-top: calc(var(--session-bar-height) + var(--header-height) + 8px);
}

.form-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: clamp(22px, 3.5vw, 36px);
  max-width: 720px;
  margin-inline: auto;
}

.form-card h2 { font-size: clamp(26px, 3.4vw, 36px); word-spacing: 0.05em; line-height: 1.12; }
.form-sub {
  color: var(--muted);
  margin-top: 6px;
  font-size: 15px;
  word-spacing: 0.03em;
  line-height: 1.6;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(199, 245, 17, .1);
  border: 1px solid var(--line);
  color: var(--lime);
  font-weight: 700;
  font-size: 13px;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.field { margin-top: 14px; }
.field-compact { margin-top: 12px; }

.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

label,
.field-label {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: .02em;
  margin-bottom: 6px;
}

label .opt { color: var(--muted-2); font-weight: 500; text-transform: none; letter-spacing: 0; }

input, select, textarea {
  width: 100%;
  background: var(--ink);
  border: 1px solid var(--line-soft);
  color: var(--paper);
  border-radius: 11px;
  padding: 12px 14px;
  font: inherit;
  font-size: 15px;
  transition: border-color .18s ease, box-shadow .18s ease;
}

input::placeholder, textarea::placeholder { color: var(--muted-2); }

select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23928F81' stroke-width='2.4'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--lime);
  box-shadow: 0 0 0 3px rgba(199, 245, 17, .16);
}

textarea { resize: vertical; min-height: 72px; }

.field-error {
  display: none;
  color: #ff9a8a;
  font-size: 13px;
  margin-top: 5px;
}

.field.has-error .field-error { display: block; }
.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: #ff7a66; }

.radio-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.radio-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--muted);
  cursor: pointer;
  line-height: 1.45;
}

.radio-label input {
  width: auto;
  margin-top: 3px;
  accent-color: var(--lime);
  flex-shrink: 0;
}

.consent-wrap { margin-top: 18px; }

.consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14px;
  color: var(--muted);
  cursor: pointer;
  line-height: 1.45;
}

.consent input {
  width: auto;
  margin-top: 3px;
  accent-color: var(--lime);
  flex-shrink: 0;
}

.consent-error {
  display: none;
  color: #ff9a8a;
  font-size: 13px;
  margin-top: 6px;
  margin-left: 24px;
}

.consent-wrap.has-error .consent-error { display: block; }

.submit { width: 100%; margin-top: 20px; font-size: 17px; padding: 1em; }
.submit:disabled { opacity: 0.65; cursor: not-allowed; transform: none; }

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.fineprint {
  font-size: 13.5px;
  color: var(--muted-2);
  margin-top: 18px;
  line-height: 1.7;
  text-align: center;
  letter-spacing: 0.015em;
  word-spacing: 0.035em;
}

.fineprint a { color: var(--lime); }

#workshop-form-wrap.is-hidden { display: none; }

.success {
  display: none;
  text-align: center;
  padding: 8px 0;
}

.success.show { display: block; animation: pop .5s ease; }

@keyframes pop {
  from { opacity: 0; transform: scale(.96); }
  to { opacity: 1; transform: none; }
}

.check {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: var(--lime);
  color: #0C0C0A;
  display: grid;
  place-items: center;
  margin: 0 auto 20px;
  font-size: 32px;
  font-weight: 700;
}

.success h2 {
  font-family: 'Clash Display', sans-serif;
  font-size: 30px;
  margin-bottom: 10px;
}

.success > p { color: var(--muted); max-width: 42ch; margin: 0 auto; }

.s-dates {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 22px 0 4px;
  text-align: left;
}

.s-dates .sd {
  background: var(--ink);
  border: 1px solid var(--line-soft);
  border-radius: 13px;
  padding: 14px;
}

.s-dates .sd .n {
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--amber);
  font-weight: 700;
}

.s-dates .sd .v {
  font-family: 'Clash Display', sans-serif;
  font-weight: 600;
  margin-top: 4px;
}

.success .fineprint { margin-top: 18px; }
.success .fineprint a { color: var(--lime); }

/* Footer */
.wr-footer {
  border-top: 1px solid var(--line-soft);
  padding: 44px 0 52px;
}

.foot-grid {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  align-items: flex-start;
}

.foot-brand-wrap { max-width: 36ch; }

.foot-grid p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
  margin-top: 10px;
  word-spacing: 0.035em;
  letter-spacing: 0.015em;
}

.foot-contact a {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}

.foot-contact a:hover,
.foot-cta { color: var(--lime); }

/* Sticky mobile CTA */
.wr-sticky-cta {
  display: none;
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: max(16px, env(safe-area-inset-bottom, 16px));
  z-index: 200;
  padding: 15px 20px;
  background: var(--lime);
  color: #0C0C0A;
  font-weight: 800;
  font-size: 15px;
  text-align: center;
  border-radius: 999px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, .55);
  transition: opacity .25s, transform .25s, visibility .25s;
}

.wr-sticky-cta:hover { background: #d4ff2e; }
.wr-sticky-cta.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(16px); }

@media (max-width: 1023px) {
  .wr-sticky-cta { display: flex; align-items: center; justify-content: center; }
}

.spinner {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  border: 2px solid rgba(10, 10, 10, 0.25);
  border-top-color: #0A0A0A;
  border-radius: 50%;
  animation: wr-spin 0.7s linear infinite;
  vertical-align: middle;
}

@keyframes wr-spin { to { transform: rotate(360deg); } }

/* Responsive */
@media (max-width: 860px) {
  .grid-3, .days, .tools { grid-template-columns: 1fr; }
  .for-wrap { grid-template-columns: 1fr; }
  .for-aside { position: static; }
}

@media (max-width: 560px) {
  .row2, .s-dates { grid-template-columns: 1fr; }
  .fact,
  .fact--venue {
    flex: 1 1 100%;
    border-right: none;
    border-bottom: 1px solid var(--line-soft);
  }
  .fact:last-child { border-bottom: none; }
  .fact--venue .v { font-size: 16px; }
  .nav .btn { display: none; }
  .cta-row { flex-direction: column; }
  .cta-row .btn { width: 100%; }
  section { padding: clamp(32px, 8vw, 48px) 0; }
  .hero { padding-top: clamp(32px, 8vw, 48px); }
  .hero h1 { word-spacing: 0.06em; }
  .eyebrow { letter-spacing: 0.18em; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
