/* Workshops & Teaching — a standalone destination.
   Tokens and resets come from ../styles.css; this file only lays out THIS page.
   Deliberately free of the homepage scroll choreography: someone arriving here
   from a search result or a redirect has not watched the acts and must not need to. */

.wt { --edge: clamp(1.25rem, 5vw, 5rem); }

/* ---------- bar ---------- */
.wt-bar {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0.85rem var(--edge);
  background: var(--bold-marigold);
  border-bottom: 2px solid var(--ink-text);
}
.wt-bar a { color: var(--ink-text); }
.wt-home { font-family: var(--font-display); font-weight: 800; letter-spacing: -0.01em; font-size: 1rem; }
.wt-home small { display: block; font-family: var(--font-body); font-weight: 400; font-size: 0.72rem; opacity: 0.72; letter-spacing: 0.04em; text-transform: uppercase; }
.wt-bar a.wt-bar-cta {
  font-family: var(--font-display); font-weight: 700; font-size: 0.9rem;
  padding: 0.55rem 1rem; border: 2px solid var(--ink-text); border-radius: 999px;
  background: var(--ink-text); color: var(--bold-marigold);
}
.wt-bar a.wt-bar-cta:hover { background: transparent; color: var(--ink-text); }

/* ---------- shared ---------- */
.wt section { padding: clamp(3rem, 7vw, 6rem) var(--edge); }
.wt .eyebrow {
  font-family: var(--font-body); font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase; opacity: 0.75; margin-bottom: 1rem;
}
.wt h1, .wt h2, .wt h3 { font-family: var(--font-display); font-weight: 800; letter-spacing: -0.03em; line-height: 0.94; }
.wt h1 { font-size: clamp(3rem, 11vw, 8.5rem); }
.wt h2 { font-size: clamp(2rem, 5.5vw, 4rem); margin-bottom: 1.5rem; }
.wt h3 { font-size: clamp(1.25rem, 2.2vw, 1.7rem); line-height: 1.05; }
.wt em { font-style: normal; color: var(--rani); }
.wt p { max-width: 62ch; }
.wt .lead { font-size: clamp(1.05rem, 1.8vw, 1.4rem); line-height: 1.5; }

/* ---------- hero ---------- */
.wt-hero { background: var(--bold-marigold); color: var(--ink-text); }
.wt-hero .lead { margin-top: 1.5rem; }
.wt-hero-meta {
  display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 2rem; list-style: none;
}
.wt-hero-meta li {
  font-size: 0.85rem; font-weight: 600; padding: 0.4rem 0.85rem;
  border: 2px solid var(--ink-text); border-radius: 999px;
}

/* ---------- who ---------- */
.wt-who { background: var(--deep-indigo); color: var(--bold-cream); }
.wt-who em { color: var(--marigold); }
.wt-who-grid { display: grid; gap: clamp(1.5rem, 4vw, 3rem); grid-template-columns: 1fr; margin-top: 2rem; }
@media (min-width: 60rem) { .wt-who-grid { grid-template-columns: 1.2fr 1fr; } }
.wt-cred { list-style: none; display: grid; gap: 0.9rem; }
.wt-cred li { display: grid; grid-template-columns: 5.5rem 1fr; gap: 1rem; padding-bottom: 0.9rem; border-bottom: 1px solid var(--hair); }
.wt-cred b { font-family: var(--font-display); font-weight: 700; font-size: 0.95rem; opacity: 0.8; }
.wt-cred span { font-size: 0.95rem; }
.wt-cred span i { display: block; font-style: normal; opacity: 0.72; font-size: 0.85rem; }

/* ---------- what I teach ---------- */
.wt-teach { background: var(--bold-cream); color: var(--ink-text); }
.wt-cards { display: grid; gap: 1.25rem; grid-template-columns: 1fr; margin-top: 2.5rem; }
@media (min-width: 40rem) { .wt-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 68rem) { .wt-cards { grid-template-columns: repeat(3, 1fr); } }
.wt-card { padding: 1.6rem; border: 2px solid var(--ink-text); border-radius: 1rem; background: #fff; }
.wt-card > span { font-family: var(--font-display); font-size: 0.85rem; font-weight: 700; opacity: 0.5; }
.wt-card h3 { margin: 0.5rem 0 0.75rem; }
.wt-card p { font-size: 0.97rem; }
.wt-card small { display: block; margin-top: 1rem; font-size: 0.83rem; font-weight: 600; opacity: 0.7; }

/* ---------- formats ---------- */
.wt-formats { display: grid; gap: 1rem; grid-template-columns: 1fr; margin-top: 2.5rem; }
@media (min-width: 48rem) { .wt-formats { grid-template-columns: repeat(3, 1fr); } }
.wt-formats div { padding: 1.4rem; background: var(--bold-marigold); border-radius: 1rem; }
.wt-formats b { display: block; font-family: var(--font-display); font-size: 1.6rem; font-weight: 800; }
.wt-formats span { font-size: 0.9rem; opacity: 0.8; }

/* ---------- proof ---------- */
.wt-proof { background: var(--bold-cobalt); color: var(--bold-cream); }
.wt-proof em { color: var(--glow); }
.wt-proof figure { margin: 2rem 0 0; }
.wt-proof img { border-radius: 1rem; width: 100%; }
.wt-proof figcaption { margin-top: 0.75rem; font-size: 0.85rem; opacity: 0.75; }
.wt-cities { margin-top: 2rem; font-size: 1.05rem; }
.wt-fest-title { margin: 3rem 0 0; font-family: var(--font-display); font-size: clamp(1.3rem, 2.6vw, 1.8rem); font-weight: 800; }
.wt-examples { list-style: none; margin: 1.25rem 0 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); }
.wt-examples li { border: 1px solid color-mix(in oklab, var(--bold-cream) 35%, transparent); border-radius: 1rem; padding: 1.25rem 1.4rem; display: grid; gap: 0.35rem; align-content: start; }
.wt-examples small { font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.8; }
.wt-examples strong { font-family: var(--font-display); font-size: clamp(1.25rem, 2.4vw, 1.6rem); font-weight: 800; }
.wt-examples span { font-size: 1rem; line-height: 1.5; }
.wt-cities b { display: block; font-family: var(--font-display); font-size: clamp(1.4rem, 3vw, 2.2rem); font-weight: 800; margin-bottom: 0.5rem; }

/* ---------- routes (choreography / coaching / classes) ---------- */
.wt-routes { background: var(--bold-cream); color: var(--ink-text); }
.wt-route-grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; margin-top: 2.5rem; }
@media (min-width: 56rem) { .wt-route-grid { grid-template-columns: repeat(3, 1fr); } }
.wt-route { display: flex; flex-direction: column; padding: 1.75rem; border: 2px solid var(--ink-text); border-radius: 1rem; }
.wt-route p { flex: 1; font-size: 0.97rem; margin: 0.75rem 0 1.25rem; }
.wt-route .wt-btn { align-self: flex-start; }
.wt-class-links { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0.75rem 0 1.25rem; list-style: none; }
.wt-class-links a {
  display: inline-block; font-size: 0.85rem; font-weight: 600;
  padding: 0.35rem 0.8rem; border: 1.5px solid var(--ink-text); border-radius: 999px;
}
.wt-class-links a:hover { background: var(--ink-text); color: var(--bold-cream); }

/* ---------- ask ---------- */
.wt-ask { background: var(--rani-deep); color: var(--bold-cream); text-align: left; }
.wt-ask em { color: var(--marigold); }
.wt-btn {
  display: inline-block; margin-top: 1.5rem;
  font-family: var(--font-display); font-weight: 800; font-size: clamp(1rem, 1.8vw, 1.25rem);
  padding: 0.9rem 1.6rem; border-radius: 999px;
  background: var(--bold-marigold); color: var(--ink-text); border: 2px solid var(--bold-marigold);
}
.wt-btn:hover { background: transparent; color: var(--bold-marigold); }
.wt-route .wt-btn { background: var(--ink-text); color: var(--bold-cream); border-color: var(--ink-text); font-size: 0.95rem; padding: 0.7rem 1.2rem; }
.wt-route .wt-btn:hover { background: transparent; color: var(--ink-text); }
.wt-ask-note { margin-top: 1.25rem; font-size: 0.92rem; opacity: 0.8; }

/* ---------- foot ---------- */
.wt-foot { background: var(--ink-deep); color: var(--cream); font-size: 0.9rem; }
.wt-foot a { text-decoration: underline; text-underline-offset: 3px; }
.wt-foot p + p { margin-top: 0.75rem; }

@media (prefers-reduced-motion: no-preference) {
  .wt-btn, .wt-bar-cta, .wt-class-links a { transition: background-color 200ms var(--ease-out), color 200ms var(--ease-out); }
}

/* ── motion ────────────────────────────────────────────────────────────────
   Only ever applied under .js-motion, which workshops.js sets after it has
   confirmed IntersectionObserver exists and reduced-motion is off. With JS
   blocked, the selector never matches and every element renders at rest —
   so a direct arrival from a search result can never land on a blank page.
   D-037: system ease for scroll motion, no bounce, no overshoot. */
.wt { overflow-x: clip; }          /* x-only clip keeps position:sticky working */
.js-motion [data-rise] {
  opacity: 0;
  transform: translate3d(0, 14px, 0);
  transition:
    opacity 520ms var(--ease-out) var(--rise-delay, 0ms),
    transform 520ms var(--ease-out) var(--rise-delay, 0ms);
  will-change: opacity, transform;
}
.js-motion [data-rise].is-in { opacity: 1; transform: none; }
.js-motion [data-rise].is-in { will-change: auto; }

/* the hero is above the fold — it rises immediately rather than on scroll */
.js-motion .wt-hero [data-rise] { transition-duration: 640ms; }

/* a quiet lift on the things you can click, so the page feels alive at rest */
@media (prefers-reduced-motion: no-preference) {
  .wt-card, .wt-route { transition: transform 260ms var(--ease-out), box-shadow 260ms var(--ease-out); }
  .wt-card:hover, .wt-route:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgb(0 0 0 / .12); }
  .wt-btn { transition: background-color 200ms var(--ease-out), color 200ms var(--ease-out), transform 200ms var(--ease-out); }
  .wt-btn:hover { transform: translateY(-2px); }
}

@media (prefers-reduced-motion: reduce) {
  .js-motion [data-rise] { opacity: 1; transform: none; transition: none; }
}
