@font-face {
  font-family: "Manrope";
  src: url("assets/fonts/Manrope-Variable.ttf") format("truetype");
  font-weight: 400 800;
  font-display: swap;
}

@font-face {
  font-family: "Unbounded";
  src: url("assets/fonts/Unbounded-Variable.ttf") format("truetype");
  font-weight: 500 800;
  font-display: swap;
}

:root {
  --workshop-black: #11130f;
  --workshop-green: #23452d;
}

.workshop-hero {
  min-height: min(820px, calc(100dvh - 112px));
  display: grid;
  align-items: center;
  padding-block: clamp(52px, 7vw, 88px);
}

.workshop-hero h1 {
  max-width: 900px;
  font-size: clamp(45px, 5.8vw, 80px);
}

.launch-card {
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(26px, 3vw, 38px);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, .16);
  background: var(--workshop-black);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .035), 0 24px 60px rgba(17, 19, 15, .14);
}

.launch-card-top {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #b9bdb3;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.launch-card-top strong {
  color: var(--acid);
}

.launch-schedule {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 14px;
  margin-top: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, .2);
}

.launch-schedule span {
  color: #fff;
  font-family: "Unbounded", Arial, sans-serif;
  font-size: clamp(17px, 1.6vw, 21px);
  font-weight: 650;
  line-height: 1.2;
}

.launch-schedule time {
  color: var(--acid);
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.launch-value {
  margin: auto 0 0;
  color: var(--acid);
  font-family: "Unbounded", Arial, sans-serif;
  font-size: clamp(112px, 14vw, 180px);
  font-weight: 700;
  line-height: .8;
  letter-spacing: -.1em;
}

.launch-label {
  margin: 14px 0 28px;
  font-family: "Unbounded", Arial, sans-serif;
  font-size: 20px;
  font-weight: 600;
}

.launch-facts {
  margin: 0;
  padding: 18px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  border-top: 1px solid rgba(255, 255, 255, .2);
  color: #d5d8d0;
  font-size: 13px;
  list-style: none;
}

.signal-strip {
  padding: 28px 0;
  background: var(--acid);
}

.signal-grid {
  display: grid;
  grid-template-columns: .7fr 1.3fr;
  align-items: center;
  gap: clamp(24px, 6vw, 96px);
}

.signal-grid strong {
  font-family: "Unbounded", Arial, sans-serif;
  font-size: clamp(20px, 2.5vw, 31px);
  line-height: 1.15;
}

.signal-grid p {
  max-width: 780px;
  margin: 0;
  font-size: 17px;
  font-weight: 600;
}

.result-layout {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(40px, 8vw, 110px);
}

.before-after {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--ink);
  border-radius: var(--radius-lg);
}

.before-after article {
  min-height: 390px;
  padding: clamp(28px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: var(--surface-soft);
}

.before-after .after-panel {
  background: var(--workshop-black);
  color: #fff;
}

.before-after p {
  margin: 0;
  color: var(--muted);
}

.before-after .after-panel p {
  color: #b9bdb3;
}

.mode-label {
  margin-bottom: auto;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .09em;
}

.after-panel .mode-label {
  color: var(--acid);
}

.program-layout {
  display: grid;
  grid-template-columns: minmax(280px, .72fr) minmax(0, 1.28fr);
  align-items: start;
  gap: clamp(44px, 8vw, 112px);
}

.program-groups {
  display: grid;
  gap: 42px;
}

.program-group {
  display: grid;
  gap: 16px;
}

.program-group-head {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  align-items: baseline;
  gap: 16px;
}

.program-group-head > span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .07em;
}

.program-group-head h3 {
  margin: 0;
  font-size: clamp(20px, 2vw, 28px);
}

.topic-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.topic {
  min-height: 245px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.topic-featured {
  background: var(--acid);
}

.topic-wide {
  grid-column: 1 / -1;
  min-height: 205px;
  background: var(--workshop-black);
  color: #fff;
}

.topic-index {
  font-family: "Unbounded", Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
}

.topic h3 {
  margin-bottom: 9px;
  font-size: clamp(18px, 2vw, 25px);
}

.topic p {
  margin: 0;
  color: var(--muted);
}

.topic-wide p {
  color: #b9bdb3;
}

.format-track {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: stretch;
  gap: 12px;
}

.format-step {
  min-height: 330px;
  padding: clamp(24px, 3vw, 36px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.format-step-acid {
  background: var(--acid);
}

.format-step > span {
  margin-bottom: auto;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.format-step p {
  margin: 0;
  color: var(--muted);
}

.format-bridge {
  align-self: center;
  padding: 8px 10px;
  border-radius: 999px;
  background: var(--workshop-black);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  writing-mode: vertical-rl;
}

.host-section {
  background: var(--paper);
}

.host-card {
  display: grid;
  grid-template-columns: minmax(240px, .72fr) minmax(0, 1.28fr);
  align-items: stretch;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--radius-lg);
  background: var(--workshop-black);
  color: #fff;
}

.host-card img {
  width: 100%;
  height: 100%;
  min-height: 510px;
  object-fit: cover;
  object-position: 50% 20%;
  filter: saturate(.78) contrast(1.04);
}

.host-copy {
  align-self: center;
  padding: clamp(34px, 6vw, 78px);
}

.host-copy .eyebrow {
  color: var(--acid);
}

.host-copy .lead {
  color: #c7cbc2;
}

.host-copy blockquote {
  max-width: 680px;
  margin: 42px 0 0;
  padding: 22px 0 0;
  border-top: 1px solid rgba(255, 255, 255, .2);
  color: #fff;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 700;
  line-height: 1.45;
}

.request-layout {
  display: grid;
  grid-template-columns: minmax(280px, .82fr) minmax(0, 1.18fr);
  align-items: start;
  gap: clamp(40px, 8vw, 110px);
}

.request-intro {
  position: sticky;
  top: 128px;
}

.privacy-note {
  max-width: 560px;
  margin-top: 36px;
  padding: 20px 22px;
  border-left: 5px solid var(--acid-strong);
  background: var(--surface-soft);
}

.privacy-note p {
  margin: 5px 0 0;
  color: var(--muted);
}

.request-form,
.registration-complete {
  padding: clamp(26px, 4vw, 46px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper);
}

.request-form {
  display: grid;
  gap: 0;
}

.request-form[hidden] {
  display: none;
}

.form-section {
  display: grid;
  gap: 28px;
  padding: 38px 0;
  border-bottom: 1px solid var(--line);
}

.form-section:first-of-type {
  padding-top: 0;
}

.form-section-head {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  align-items: baseline;
  gap: 14px;
}

.form-section-head span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .07em;
}

.form-section-head h3 {
  margin: 0;
  font-size: clamp(21px, 2.3vw, 29px);
}

.form-submit-area {
  display: grid;
  gap: 14px;
  padding-top: 34px;
}

.form-error-summary {
  margin-bottom: 32px;
  padding: 18px 20px;
  border: 2px solid #8e2017;
  border-radius: var(--radius-sm);
  background: #fff0ed;
  color: #65160f;
  font-weight: 700;
}

.form-error-summary[hidden] {
  display: none;
}

.honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

.form-field {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.form-field label,
.form-field legend {
  display: block;
  margin-bottom: 10px;
  color: var(--ink);
  font-weight: 800;
}

.form-field input[type="text"],
.form-field textarea,
.form-field select {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--ink);
  font: inherit;
}

.form-field input[type="text"] {
  min-height: 54px;
  padding: 0 16px;
}

.form-field select {
  min-height: 54px;
  padding: 0 44px 0 16px;
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 20px) 23px, calc(100% - 14px) 23px;
  background-repeat: no-repeat;
  background-size: 6px 6px, 6px 6px;
}

.form-field textarea {
  min-height: 132px;
  padding: 15px 16px;
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  border-color: var(--workshop-green);
  outline: 3px solid rgba(35, 69, 45, .22);
  outline-offset: 2px;
}

.form-field [aria-invalid="true"] {
  border-color: #a62b1f;
}

.form-field[aria-invalid="true"] .choice {
  border-color: rgba(166, 43, 31, .5);
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.choice-stack {
  display: grid;
  gap: 10px;
}

.choice-stack .choice {
  min-height: 52px;
}

.choice {
  min-height: 56px;
  display: flex !important;
  align-items: center;
  gap: 10px;
  margin: 0 !important;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  cursor: pointer;
}

.choice:has(input:checked) {
  border-color: var(--workshop-green);
  background: var(--acid);
}

.choice:has(input:disabled) {
  cursor: not-allowed;
  opacity: .5;
}

.choice input,
.consent input {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  accent-color: var(--workshop-green);
}

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

.field-hint {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.field-error {
  min-height: 0;
  margin: 7px 0 0;
  color: #8e2017;
  font-size: 13px;
  font-weight: 700;
}

.field-error:empty {
  display: none;
}

.submit-button {
  width: 100%;
}

.submit-button[disabled] {
  cursor: wait;
  opacity: .68;
  transform: none;
}

.form-status {
  margin: -12px 0 0;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.registration-complete {
  min-height: 430px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  background: var(--acid);
}

.registration-complete[hidden] {
  display: none;
}

.success-mark {
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  margin-bottom: 38px;
  border-radius: 50%;
  background: var(--workshop-black);
  color: var(--acid);
  font-size: 34px;
}

.registration-complete h3 {
  max-width: 520px;
  margin: 6px 0 12px;
  font-size: clamp(28px, 3.4vw, 44px);
}

.registration-complete p:not(.eyebrow) {
  max-width: 520px;
  color: var(--ink-soft);
}

.registration-complete .button {
  margin-top: 14px;
}

.registration-dialog {
  width: min(680px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 0;
  overflow: auto;
  border: 0;
  border-radius: var(--radius-lg);
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 30px 100px rgba(17, 19, 15, .32);
}

.registration-dialog::backdrop {
  background: rgba(17, 19, 15, .7);
  backdrop-filter: blur(5px);
}

.dialog-shell {
  position: relative;
  padding: clamp(28px, 6vw, 56px);
}

.dialog-close {
  position: absolute;
  top: 18px;
  right: 18px;
  min-height: 40px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.dialog-close:focus-visible,
.meeting-link-row input:focus-visible {
  outline: 3px solid rgba(35, 69, 45, .28);
  outline-offset: 2px;
}

.dialog-mark {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  margin-bottom: 30px;
  border-radius: 50%;
  background: var(--acid);
  color: var(--workshop-black);
  font-size: 28px;
  font-weight: 900;
}

.registration-dialog h2 {
  max-width: 560px;
  margin: 7px 0 12px;
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.08;
}

.dialog-date {
  margin: 0 0 30px;
  color: var(--workshop-green);
  font-size: clamp(17px, 2.5vw, 21px);
  font-weight: 850;
}

.meeting-access {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface-soft);
}

.meeting-access > label {
  display: block;
  margin-bottom: 9px;
  font-size: 13px;
  font-weight: 800;
}

.meeting-link-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 9px;
}

.meeting-link-row input {
  min-width: 0;
  min-height: 52px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--paper);
  color: var(--ink-soft);
  font: inherit;
  font-size: 14px;
}

.copy-status {
  min-height: 20px;
  margin: 7px 0 0;
  color: var(--workshop-green);
  font-size: 13px;
  font-weight: 800;
}

.dialog-primary {
  width: 100%;
  margin-top: 10px;
}

.meeting-unavailable {
  padding: 18px;
  border-left: 5px solid var(--acid-strong);
  background: var(--surface-soft);
  color: var(--ink-soft);
}

.meeting-unavailable[hidden] {
  display: none;
}

.dialog-reference {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.workshop-footer .footer-bottom {
  margin-top: 0;
}

@media (max-width: 1040px) {
  .format-track {
    grid-template-columns: 1fr;
  }

  .format-bridge {
    justify-self: start;
    writing-mode: horizontal-tb;
  }

  .format-step {
    min-height: 240px;
  }
}

@media (max-width: 820px) {
  .workshop-hero {
    min-height: auto;
  }

  .result-layout,
  .program-layout,
  .request-layout,
  .signal-grid,
  .host-card {
    grid-template-columns: 1fr;
  }

  .request-intro {
    position: static;
  }

  .launch-card {
    min-height: 340px;
  }

  .before-after {
    grid-template-columns: 1fr;
  }

  .before-after article {
    min-height: 300px;
  }

  .program-layout .sticky-copy {
    max-width: 680px;
  }

  .host-card img {
    max-height: 560px;
    min-height: 420px;
  }
}

@media (max-width: 620px) {
  .workshop-hero h1 {
    font-size: clamp(39px, 12vw, 54px);
  }

  .topic-list,
  .choice-grid {
    grid-template-columns: 1fr;
  }

  .program-group-head,
  .form-section-head {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .topic-wide {
    grid-column: auto;
  }

  .topic {
    min-height: 220px;
  }

  .request-form,
  .registration-complete {
    padding: 22px;
    border-radius: var(--radius-md);
  }

  .meeting-link-row {
    grid-template-columns: 1fr;
  }

  .meeting-link-row .button {
    width: 100%;
  }

  .workshop-footer {
    padding-bottom: 110px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .launch-card {
    animation: card-enter 620ms cubic-bezier(.2, .8, .2, 1) both;
  }

  .topic,
  .format-step {
    transition: transform 220ms ease, border-color 220ms ease;
  }

  .topic:hover,
  .format-step:hover {
    border-color: var(--line-strong);
    transform: translateY(-3px);
  }

  @keyframes card-enter {
    from { opacity: 0; translate: 0 18px; }
    to { opacity: 1; translate: 0 0; }
  }
}

@media (prefers-reduced-motion: reduce) {
  .launch-card {
    animation: none;
  }
}
