/*
  Formosus Workshop Styles
  ------------------------
  This stylesheet is intentionally loaded AFTER assets/css/style.css.
  That means the existing Formosus site remains the visual foundation,
  while these classes only add workshop-specific layouts and components.
*/

:root {
  --ws-ink: #1e1d1a;
  --ws-paper: #f4f0e8;
  --ws-paper-2: #ebe5d9;
  --ws-muted: #6f6b63;
  --ws-line: rgba(30, 29, 26, 0.18);
  --ws-dark: #252a28;
  --ws-dark-soft: #303633;
  --ws-light: #fffdf8;
  --ws-accent: #a47b55;
  --ws-ok: #526a58;
  --ws-radius: 2px;
  --ws-shadow: 0 22px 70px rgba(31, 29, 24, 0.08);
}

body.workshop-body {
  background: var(--ws-paper);
  color: var(--ws-ink);
}

.workshop-body .site-nav a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 0.32em;
}

.ws-wrap {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.ws-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 2rem;
  color: inherit;
  text-decoration: none;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
}

.ws-hero {
  padding: 72px 0 84px;
  border-bottom: 1px solid var(--ws-line);
}

.ws-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: clamp(48px, 8vw, 110px);
  align-items: end;
}

.ws-kicker {
  margin: 0 0 1.1rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 700;
}

.ws-hero h1,
.ws-module-hero h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  line-height: 0.94;
  letter-spacing: 0.01em;
  font-size: clamp(3.4rem, 7vw, 7.1rem);
}

.ws-hero h1 em,
.ws-module-hero h1 em {
  font-weight: 400;
}

.ws-hero-copy {
  margin-top: 2rem;
  max-width: 760px;
  font-size: clamp(1.05rem, 1.35vw, 1.32rem);
  line-height: 1.7;
}

.ws-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.ws-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.9rem 1.2rem;
  border: 1px solid var(--ws-ink);
  background: transparent;
  color: var(--ws-ink);
  text-decoration: none;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

.ws-button:hover,
.ws-button:focus-visible {
  transform: translateY(-1px);
  background: var(--ws-ink);
  color: var(--ws-light);
}

.ws-button-dark {
  background: var(--ws-ink);
  color: var(--ws-light);
}

.ws-button-dark:hover,
.ws-button-dark:focus-visible {
  background: transparent;
  color: var(--ws-ink);
}

.ws-button-light {
  border-color: rgba(255, 255, 255, 0.75);
  color: white;
}

.ws-button-light:hover,
.ws-button-light:focus-visible {
  background: white;
  color: var(--ws-dark);
}

.ws-course-card {
  padding: 1.7rem;
  background: var(--ws-dark);
  color: white;
  box-shadow: var(--ws-shadow);
}

.ws-course-card .ws-kicker {
  color: rgba(255, 255, 255, 0.62);
}

.ws-course-card h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 3vw, 3.1rem);
  line-height: 1.03;
  font-weight: 400;
}

.ws-course-meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin: 1.8rem 0;
  border-top: 1px solid rgba(255,255,255,.18);
  border-bottom: 1px solid rgba(255,255,255,.18);
}

.ws-course-meta div {
  padding: 1rem 0;
}

.ws-course-meta div:nth-child(odd) {
  padding-right: 1rem;
  border-right: 1px solid rgba(255,255,255,.18);
}

.ws-course-meta div:nth-child(even) {
  padding-left: 1rem;
}

.ws-course-meta strong {
  display: block;
  margin-bottom: .2rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  font-weight: 400;
}

.ws-course-meta span {
  font-size: .76rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: rgba(255,255,255,.65);
}

.ws-section {
  padding: 84px 0;
}

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

.ws-section-dark {
  background: var(--ws-dark);
  color: white;
}

.ws-heading-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 7vw, 100px);
  align-items: start;
  margin-bottom: 3.4rem;
}

.ws-heading-grid h2,
.ws-content h2,
.ws-content h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

.ws-heading-grid h2 {
  margin: 0;
  font-size: clamp(2.7rem, 5vw, 5.2rem);
  line-height: .98;
}

.ws-heading-grid > p:last-child,
.ws-section-lead {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--ws-muted);
}

.ws-section-dark .ws-heading-grid > p:last-child,
.ws-section-dark .ws-section-lead {
  color: rgba(255,255,255,.72);
}

.ws-module-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--ws-line);
  border-left: 1px solid var(--ws-line);
}

.ws-module-card {
  min-height: 250px;
  display: flex;
  flex-direction: column;
  padding: 1.8rem;
  border-right: 1px solid var(--ws-line);
  border-bottom: 1px solid var(--ws-line);
  color: inherit;
  text-decoration: none;
  background: rgba(255,255,255,.12);
  transition: background 180ms ease, transform 180ms ease;
}

.ws-module-card:hover,
.ws-module-card:focus-visible {
  background: rgba(255,255,255,.48);
  transform: translateY(-2px);
}

.ws-module-card.is-complete {
  background: rgba(82,106,88,.1);
}

.ws-module-number {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2.5rem;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.ws-status-dot {
  width: .58rem;
  height: .58rem;
  border-radius: 50%;
  border: 1px solid currentColor;
  opacity: .4;
}

.ws-module-card.is-complete .ws-status-dot {
  background: var(--ws-ok);
  border-color: var(--ws-ok);
  opacity: 1;
}

.ws-module-card h3 {
  margin: 0 0 .9rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.7rem, 2.5vw, 2.6rem);
  line-height: 1.04;
  font-weight: 400;
}

.ws-module-card p {
  margin: 0;
  line-height: 1.65;
  color: var(--ws-muted);
}

.ws-module-card .ws-card-result {
  margin-top: auto;
  padding-top: 2.2rem;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--ws-ink);
}

.ws-roadmap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,.2);
  border: 1px solid rgba(255,255,255,.2);
}

.ws-roadmap-item {
  min-height: 210px;
  padding: 1.7rem;
  background: var(--ws-dark);
}

.ws-roadmap-item strong {
  display: block;
  margin-bottom: .8rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  font-weight: 400;
}

.ws-roadmap-item p {
  margin: 0;
  line-height: 1.7;
  color: rgba(255,255,255,.67);
}

.ws-progress-panel {
  padding: 1.8rem;
  border: 1px solid var(--ws-line);
  background: rgba(255,255,255,.22);
}

.ws-progress-top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
}

.ws-progress-top strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.8rem;
  font-weight: 400;
}

.ws-progress-track {
  height: 5px;
  margin-top: 1rem;
  background: rgba(30,29,26,.13);
  overflow: hidden;
}

.ws-progress-bar {
  height: 100%;
  width: 0;
  background: var(--ws-ink);
  transition: width 300ms ease;
}

/* Module page */
.ws-module-shell {
  display: grid;
  grid-template-columns: 290px minmax(0, 760px);
  gap: clamp(42px, 8vw, 110px);
  align-items: start;
  padding: 64px 0 100px;
}

.ws-module-nav {
  position: sticky;
  top: 28px;
}

.ws-module-nav-card {
  border-top: 1px solid var(--ws-line);
}

.ws-module-nav-card a {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: .5rem;
  padding: .9rem 0;
  border-bottom: 1px solid var(--ws-line);
  color: inherit;
  text-decoration: none;
  font-size: .86rem;
  line-height: 1.4;
}

.ws-module-nav-card a span:first-child {
  color: var(--ws-muted);
  font-variant-numeric: tabular-nums;
}

.ws-module-nav-card a.is-active {
  font-weight: 700;
}

.ws-module-nav .ws-progress-panel {
  margin-top: 1.5rem;
  padding: 1.2rem;
}

.ws-module-hero {
  padding-bottom: 3.2rem;
  border-bottom: 1px solid var(--ws-line);
}

.ws-module-hero h1 {
  font-size: clamp(3rem, 6vw, 6rem);
  line-height: .98;
}

.ws-module-subtitle {
  max-width: 690px;
  margin: 1.6rem 0 0;
  font-size: 1.15rem;
  line-height: 1.78;
}

.ws-module-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem 1.4rem;
  margin-top: 1.5rem;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--ws-muted);
}

.ws-content-section {
  padding: 3.4rem 0;
  border-bottom: 1px solid var(--ws-line);
  scroll-margin-top: 28px;
}

.ws-content h2 {
  margin: 0 0 1.2rem;
  font-size: clamp(2.1rem, 4vw, 3.55rem);
  line-height: 1.03;
}

.ws-content h3 {
  margin: 2.2rem 0 .8rem;
  font-size: 1.72rem;
}

.ws-content p,
.ws-content li {
  font-size: 1.02rem;
  line-height: 1.84;
}

.ws-content ul,
.ws-content ol {
  padding-left: 1.35rem;
}

.ws-callout {
  margin: 2rem 0;
  padding: 1.5rem 1.55rem;
  border-left: 3px solid var(--ws-ink);
  background: rgba(255,255,255,.28);
}

.ws-callout p:last-child {
  margin-bottom: 0;
}

.ws-demo {
  margin: 2rem 0;
  padding: 1.65rem;
  background: var(--ws-dark);
  color: white;
}

.ws-demo .ws-kicker {
  color: rgba(255,255,255,.62);
}

.ws-demo p,
.ws-demo li {
  color: rgba(255,255,255,.86);
}

.ws-prompt-block {
  margin: 1.7rem 0;
  border: 1px solid var(--ws-line);
  background: #1e211f;
  color: #f4f0e8;
}

.ws-prompt-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .78rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,.14);
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: rgba(255,255,255,.62);
}

.ws-copy-button {
  border: 0;
  background: transparent;
  color: white;
  font: inherit;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  cursor: pointer;
}

.ws-copy-button:hover,
.ws-copy-button:focus-visible {
  text-decoration: underline;
  text-underline-offset: .3em;
}

.ws-prompt-block pre {
  margin: 0;
  padding: 1.35rem;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .9rem;
  line-height: 1.68;
}

.ws-assignment {
  display: grid;
  gap: 1rem;
  margin-top: 1.6rem;
}

.ws-question {
  padding: 1.15rem 1.2rem;
  border: 1px solid var(--ws-line);
  background: rgba(255,255,255,.22);
}

.ws-question label {
  display: block;
  margin-bottom: .7rem;
  font-weight: 700;
}

.ws-question textarea {
  width: 100%;
  min-height: 95px;
  resize: vertical;
  border: 0;
  border-top: 1px solid var(--ws-line);
  padding: .9rem 0 0;
  background: transparent;
  color: inherit;
  font: inherit;
  line-height: 1.55;
  outline: none;
}

.ws-save-note {
  margin-top: .8rem;
  font-size: .8rem !important;
  color: var(--ws-muted);
}

.ws-checklist {
  display: grid;
  gap: .75rem;
  margin: 1.4rem 0;
}

.ws-check {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: .75rem;
  align-items: start;
  padding: 1rem 1.05rem;
  border: 1px solid var(--ws-line);
  background: rgba(255,255,255,.22);
  cursor: pointer;
}

.ws-check input {
  margin-top: .22rem;
  width: 17px;
  height: 17px;
  accent-color: var(--ws-ok);
}

.ws-result-box {
  padding: 1.6rem;
  border: 1px solid var(--ws-ink);
}

.ws-result-box strong {
  display: block;
  margin-bottom: .45rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.7rem;
  font-weight: 400;
}

.ws-download-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: 1.5rem;
  padding: 1.3rem;
  border: 1px solid var(--ws-line);
  background: rgba(255,255,255,.24);
}

.ws-download-card strong {
  display: block;
  margin-bottom: .25rem;
}

.ws-download-card p {
  margin: 0;
  color: var(--ws-muted);
  font-size: .9rem;
}

.ws-module-footer-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 3rem;
}

.ws-complete-message {
  margin-top: 1rem;
  min-height: 1.4em;
  color: var(--ws-ok);
  font-size: .88rem;
}

@media (max-width: 900px) {
  .ws-hero-grid,
  .ws-heading-grid,
  .ws-module-shell {
    grid-template-columns: 1fr;
  }

  .ws-module-nav {
    position: static;
    order: 2;
  }

  .ws-module-grid,
  .ws-roadmap {
    grid-template-columns: 1fr;
  }

  .ws-module-nav-card {
    display: none;
  }
}

@media (max-width: 620px) {
  .ws-wrap {
    width: min(100% - 28px, 1180px);
  }

  .ws-hero,
  .ws-section {
    padding-top: 58px;
    padding-bottom: 58px;
  }

  .ws-hero-actions,
  .ws-module-footer-actions,
  .ws-download-card {
    align-items: stretch;
    flex-direction: column;
  }

  .ws-button {
    width: 100%;
  }

  .ws-course-meta {
    grid-template-columns: 1fr;
  }

  .ws-course-meta div:nth-child(odd),
  .ws-course-meta div:nth-child(even) {
    padding-left: 0;
    padding-right: 0;
    border-right: 0;
  }
}

/* ============================================================
   FORMOSUS PALETTE REFINEMENT
   Uses the palette from the main site stylesheet:
   --paper, --cream, --honey, --gold, --ink, --ink-soft, --rust
   ============================================================ */

/* Shared workshop palette: deliberately inherits from style.css. */
.workshop-body {
  --ws-ink: var(--ink, #102b3a);
  --ws-paper: var(--paper, #f5efe3);
  --ws-paper-2: #eadfca;
  --ws-muted: var(--muted, #5e6e75);
  --ws-line: var(--line, rgba(16, 43, 58, 0.18));
  --ws-dark: var(--ink, #102b3a);
  --ws-dark-soft: var(--ink-soft, #173b4d);
  --ws-light: var(--cream, #fbf8f1);
  --ws-accent: var(--rust, #b44e2f);
  --ws-ok: #526a58;
  background: var(--cream, #fbf8f1);
  color: var(--ink, #102b3a);
}

.workshop-body .ws-kicker {
  color: var(--rust, #b44e2f);
}

.workshop-body .ws-button {
  border-color: var(--ink, #102b3a);
  color: var(--ink, #102b3a);
  letter-spacing: .1em;
  text-transform: uppercase;
  font-size: .74rem;
}

.workshop-body .ws-button:hover,
.workshop-body .ws-button:focus-visible {
  background: var(--rust, #b44e2f);
  border-color: var(--rust, #b44e2f);
  color: #fff;
}

.workshop-body .ws-button-dark {
  background: var(--ink, #102b3a);
  border-color: var(--ink, #102b3a);
  color: #fff;
}

.workshop-body .ws-button-dark:hover,
.workshop-body .ws-button-dark:focus-visible {
  background: var(--rust, #b44e2f);
  border-color: var(--rust, #b44e2f);
  color: #fff;
}

/* ------------------------------------------------------------
   LANDING PAGE — intentionally more expressive than modules
   ------------------------------------------------------------ */

.workshop-landing .ws-hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg,
      var(--paper, #f5efe3) 0%,
      var(--paper, #f5efe3) 67%,
      #e5c88f 67%,
      #e5c88f 100%);
  border-bottom: 0;
}

.workshop-landing .ws-hero::before {
  content: "";
  position: absolute;
  width: 230px;
  height: 230px;
  right: 5vw;
  top: -112px;
  border: 1px solid rgba(16, 43, 58, .38);
  border-radius: 50%;
  pointer-events: none;
}

.workshop-landing .ws-hero::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 145px;
  right: calc(33% - 6px);
  bottom: 0;
  background: var(--rust, #b44e2f);
  pointer-events: none;
}

.workshop-landing .ws-hero .ws-wrap {
  position: relative;
  z-index: 1;
}

.workshop-landing .ws-hero h1 em {
  color: var(--honey, #d49a3b);
}

.workshop-landing .ws-hero-copy {
  max-width: 700px;
  font-family: var(--serif, Georgia, serif);
  font-size: clamp(1.08rem, 1.45vw, 1.28rem);
}

.workshop-landing .ws-course-card {
  position: relative;
  overflow: hidden;
  padding: 2rem;
  background: var(--ink-soft, #173b4d);
  box-shadow: 20px 24px 0 rgba(180, 78, 47, .18);
  border-top: 8px solid var(--gold, #e8bd72);
}

.workshop-landing .ws-course-card::after {
  content: "F";
  position: absolute;
  right: -18px;
  bottom: -58px;
  color: rgba(232, 189, 114, .10);
  font: italic 11rem/1 var(--serif, Georgia, serif);
  pointer-events: none;
}

.workshop-landing .ws-course-card > * {
  position: relative;
  z-index: 1;
}

.workshop-landing .ws-course-card .ws-kicker {
  color: var(--gold, #e8bd72);
}

.workshop-landing .ws-course-card p {
  color: #d2dce0;
}

.workshop-landing .ws-section:first-of-type {
  background: var(--cream, #fbf8f1);
}

.workshop-landing .ws-heading-grid h2 em {
  color: var(--honey, #d49a3b);
  font-weight: 400;
}

.workshop-landing .ws-roadmap {
  gap: 18px;
  background: transparent;
  border: 0;
}

.workshop-landing .ws-roadmap-item {
  position: relative;
  min-height: 230px;
  padding: 2rem;
  color: var(--ink, #102b3a);
  background: #ead9bb;
  border: 1px solid rgba(16, 43, 58, .10);
}

.workshop-landing .ws-roadmap-item:nth-child(2) {
  background: #e5c88f;
}

.workshop-landing .ws-roadmap-item:nth-child(3) {
  color: #fff;
  background: var(--ink-soft, #173b4d);
}

.workshop-landing .ws-roadmap-item::before {
  display: block;
  margin-bottom: 1.35rem;
  color: var(--rust, #b44e2f);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.workshop-landing .ws-roadmap-item:nth-child(1)::before { content: "Build the base"; }
.workshop-landing .ws-roadmap-item:nth-child(2)::before { content: "Shape the book"; }
.workshop-landing .ws-roadmap-item:nth-child(3)::before {
  content: "Write & revise";
  color: var(--gold, #e8bd72);
}

.workshop-landing .ws-roadmap-item p {
  color: rgba(16, 43, 58, .78);
}

.workshop-landing .ws-roadmap-item:nth-child(3) p {
  color: #c3d0d5;
}

.workshop-landing .ws-section-alt {
  background: #e5c88f;
}

.workshop-landing .ws-section-alt .ws-kicker {
  color: var(--rust, #b44e2f);
}

.workshop-landing .ws-section-alt .ws-heading-grid h2 em {
  color: var(--rust, #b44e2f);
}

.workshop-landing .ws-progress-panel {
  background: var(--cream, #fbf8f1);
  border: 0;
  box-shadow: 14px 14px 0 rgba(16, 43, 58, .10);
}

.workshop-landing .ws-progress-track {
  height: 6px;
  background: rgba(16, 43, 58, .14);
}

.workshop-landing .ws-progress-bar {
  background: var(--rust, #b44e2f);
}

.workshop-landing #modules {
  background: var(--cream, #fbf8f1);
}

.workshop-landing .ws-module-grid {
  gap: 18px;
  border: 0;
}

.workshop-landing .ws-module-card {
  position: relative;
  min-height: 285px;
  border: 1px solid var(--line, rgba(16,43,58,.18));
  background: var(--paper, #f5efe3);
  box-shadow: inset 0 5px 0 var(--honey, #d49a3b);
}

.workshop-landing .ws-module-card:nth-child(n+4):nth-child(-n+7) {
  box-shadow: inset 0 5px 0 var(--rust, #b44e2f);
}

.workshop-landing .ws-module-card:nth-child(n+8) {
  box-shadow: inset 0 5px 0 var(--ink-soft, #173b4d);
}

.workshop-landing .ws-module-card:hover,
.workshop-landing .ws-module-card:focus-visible {
  background: #fffaf0;
  transform: translateY(-5px);
  box-shadow: inset 0 5px 0 var(--rust, #b44e2f), 0 20px 42px rgba(16,43,58,.10);
}

.workshop-landing .ws-module-number {
  color: var(--rust, #b44e2f);
}

.workshop-landing .ws-card-result {
  border-top: 1px solid var(--line, rgba(16,43,58,.18));
}

.workshop-landing .ws-section-dark {
  color: #fff;
  background: var(--rust, #b44e2f);
}

.workshop-landing .ws-section-dark .ws-kicker {
  color: var(--gold, #e8bd72);
}

.workshop-landing .ws-section-dark .ws-heading-grid h2 em {
  color: var(--cream, #fbf8f1);
}

.workshop-landing .ws-section-dark .ws-section-lead {
  color: #f5d8cc;
}

.workshop-landing .ws-section-dark .ws-button-light {
  background: var(--cream, #fbf8f1);
  border-color: var(--cream, #fbf8f1);
  color: var(--ink, #102b3a);
}

.workshop-landing .ws-section-dark .ws-button-light:hover,
.workshop-landing .ws-section-dark .ws-button-light:focus-visible {
  background: var(--gold, #e8bd72);
  border-color: var(--gold, #e8bd72);
  color: var(--ink, #102b3a);
}

/* ------------------------------------------------------------
   MODULE PAGES — calmer, reading-first, limited accents
   ------------------------------------------------------------ */

.workshop-module {
  background: var(--cream, #fbf8f1);
}

.workshop-module .ws-module-shell {
  grid-template-columns: 270px minmax(0, 780px);
}

.workshop-module .ws-module-nav .ws-kicker,
.workshop-module .ws-content-section > .ws-kicker {
  color: var(--rust, #b44e2f);
}

.workshop-module .ws-module-nav-card a:hover,
.workshop-module .ws-module-nav-card a:focus-visible,
.workshop-module .ws-module-nav-card a.is-active {
  color: var(--rust, #b44e2f);
}

.workshop-module .ws-module-nav .ws-progress-panel {
  background: var(--paper, #f5efe3);
  border-color: var(--line, rgba(16,43,58,.18));
}

.workshop-module .ws-progress-bar {
  background: var(--rust, #b44e2f);
}

.workshop-module .ws-module-hero {
  margin-bottom: .6rem;
  padding: 2.2rem 2.4rem 2.5rem;
  background: var(--paper, #f5efe3);
  border-top: 6px solid var(--honey, #d49a3b);
  border-bottom: 1px solid var(--line, rgba(16,43,58,.18));
}

.workshop-module .ws-module-hero .ws-kicker {
  color: var(--rust, #b44e2f);
}

.workshop-module .ws-module-hero h1 em {
  color: var(--honey, #d49a3b);
}

.workshop-module .ws-content-section {
  padding: 3.7rem 0;
}

.workshop-module .ws-content h2 {
  color: var(--ink, #102b3a);
}

.workshop-module .ws-callout {
  border-left-color: var(--rust, #b44e2f);
  background: var(--paper, #f5efe3);
}

.workshop-module .ws-demo {
  background: var(--ink-soft, #173b4d);
  border-top: 4px solid var(--gold, #e8bd72);
}

.workshop-module .ws-demo .ws-kicker {
  color: var(--gold, #e8bd72);
}

.workshop-module .ws-prompt-block {
  background: var(--ink, #102b3a);
  border: 0;
  box-shadow: 10px 12px 0 rgba(212,154,59,.16);
}

.workshop-module .ws-prompt-toolbar {
  color: var(--gold, #e8bd72);
}

.workshop-module .ws-question,
.workshop-module .ws-check,
.workshop-module .ws-download-card {
  background: var(--cream, #fbf8f1);
}

.workshop-module .ws-question:focus-within {
  border-color: var(--honey, #d49a3b);
  box-shadow: inset 4px 0 0 var(--honey, #d49a3b);
}

.workshop-module .ws-result-box {
  background: #ead9bb;
  border: 0;
  border-left: 6px solid var(--honey, #d49a3b);
}

.workshop-module .ws-result-box strong {
  color: var(--ink, #102b3a);
}

.workshop-module .ws-check input {
  accent-color: var(--rust, #b44e2f);
}

.workshop-module .ws-complete-message {
  color: var(--rust, #b44e2f);
}

@media (max-width: 900px) {
  .workshop-landing .ws-hero {
    background: var(--paper, #f5efe3);
  }

  .workshop-landing .ws-hero::after {
    width: 110px;
    height: 8px;
    right: 0;
    bottom: 0;
  }

  .workshop-landing .ws-course-card {
    max-width: 650px;
  }
}

@media (max-width: 620px) {
  .workshop-landing .ws-hero::before {
    display: none;
  }

  .workshop-landing .ws-course-card {
    box-shadow: 10px 12px 0 rgba(180, 78, 47, .14);
  }

  .workshop-module .ws-module-hero {
    padding: 1.6rem 1.35rem 1.8rem;
  }
}

/* Complete workshop modules */
.workshop-module .ws-quote {
  margin: 1.8rem 0;
  padding: 1.25rem 1.45rem;
  border-left: 4px solid var(--honey, #d49a3b);
  background: var(--paper, #f5efe3);
  font: italic 1.08rem/1.75 Georgia, "Times New Roman", serif;
}

.workshop-module .ws-code-example {
  margin: 1.6rem 0;
  padding: 1.25rem 1.35rem;
  overflow-x: auto;
  border: 1px solid var(--line, rgba(16,43,58,.18));
  background: #f0e9dc;
  color: var(--ink, #102b3a);
  font: .9rem/1.7 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  white-space: pre-wrap;
}

.workshop-module .ws-content code:not(pre code) {
  padding: .1em .35em;
  background: rgba(16,43,58,.07);
  border-radius: 2px;
  font-size: .9em;
}

.workshop-module .ws-content a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .2em;
}

.workshop-module .ws-prompt-block a,
.workshop-module .ws-button {
  text-decoration: none;
}

.workshop-module .ws-kind-example > .ws-demo {
  margin-top: 1rem;
}

.workshop-module .ws-kind-goal .ws-callout,
.workshop-module .ws-kind-outcomes .ws-callout,
.workshop-module .ws-kind-closing .ws-callout {
  margin: 0;
}

.workshop-module .ws-kind-official {
  padding-bottom: 2.6rem;
}

.workshop-module .ws-module-pager {
  padding-top: 2.6rem;
  border-top: 1px solid var(--line, rgba(16,43,58,.18));
}

.workshop-module .ws-complete-panel {
  margin-top: 1.25rem;
  padding: 1.25rem;
  border: 1px solid var(--line, rgba(16,43,58,.18));
  background: var(--paper, #f5efe3);
}

.workshop-module .ws-complete-panel .ws-complete-message {
  margin-bottom: 0;
}

@media (max-width: 900px) {
  .workshop-module .ws-module-nav { order: initial; }
}

/* ============================================================
   Commercial workshop catalogue and access
   ============================================================ */
.ws-button-disabled,
.ws-button-disabled:hover,
.ws-button-disabled:focus-visible {
  opacity: .58;
  cursor: default;
  transform: none;
  background: transparent;
  color: inherit;
}

.workshop-catalog { background: var(--cream, #fbf8f1); }
.ws-catalog-hero { padding: 76px 0 95px; background: var(--paper, #f5efe3); border-bottom: 1px solid var(--line, rgba(16,43,58,.18)); overflow: hidden; position: relative; }
.ws-catalog-hero::after { content: ""; width: 28vw; height: 12px; position: absolute; right: 0; bottom: 0; background: var(--rust, #b44e2f); }
.ws-catalog-hero-grid { display: grid; grid-template-columns: 1.15fr .65fr; gap: clamp(48px, 8vw, 110px); align-items: end; }
.ws-catalog-hero h1 { margin: 0; font: 400 clamp(3.7rem, 7vw, 7.2rem)/.91 Georgia, "Times New Roman", serif; letter-spacing: -.035em; }
.ws-catalog-hero h1 em { color: var(--honey, #d49a3b); font-weight: 400; }
.ws-catalog-path-card { padding: 32px; color: #fff; background: var(--ink, #102b3a); box-shadow: 18px 20px 0 rgba(212,154,59,.18); }
.ws-path-number { color: var(--gold, #e8bd72); font-size: .72rem; font-weight: 700; letter-spacing: .15em; }
.ws-catalog-path-card > strong { margin: 34px 0 24px; display: block; font: 400 clamp(2.4rem, 4vw, 4.1rem)/.9 Georgia, "Times New Roman", serif; }
.ws-catalog-path-card p { margin: 0; color: #b9c7cd; line-height: 1.7; }
.ws-product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.ws-product-card { min-height: 470px; padding: 30px; display: flex; flex-direction: column; border: 1px solid var(--line, rgba(16,43,58,.18)); background: var(--paper, #f5efe3); }
.ws-product-card.is-available { background: #e5c88f; border-color: transparent; box-shadow: 10px 12px 0 rgba(180,78,47,.12); }
.ws-product-card:nth-child(3) { color: #fff; background: var(--ink-soft, #173b4d); }
.ws-product-card:nth-child(3) > p { color: #b9c7cd; }
.ws-product-top { display: flex; justify-content: space-between; gap: 18px; color: var(--rust, #b44e2f); font-size: .68rem; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.ws-product-card:nth-child(3) .ws-product-top, .ws-product-card:nth-child(3) .ws-product-subtitle { color: var(--gold, #e8bd72); }
.ws-product-subtitle { margin: 62px 0 10px !important; color: var(--rust, #b44e2f) !important; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.ws-product-card h3 { margin: 0 0 18px; font: 400 clamp(2rem, 3vw, 3.1rem)/.98 Georgia, "Times New Roman", serif; }
.ws-product-card > p { color: var(--muted, #5e6e75); line-height: 1.7; }
.ws-product-footer { margin-top: auto; padding-top: 28px; display: flex; flex-direction: column; gap: 18px; border-top: 1px solid currentColor; }
.ws-product-price { font: 400 2rem Georgia, "Times New Roman", serif; }
.ws-product-soon { font-size: .7rem; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; opacity: .68; }
.ws-offer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.ws-bundle-card, .ws-member-offer { min-height: 480px; padding: 38px; display: flex; flex-direction: column; }
.ws-bundle-card { background: #ead9bb; }
.ws-member-offer { color: #fff; background: var(--rust, #b44e2f); }
.ws-bundle-card h2, .ws-member-offer h2 { margin: 0 0 22px; font: 400 clamp(2.6rem, 4vw, 4.3rem)/.96 Georgia, "Times New Roman", serif; }
.ws-bundle-card h2 em { color: var(--rust, #b44e2f); font-weight: 400; }
.ws-member-offer h2 em { color: var(--gold, #e8bd72); font-weight: 400; }
.ws-bundle-card > p, .ws-member-offer > p { line-height: 1.75; }
.ws-member-offer > p { color: #f5d8cc; }
.ws-offer-price { margin: auto 0 22px; font: 400 3.2rem Georgia, "Times New Roman", serif; }
.ws-member-prices { margin: 22px 0; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid rgba(255,255,255,.25); border-bottom: 1px solid rgba(255,255,255,.25); }
.ws-member-prices > div { padding: 18px 14px 18px 0; }
.ws-member-prices > div + div { padding-left: 18px; border-left: 1px solid rgba(255,255,255,.25); }
.ws-member-prices strong { display: block; font: 400 2.1rem Georgia, "Times New Roman", serif; }
.ws-member-prices span { color: #f5d8cc; font-size: .76rem; }
.ws-founding-note { margin-top: auto !important; font-style: italic; }

/* Workshop 1 sales options */
.ws-course-price { margin: 1.5rem 0 .3rem; padding-top: 1.4rem; border-top: 1px solid rgba(255,255,255,.18); }
.ws-course-price strong { display: block; color: var(--gold, #e8bd72); font: 400 2.8rem/1 Georgia, "Times New Roman", serif; }
.ws-course-price span { display: block; margin-top: .4rem; color: #b9c7cd; font-size: .76rem; text-transform: uppercase; letter-spacing: .1em; }
.ws-access-section { background: var(--cream, #fbf8f1); }
.ws-access-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.ws-access-card { min-height: 455px; padding: 34px; display: flex; flex-direction: column; border: 1px solid var(--line, rgba(16,43,58,.18)); }
.ws-access-standalone { background: var(--paper, #f5efe3); }
.ws-access-member { color: #fff; background: var(--ink, #102b3a); }
.ws-access-card h3 { margin: 0 0 18px; font: 400 clamp(2.1rem, 3.5vw, 3.6rem)/.98 Georgia, "Times New Roman", serif; }
.ws-access-member .ws-kicker { color: var(--gold, #e8bd72); }
.ws-access-price { margin: 15px 0 22px; }
.ws-access-price strong { display: block; font: 400 3rem/1 Georgia, "Times New Roman", serif; }
.ws-access-price span { display: block; margin-top: 6px; color: var(--muted, #5e6e75); font-size: .78rem; }
.ws-access-member .ws-access-price strong { color: var(--gold, #e8bd72); }
.ws-access-member .ws-access-price span { color: #b9c7cd; }
.ws-access-alt-price { margin: -10px 0 18px; color: #b9c7cd; font-size: .84rem; }
.ws-access-card ul { margin: 0 0 30px; padding-left: 1.2rem; line-height: 1.8; }
.ws-access-card .ws-button { margin-top: auto; align-self: flex-start; }
.ws-access-note { max-width: 780px; margin: 24px 0 0; color: var(--muted, #5e6e75); font-size: .86rem; }

/* Locked lesson page */
.workshop-access-gate { background: var(--cream, #fbf8f1); }
.ws-gate { min-height: 70vh; padding: 78px 0 100px; background: var(--paper, #f5efe3); }
.ws-gate-grid { display: grid; grid-template-columns: 1fr .9fr; gap: 8vw; align-items: start; }
.ws-gate-copy h1 { margin: 0 0 28px; font: 400 clamp(3rem, 5.5vw, 5.7rem)/.94 Georgia, "Times New Roman", serif; }
.ws-gate-copy h1 em { color: var(--honey, #d49a3b); font-weight: 400; }
.ws-gate-lead { font: 1.35rem/1.55 Georgia, "Times New Roman", serif; }
.ws-gate-options { display: grid; gap: 16px; }
.ws-gate-card { padding: 30px; border: 1px solid var(--line, rgba(16,43,58,.18)); background: var(--cream, #fbf8f1); }
.ws-gate-member { color: #fff; background: var(--ink, #102b3a); }
.ws-gate-member .ws-kicker { color: var(--gold, #e8bd72); }
.ws-gate-price { display: block; margin-bottom: 6px; font: 400 3rem/1 Georgia, "Times New Roman", serif; }
.ws-gate-price small { color: #b9c7cd; font: .8rem Arial, Helvetica, sans-serif; }
.ws-gate-card > span:not(.ws-button) { color: var(--muted, #5e6e75); font-size: .8rem; }
.ws-gate-card .ws-button { margin-top: 24px; }
.ws-gate-member p { color: #b9c7cd; }

@media (max-width: 900px) {
  .ws-catalog-hero-grid, .ws-offer-grid, .ws-access-grid, .ws-gate-grid { grid-template-columns: 1fr; }
  .ws-product-grid { grid-template-columns: 1fr; }
  .ws-product-card { min-height: 390px; }
  .ws-catalog-path-card { max-width: 650px; }
}

@media (max-width: 620px) {
  .ws-catalog-hero { padding: 62px 0 72px; }
  .ws-catalog-path-card { padding: 26px; box-shadow: 10px 12px 0 rgba(212,154,59,.18); }
  .ws-bundle-card, .ws-member-offer, .ws-access-card { padding: 28px; }
  .ws-member-prices { grid-template-columns: 1fr; }
  .ws-member-prices > div + div { padding-left: 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.25); }
}
