/* ═══════════════════════════════════════════════════════════════════════════
   WORKSHOPS PAGE
   ═══════════════════════════════════════════════════════════════════════════ */


/* ─── Shared keyframe (used by hero & format sections) ───────────────────── */
@keyframes cinematicBlurIn {
  0%   { opacity: 0; filter: blur(12px); transform: translateY(35px) scale(0.98); }
  100% { opacity: 1; filter: blur(0px);  transform: translateY(0)    scale(1);    }
}


/* ─── Hero / Intro ───────────────────────────────────────────────────────── */
.workshop-text-section {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 90px 20px 60px;
  text-align: center;
  box-sizing: border-box;
  will-change: transform; /* parallax */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  min-height: 100svh;
}

.workshop-text-section a {
  text-decoration: none;
  box-shadow: none;
  border-bottom: none;
  transition: all 0.3s ease;
}

.ws-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: "Inter", sans-serif;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: #aaa;
  margin-bottom: 32px;
  opacity: 0;
  will-change: transform, opacity, filter;
  transform: translateY(35px);
}

.ws-eyebrow::before,
.ws-eyebrow::after {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: #D4C5A9;
  flex-shrink: 0;
}

.workshop-text-section.play-cinema .ws-eyebrow {
  animation: cinematicBlurIn 1.0s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: 0s;
}

.workshop-title {
  font-family: "Libre Baskerville", serif;
  font-weight: 400;
  font-size: 52px;
  line-height: 1.2;
  color: #0d0d0d;
  margin: 0 0 25px;
  letter-spacing: -0.02em;
}

.workshop-title span {
  display: block;
  opacity: 0;
  will-change: transform, opacity, filter;
  transform: translateY(35px);
}

.workshop-desc {
  font-family: "Inter", sans-serif;
  font-size: 20px;
  line-height: 1.6;
  color: #444;
  max-width: 750px;
  margin: 0 auto 30px;
  opacity: 0;
  will-change: transform, opacity, filter;
  transform: translateY(35px);
}

.editorial-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  column-gap: 20px;
  row-gap: 10px;
  max-width: 100%;
  margin: 0 auto 30px;
  opacity: 0;
  transform: translateY(20px);
}

.editorial-label {
  font-family: "Libre Baskerville", serif;
  font-style: italic;
  font-size: 18px;
  color: #888;
  white-space: nowrap;
}

.editorial-items-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.editorial-item {
  font-family: "Inter", sans-serif;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #333;
  font-weight: 600;
  white-space: nowrap;
  display: flex;
  align-items: center;
}

.editorial-item:not(:last-child)::after {
  content: "•";
  color: #d4c5a9;
  margin-left: 20px;
  font-size: 16px;
  position: relative;
  top: -1px;
}

.workshop-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  opacity: 0;
  transform: translateY(20px);
}

.btn-primary {
  display: inline-block;
  text-decoration: none;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-weight: 500;
  background-color: #EFE4D2;
  color: #3F3F3C;
  padding: 18px 40px;
  border-radius: 50px;
  border: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.btn-primary:hover {
  background-color: #E2D2BC;
  color: #3F3F3C;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.link-secondary {
  font-family: "Inter", sans-serif;
  font-size: 15px;
  color: #777;
  text-decoration: none;
  transition: color 0.3s ease;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
}

.link-secondary:hover {
  color: #333;
  border-bottom-color: #333;
}

/* Scroll-triggered entrance */
.workshop-text-section.play-cinema .workshop-title span:nth-child(1) {
  animation: cinematicBlurIn 1.4s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: 0.1s;
}

.workshop-text-section.play-cinema .workshop-title span:nth-child(2) {
  animation: cinematicBlurIn 1.4s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: 0.25s;
}

.workshop-text-section.play-cinema .workshop-desc {
  animation: cinematicBlurIn 1.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: 0.45s;
}

.workshop-text-section.play-cinema .editorial-list {
  animation: cinematicBlurIn 1.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: 0.65s;
}

.workshop-text-section.play-cinema .workshop-actions {
  animation: cinematicBlurIn 1.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: 0.85s;
}

@media (max-width: 900px) {
  .editorial-list { flex-direction: column; align-items: center; gap: 15px; }
}

@media (min-width: 769px) {
  .mobile-br { display: none; }
}

@media (max-width: 768px) {
  .workshop-text-section { padding: 85px 24px 50px; }
  .workshop-title        { font-size: 28px; line-height: 1.3; margin-bottom: 16px; text-wrap: balance; }
  .workshop-desc         { font-size: 16px; margin-bottom: 32px; line-height: 1.5; }
  .editorial-list        { margin-bottom: 40px; gap: 12px; }
  .editorial-label       { font-size: 15px; }
  .editorial-items-wrapper { flex-direction: column; gap: 8px; width: 100%; }
  .editorial-item:not(:last-child)::after { display: none; }
  .editorial-item {
    font-size: 12px;
    background: #F9F9F7;
    padding: 10px 16px;
    border-radius: 20px;
    width: 100%;
    justify-content: center;
    box-sizing: border-box;
    letter-spacing: 0.05em;
  }
  .workshop-actions { gap: 15px; margin-bottom: 24px; }
  .btn-primary   { width: 100%; box-sizing: border-box; padding: 15px 20px; font-size: 15px; }
  .link-secondary { font-size: 13px; text-align: center; }
}


/* ─── Curriculum / Accordion ─────────────────────────────────────────────── */
.wsc-wrapper {
  max-width: 800px;
  margin: 0 auto;
  padding: 80px 20px;
  font-family: "Inter", sans-serif;
  box-sizing: border-box;
}

.wsc-scroll-item {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.wsc-animate-active {
  animation: cinematicBlurIn 1.1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.wsc-meta-header {
  text-align: center;
  font-size: 14px;
  color: #888;
  margin-bottom: 60px;
  letter-spacing: 0.05em;
  display: flex;
  justify-content: center;
  align-items: center;
  white-space: nowrap;
}

.wsc-separator { margin: 0 8px; color: #ddd; }

.wsc-accordion-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 100px;
}

.wsc-series-card {
  background-color: #FFFFFF;
  border: 1px solid #F0F0F0;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
  transition: all 0.4s ease;
  overflow: hidden;
}

.wsc-series-card:hover          { box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06); border-color: #E0E0E0; }
.wsc-series-card.active         { border-color: #dcdcdc; box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08); }

.wsc-series-header {
  padding: 30px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  background: #fff;
  transition: background 0.3s ease;
  user-select: none;
  position: relative;
  z-index: 2;
}

.wsc-series-header:hover { background-color: #fafafa; }

.wsc-series-title {
  font-family: "Libre Baskerville", serif;
  font-size: 24px;
  color: #1a1a1a;
  margin: 0;
  font-weight: 400;
  line-height: 1.2;
}

.wsc-outer-icon {
  width: 20px;
  height: 20px;
  position: relative;
  flex-shrink: 0;
  margin-left: 20px;
  opacity: 0.6;
}

.wsc-outer-icon::before,
.wsc-outer-icon::after {
  content: '';
  position: absolute;
  background-color: #333;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  top: 50%;
  left: 50%;
}

.wsc-outer-icon::before { width: 100%; height: 2px; transform: translate(-50%, -50%); }
.wsc-outer-icon::after  { width: 2px; height: 100%; transform: translate(-50%, -50%); }

.wsc-series-card.active .wsc-outer-icon::before { transform: translate(-50%, -50%) rotate(135deg); }
.wsc-series-card.active .wsc-outer-icon::after  { transform: translate(-50%, -50%) rotate(135deg); }

.wsc-series-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  background-color: #fafafa;
}

.wsc-series-inner { overflow: hidden; min-height: 0; }

.wsc-series-card.active .wsc-series-body { grid-template-rows: 1fr; }

.wsc-workshops-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 30px 40px 40px;
  border-top: 1px solid #eaeaea;
}

.wsc-workshop-item {
  background: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.wsc-workshop-item.active { border-color: #ccc; }

.wsc-workshop-header {
  padding: 18px 24px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 16px;
  color: #333;
  font-weight: 500;
  transition: background 0.2s ease;
  position: relative;
  z-index: 2;
}

.wsc-workshop-header:hover { background: #fdfdfd; }

.wsc-workshop-title  { display: flex; align-items: center; gap: 10px; }
.wsc-accent-bullet   { color: #C0B090; font-size: 18px; line-height: 1; flex-shrink: 0; }

.wsc-inner-icon {
  width: 10px;
  height: 10px;
  border-right: 2px solid #999;
  border-bottom: 2px solid #999;
  transform: rotate(45deg);
  transition: transform 0.3s ease;
}

.wsc-workshop-item.active .wsc-inner-icon { transform: rotate(225deg); border-color: #333; }

.wsc-workshop-details {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s ease;
  background-color: #ffffff;
}

.wsc-details-inner {
  overflow: hidden;
  min-height: 0;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.wsc-workshop-item.active .wsc-workshop-details { grid-template-rows: 1fr; }
.wsc-workshop-item.active .wsc-details-inner    { opacity: 1; }

.wsc-content-box {
  padding: 5px 24px 30px;
  color: #555;
  line-height: 1.6;
  font-size: 15px;
}

.wsc-meta-info {
  font-size: 11px;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
  font-weight: 600;
}

.wsc-desc { margin-top: 0; margin-bottom: 15px; }

.wsc-link-btn {
  display: inline-block;
  font-size: 14px;
  color: #1a1a1a;
  text-decoration: none;
  border-bottom: 1px solid #ccc;
  padding-bottom: 2px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.wsc-link-btn:hover { border-color: #1a1a1a; transform: translateX(3px); }

.wsc-features-section {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 100px;
}

.wsc-features-headline {
  font-family: "Libre Baskerville", serif;
  font-size: 32px;
  margin-bottom: 50px;
}

.wsc-features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 60px;
  text-align: left;
}

.wsc-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 16px;
  color: #444;
  line-height: 1.5;
}

.wsc-feature-item .wsc-accent-bullet { margin-top: 3px; }

.wsc-divider {
  display: block;
  height: 1px;
  background-color: #E8E5E1;
  width: 100%;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .wsc-wrapper          { padding: 40px 15px; }
  .wsc-meta-header      { font-size: 11px; letter-spacing: 0.02em; white-space: normal; overflow: visible; margin-bottom: 30px; text-align: center; }
  .wsc-separator        { margin: 0 5px; }
  .wsc-series-header    { padding: 25px 20px; }
  .wsc-series-title     { font-size: 20px; }
  .wsc-workshops-stack  { padding: 20px; }
  .wsc-workshop-header  { padding: 16px 18px; font-size: 15px; }
  .wsc-features-grid    { grid-template-columns: 1fr; }
  .wsc-features-headline { font-size: 26px; margin-bottom: 30px; }
  .wsc-accordion-list   { gap: 16px; margin-bottom: 60px; }
}

@media (max-width: 380px) {
  .wsc-meta-header { font-size: 10px; margin-bottom: 20px; }
}


/* ─── Format / How it works ──────────────────────────────────────────────── */
.format-section {
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px 20px 100px;
  font-family: "Inter", sans-serif;
  text-align: center;
}

.format-headline {
  font-family: "Libre Baskerville", serif;
  font-size: 32px;
  color: #0d0d0d;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(30px);
}

.format-subhead {
  font-family: "Inter", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: #555;
  max-width: 700px;
  margin: 0 auto 70px;
  opacity: 0;
  transform: translateY(30px);
}

.format-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  text-align: left;
}

.format-item {
  padding: 0 10px;
  opacity: 0;
  transform: translateY(30px);
}

.format-item::before {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  background-color: #D4C5A9;
  margin-bottom: 25px;
}

.format-label {
  font-family: "Inter", sans-serif;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  color: #888;
  margin-bottom: 15px;
  display: block;
}

.format-content {
  font-family: "Libre Baskerville", serif;
  font-size: 18px;
  color: #222;
  line-height: 1.5;
}

.format-detail {
  display: block;
  font-family: "Inter", sans-serif;
  font-size: 15px;
  color: #666;
  margin-top: 10px;
  line-height: 1.6;
}

.play-format-anim {
  animation: cinematicBlurIn 1.3s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.format-grid .format-item:nth-child(1) { animation-delay: 0.2s; }
.format-grid .format-item:nth-child(2) { animation-delay: 0.35s; }
.format-grid .format-item:nth-child(3) { animation-delay: 0.5s; }

@media (max-width: 768px) {
  .format-section   { padding: 40px 20px 80px; }
  .format-headline  { font-size: 26px; }
  .format-subhead   { font-size: 16px; margin-bottom: 50px; }
  .format-grid      { grid-template-columns: 1fr; gap: 50px; text-align: center; }
  .format-item      { padding: 0; }
  .format-item::before { margin: 0 auto 20px; }
}


/* ─── Newsletter (scoped for workshops page — home.css not loaded here) ───── */
.newsletter-section-bg {
  background-color: #ffffff;
  width: 100%;
}

.newsletter-section {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 20px;
  text-align: center;
  font-family: "Libre Baskerville", serif;
}

.news-text-group { margin-bottom: 50px; }

.news-line-1,
.news-line-2 {
  opacity: 0;
  transform: translateY(30px);
  will-change: transform, opacity, filter;
  color: #0d0d0d;
  line-height: 1.2;
}

.news-line-1 { font-size: 32px; margin-bottom: 15px; }
.news-line-2 { font-size: 42px; margin: 0; }

.form-pill-wrapper {
  display: flex;
  align-items: center;
  background-color: #FAFAFA;
  border-radius: 100px;
  padding: 5px;
  max-width: 520px;
  margin: 0 auto;
  transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  border: none;
  outline: none;
  box-shadow: none;
  opacity: 0;
  transform: translateY(30px);
  will-change: transform, opacity;
}

.form-pill-wrapper:focus-within {
  background-color: #FFFFFF;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transform: scale(1.02);
}

.newsletter-section.start-anim .news-line-1 {
  animation: cinematicUp 1.4s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.newsletter-section.start-anim .news-line-2 {
  animation: cinematicUp 1.4s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: 0.2s;
}

.newsletter-section.start-anim .form-pill-wrapper {
  animation: cinematicUp 1.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: 0.4s;
}

.news-input {
  font-family: "Inter", sans-serif;
  font-size: 16px;
  color: #555;
  background: transparent;
  border: none;
  outline: none;
  box-shadow: none;
  -webkit-appearance: none;
  appearance: none;
  padding: 15px 10px 15px 30px;
  flex-grow: 1;
}

.news-input::placeholder { color: #999; }

.news-btn {
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #3F3F3C;
  background-color: #EFE4D2;
  border: none;
  border-radius: 50px;
  padding: 16px 32px;
  cursor: pointer;
  transition: all 0.4s ease;
  white-space: nowrap;
}

.news-btn:hover { background-color: #E2D2BC; color: #222; transform: translateY(-1px); }

#newsletter-message {
  margin-top: 15px;
  font-family: "Inter", sans-serif;
  font-size: 14px;
}

@media (max-width: 768px) {
  .newsletter-section { padding: 40px 20px; }
  .news-line-1        { font-size: 24px; }
  .news-line-2        { font-size: 30px; }
  .form-pill-wrapper  {
    flex-direction: column;
    background: transparent;
    padding: 0;
    gap: 15px;
    box-shadow: none;
    transform: none;
  }
  .news-input {
    width: 100%;
    background-color: #FAFAFA;
    border-radius: 50px;
    padding: 18px 20px;
    text-align: center;
  }
  .news-btn { width: 100%; padding: 18px 0; }
}
