/* For facilitators: a walk-through with a small screen beside the words. */
.fac .home-section { padding: 72px 0 24px; margin-top: 56px; text-align: center; }
.fac .home-section h2 { margin: 0 auto 22px; }
.fac-hero .eyebrow { margin-bottom: 10px; }
.fac-hero .home-lede { line-height: 1.75; }
.fac-hero .actions { margin-top: 28px; justify-content: center; }
.fac-fan { position: relative; height: 330px; margin: 46px auto 0; max-width: 620px; }
.fac-fan img { position: absolute; left: 50%; top: 0; width: 170px; margin-left: -85px; border-radius: 10px; transform: translateY(var(--y)) rotate(var(--a)) translateX(calc(var(--a) / 1deg * 6px)); transform-origin: 50% 110%; box-shadow: 0 0 26px rgba(250, 5, 138, .35), 0 14px 30px rgba(0, 0, 0, .55); }
.fac-fan img.mid { box-shadow: 0 0 40px rgba(250, 5, 138, .6), 0 14px 30px rgba(0, 0, 0, .55); }
.fac-lead { max-width: 640px; margin: 0 auto; font-size: 19px; line-height: 1.8; }
.fac-three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin: 46px 0 0; text-align: left; }
.fac-three > div { padding: 26px 24px; border-radius: var(--radius); border: 1px solid var(--line); background: rgba(255, 255, 255, .025); transition: opacity .7s ease, transform .7s ease, border-color .7s ease, box-shadow .9s ease, background .7s ease; outline: none; }
.fac-three.paced > div { opacity: .55; }
.fac-three > div.reading { opacity: 1; transform: translateY(-4px); border-color: rgba(255, 95, 180, .55); background: rgba(250, 5, 138, .06); box-shadow: 0 0 34px rgba(250, 5, 138, .28); }
.fit-time { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent) !important; margin-bottom: 10px !important; }
.fac-three h3 { margin-bottom: 10px; }
.fac-three p { margin: 0; color: var(--text-dim); line-height: 1.75; }
.fac-uses { margin: 42px auto 0; max-width: 620px; font-family: var(--display); font-size: 23px; line-height: 1.45; }
.tour-hint { margin: -6px auto 0; font-size: 14px; color: var(--text-dim); }
.tour { position: relative; margin-top: 18px; padding: 0 56px; user-select: none; -webkit-user-select: none; touch-action: pan-y; }
.tour-stack { position: relative; transition: height .5s ease; cursor: grab; }
.tour-stack.grab { cursor: grabbing; }
.tour-pane { position: absolute; left: 0; right: 0; top: 0; display: grid; grid-template-columns: 270px 1fr; gap: 56px; align-items: center; will-change: transform, opacity; transition: transform .62s cubic-bezier(.22, 1.28, .36, 1), opacity .4s ease; }
.tour-arrow { position: absolute; top: 50%; margin-top: -22px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: none; color: var(--text); font-size: 24px; line-height: 1; cursor: pointer; z-index: 2; }
.tour-arrow:hover:not([disabled]) { border-color: var(--accent); color: var(--accent); }
.tour-arrow[disabled] { opacity: .25; cursor: default; }
#tour-back { left: 0; } #tour-next { right: 0; }
.tour-dots { display: flex; justify-content: center; gap: 4px; margin-top: 20px; }
.tour-dots button { width: 22px; height: 22px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.tour-dots button::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--line); transition: transform .3s ease, background .3s ease; }
.tour-dots button[aria-selected="true"]::after { background: var(--accent); transform: scale(1.4); }
.tour-card { margin: 0; text-align: center; }
.tour-card img { display: block; width: 100%; aspect-ratio: 7 / 12; object-fit: cover; border-radius: 12px; box-shadow: 0 0 40px rgba(250, 5, 138, .4), 0 18px 40px rgba(0, 0, 0, .55); -webkit-user-drag: none; }
.tour-card figcaption { margin-top: 14px; font-family: var(--display); font-size: 17px; color: var(--text-dim); }
.tour-words { text-align: left; font-family: var(--body); line-height: 1.75; }
.tour-count { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-dim); margin: 0 0 12px; }
.tour-words h3 { font-family: var(--display); font-weight: 600; font-size: clamp(30px, 4vw, 38px); line-height: 1.12; margin: 0 0 22px; }
.tour-label { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); font-weight: 500; margin: 0 0 4px; }
.tour-words p:not(.tour-label):not(.tour-count) { margin: 0 0 20px; }
.tour-them { color: var(--text-dim); }

/* Questions: quiet pills, one answer in view, in the plain type. */
.ask-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 18px; font-family: var(--body); }
.ask-chips button { font: 400 14px var(--body); color: var(--text-dim); background: none; border: 1px solid var(--line); border-radius: 99px; padding: 7px 14px; cursor: pointer; transition: color .2s ease, border-color .2s ease; }
.ask-chips button:hover { color: var(--text); }
.ask-chips button[aria-selected="true"] { color: var(--accent); border-color: var(--accent); }
.ask-answer { max-width: 640px; margin: 34px auto 0; padding: 26px 28px; border-radius: var(--radius); border: 1px solid var(--line); background: rgba(255, 255, 255, .025); min-height: 150px; text-align: left; font-family: var(--body); }
.ask-answer h3 { font-family: var(--body); font-size: 17px; font-weight: 500; margin: 0 0 6px; }
.ask-answer p { margin: 0; color: var(--text-dim); line-height: 1.8; }

/* The ending: the product's own ritual. */
.turn { text-align: center; }
.turn-card { position: relative; width: 200px; height: 343px; margin: 14px auto 0; padding: 0; border: 0; background: none; cursor: pointer; perspective: 900px; touch-action: none; display: block; }
.turn-card > span { position: absolute; inset: 0; border-radius: 12px; backface-visibility: hidden; transition: transform .9s cubic-bezier(.3, .1, .2, 1); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 16px; border: 1px solid var(--line); }
.turn-back { background: repeating-linear-gradient(45deg, rgba(255, 255, 255, .05) 0 4px, transparent 4px 9px), #0c0c10; }
.turn-back i { width: 60%; height: 60%; border-radius: 50%; background: radial-gradient(circle, rgba(255, 210, 150, .9), transparent 70%); opacity: 0; transform: scale(.3); transition: opacity 1.3s ease, transform 1.3s ease; }
.turn-card.holding .turn-back i { opacity: 1; transform: scale(1.5); }
.turn-face { transform: rotateY(180deg); background: radial-gradient(90% 70% at 50% 35%, rgba(255, 200, 120, .16), transparent), #0c0c10; color: var(--text); }
.turn-face img { width: 100%; height: 46%; object-fit: cover; border-radius: 6px; margin-bottom: 10px; }
.turn-face b { font-family: var(--display); font-size: 22px; font-weight: 600; margin-bottom: 6px; }
.turn-face em { font-style: normal; font-size: 13px; line-height: 1.5; color: var(--text-dim); }
.turn-card.turned .turn-back { transform: rotateY(-180deg); }
.turn-card.turned .turn-face { transform: rotateY(0); }

@media (max-width: 720px) {
  .home-nav { display: none; }
  .fac .home-section { padding: 52px 0 16px; margin-top: 36px; }
  .fac-fan { height: 240px; margin-top: 34px; }
  .fac-fan img { width: 118px; margin-left: -59px; transform: translateY(var(--y)) rotate(var(--a)) translateX(calc(var(--a) / 1deg * 4px)); }
  .fac-three { grid-template-columns: 1fr; }
  .fac-lead { font-size: 17.5px; }
  .tour { padding: 0; }
  .tour-arrow { display: none; }
  .tour-pane { grid-template-columns: 1fr; gap: 24px; }
  .tour-card img { width: min(190px, 56vw); margin: 0 auto; }
  .tour-words h3 { text-align: center; }
  .tour-count { text-align: center; }
  .ask-answer { min-height: 210px; padding: 20px; }
}
@media (prefers-reduced-motion: reduce) { .tour-pane, .turn-card > span { transition: opacity .3s ease; } }

#tour { overflow-x: clip; }

.fac-path { list-style: none; counter-reset: p; padding: 0; margin: 40px auto 0; max-width: 560px; text-align: left; }
.fac-path li { counter-increment: p; position: relative; padding: 0 0 18px 44px; line-height: 1.7; color: var(--text-dim); }
.fac-path li::before { content: counter(p); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; color: var(--accent); border: 1px solid var(--line); }
.fac-path b { color: var(--text); font-weight: 500; }
.fac-form { max-width: 480px; margin: 26px auto 0; display: flex; flex-direction: column; gap: 12px; align-items: stretch; }
.fac-form .btn { align-self: center; margin-top: 8px; }

/* The living verb: warm light and a slow, small bounce. The headline keeps two lines, so nothing below it moves. */
.fac-hero h1 { margin-top: 26px; min-height: 2.1em; }
.verb-line { white-space: nowrap; }
.verb { display: inline-block; text-align: center; color: #ffeeda; text-shadow: 0 0 18px rgba(255, 170, 120, .45); transition: width .8s cubic-bezier(.45, 0, .2, 1), opacity .75s ease, transform .95s cubic-bezier(.34, 1.7, .5, 1), text-shadow .75s ease; }
.verb.leaving { opacity: 0; transform: translateY(-.16em); text-shadow: 0 0 34px rgba(255, 130, 150, .9); transition: width .8s cubic-bezier(.45, 0, .2, 1), opacity .75s ease, transform .75s ease, text-shadow .75s ease; }
.verb.arriving { opacity: 0; transform: translateY(.3em); text-shadow: 0 0 34px rgba(255, 170, 110, .9); transition: none; }
.verb-measure { position: absolute; visibility: hidden; white-space: nowrap; }
@media (max-width: 420px) { .fac-hero h1 { font-size: 35px; } }

.fac-where { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; max-width: 620px; margin: 22px auto 0; padding: 0; font-size: 15px; color: var(--text); }
.fac-where li { position: relative; }
.fac-where li:not(:last-child)::after { content: "·"; position: absolute; right: -13px; color: var(--accent); }

.fac-next { margin-top: 18px !important; }

/* The field: the same glow as the home page, in numbers, so it can be tuned (add ?tune to the address). */
body.fac-page { --f1: 285; --f2: 215; --f3: 18; --fs: 2.55; --fb: 0; --fp: 1.25; }   /* chosen by Markus and Eda, 5 Nov */
html:has(body.fac-page) { background: #07050d; }
body.fac-page::before { background:
  radial-gradient(38% 32% at 22% 28%, hsl(var(--f1) 96% 50% / calc(.15 * var(--fs))), transparent 70%),
  radial-gradient(42% 38% at 78% 58%, hsl(var(--f2) 79% 54% / calc(.165 * var(--fs))), transparent 70%),
  radial-gradient(34% 28% at 52% 96%, hsl(var(--f3) 92% 57% / calc(.10 * var(--fs))), transparent 70%),
  radial-gradient(60% 50% at 50% 50%, hsl(calc(var(--f2) - 20) 66% 24% / calc(.165 * var(--fs))), transparent 75%); }
body.fac-page::after { background:
  radial-gradient(26% 22% at 50% 36%, hsl(var(--f1) 96% 50% / calc(.12 * var(--fs))), transparent 70%),
  radial-gradient(30% 26% at 30% 70%, hsl(calc(var(--f2) + 35) 64% 50% / calc(.09 * var(--fs))), transparent 70%); }

/* The places: each sits in its own breath of light, on the field, with a small flame between them. */
.fac-where { gap: 14px 30px; margin-top: 30px; font-size: 16px; position: relative; }
.fac-where::before { content: ""; position: absolute; inset: -34px -60px; z-index: -1; pointer-events: none; background: radial-gradient(50% 60% at 50% 50%, hsl(var(--f1) 90% 55% / calc(.16 * var(--fp))), hsl(var(--f2) 80% 50% / calc(.07 * var(--fp))) 55%, transparent 75%); filter: blur(10px); }
.fac-where li { padding: 2px 0; animation: place-breath 7s ease-in-out infinite; animation-delay: calc(var(--n, 0) * -.875s); }
.fac-where li:nth-child(2) { --n: 3; } .fac-where li:nth-child(3) { --n: 6; } .fac-where li:nth-child(4) { --n: 1; } .fac-where li:nth-child(5) { --n: 4; } .fac-where li:nth-child(6) { --n: 7; } .fac-where li:nth-child(7) { --n: 2; } .fac-where li:nth-child(8) { --n: 5; }
.fac-where li:not(:last-child)::after { content: ""; position: absolute; right: -19px; top: 50%; width: 9px; height: 12px; margin-top: -6px; animation: none; background: linear-gradient(to top, #f7502d, #fa058a 60%, #c92fd2); clip-path: path('M4.5 0 C5.4 2.6 9 5.4 9 8 A4.5 4 0 0 1 0 8 C0 5.4 3.6 2.6 4.5 0 Z'); filter: drop-shadow(0 0 4px rgba(250, 5, 138, .8)); }
@keyframes place-breath { 0%, 100% { opacity: .78; text-shadow: 0 0 0 transparent; } 50% { opacity: 1; text-shadow: 0 0 16px hsl(var(--f1) 95% 72% / .75), 0 0 34px hsl(var(--f2) 85% 62% / .4); } }
@media (prefers-reduced-motion: reduce) { .fac-where li { animation: none; } }

.tuner { position: fixed; right: 16px; bottom: 16px; z-index: 80; width: 250px; padding: 12px 14px; border-radius: 12px; background: rgba(10, 8, 16, .9); border: 1px solid var(--line); font: 400 12px/1.4 var(--body); color: var(--text); }
.tuner label { display: grid; grid-template-columns: 1fr auto; margin-bottom: 8px; }
.tuner input { grid-column: 1 / -1; width: 100%; accent-color: #fa058a; }
.tuner p { margin: 6px 0 0; color: var(--text-dim); word-break: break-all; }
.tuner button { font: inherit; color: var(--text); background: none; border: 1px solid var(--line); border-radius: 99px; padding: 3px 10px; cursor: pointer; }

/* Rest between sections, so people pause as they pass. */
.fac-hero .actions { margin-top: 56px; }
.fac-fan { margin-top: 72px; }
.fac .home-section { padding: 96px 0 40px; margin-top: 88px; }
.fac-three { margin-top: 56px; }
.fac-where .more { font-style: italic; color: var(--text-dim); }
@media (max-width: 720px) {
  .fac-hero .actions { margin-top: 42px; }
  .fac .home-section { padding: 68px 0 28px; margin-top: 60px; }
}

/* Questions: one topic in view, and each answer opens under its own question. */
.ask-answer { max-width: 640px; margin: 30px auto 0; padding: 0; min-height: 0; border: 0; border-radius: 0; background: none; }
.ask-row { border-bottom: 1px solid var(--line); }
.ask-row > button { display: block; width: 100%; padding: 17px 2px; background: none; border: 0; text-align: left; font: 400 17px/1.4 var(--body); color: var(--text); cursor: pointer; transition: color .25s ease; }
.ask-row > button:hover, .ask-row.on > button { color: var(--accent); }
.ask-open { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s ease; }
.ask-open > div { overflow: hidden; }
.ask-row.on .ask-open { grid-template-rows: 1fr; }
.ask-open p { margin: 0; padding: 0 2px 20px; color: var(--text-dim); line-height: 1.8; }
@media (max-width: 720px) { .ask-chips { gap: 6px; } .ask-chips button { padding: 7px 12px; font-size: 13.5px; } .ask-answer { min-height: 0; padding: 0; } }

/* The two hours, drawn to scale down the page: each part's height follows its minutes. */
.fac-time { list-style: none; max-width: 520px; margin: 52px auto 0; padding: 0; text-align: left; }
.fac-time li { display: grid; grid-template-columns: 70px 1fr; gap: 10px; align-items: center; border-left: 3px solid var(--accent); padding: calc(var(--m) * .42px + 7px) 0 calc(var(--m) * .42px + 7px) 18px; font-size: 16px; line-height: 1.5; color: var(--text-dim); }
.fac-time li + li { margin-top: 3px; }
.fac-time li.quiet { border-left-color: rgba(255, 255, 255, .25); }
.fac-time b { font-size: 15px; font-weight: 500; color: var(--text); white-space: nowrap; }
.fac-ways { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px 40px; max-width: 760px; margin: 56px auto 0; text-align: left; }
.fac-ways p { margin: 0; color: var(--text-dim); line-height: 1.7; }
.fac-ways b { display: block; color: var(--text); font-weight: 500; }
@media (max-width: 860px) { .fac-ways { grid-template-columns: 1fr; } }

/* Inside the studio: real screens to swipe through. */
.shots { display: flex; gap: 22px; margin: 48px calc(50% - 50vw) 0; padding: 6px max(24px, calc(50vw - 390px)) 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 max(24px, calc(50vw - 390px)); scrollbar-width: none; text-align: left; outline: none; }
.shots::-webkit-scrollbar { display: none; }
.shots figure { flex: 0 0 min(780px, 86vw); margin: 0; scroll-snap-align: start; }
.shots img { display: block; width: 100%; height: auto; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .14); box-shadow: 0 0 44px hsl(var(--f1) 90% 50% / .22), 0 18px 44px rgba(0, 0, 0, .6); }
.shots figcaption { margin-top: 16px; color: var(--text-dim); line-height: 1.6; }
.shots figcaption b { color: var(--text); font-weight: 500; }
.path { display: flex; justify-content: center; list-style: none; margin: 44px auto 0; padding: 0; max-width: 680px; }
.path li { flex: 1 1 0; min-width: 0; position: relative; }
.path li + li::before { content: ""; position: absolute; top: 14px; right: 50%; width: 100%; height: 1px; background: rgba(255, 255, 255, .18); }
.path li.done + li::before, .path li.done::before { background: hsl(var(--f1) 90% 62% / .8); }
.path button { position: relative; display: block; width: 100%; padding: 0; border: 0; background: none; color: var(--text-dim); font: inherit; font-size: 13px; cursor: pointer; }
.path i { display: grid; place-items: center; width: 29px; height: 29px; margin: 0 auto 8px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .28); background: #000; font-style: normal; font-size: 13px; transition: background .3s ease, border-color .3s ease, color .3s ease; }
.path li.done i { border-color: hsl(var(--f1) 90% 62%); color: var(--text); }
.path li.on i { background: hsl(var(--f1) 90% 55%); border-color: hsl(var(--f1) 90% 62%); color: #fff; box-shadow: 0 0 16px hsl(var(--f1) 90% 55% / .6); }
.path li.on button { color: var(--text); }
.walk { position: relative; width: 100vw; margin: 28px calc(50% - 50vw) 0; --ph: min(280px, 66vw); }
.walk-track { display: flex; align-items: flex-start; gap: 34px; padding: 14px calc(50vw - var(--ph) / 2) 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; outline: none; text-align: center; }
.walk-track::-webkit-scrollbar { display: none; }
.walk-track figure { flex: 0 0 var(--ph); margin: 0; scroll-snap-align: center; opacity: .38; transform: scale(.9); transform-origin: center top; transition: opacity .4s ease, transform .4s ease; cursor: pointer; }
.walk-track figure.on { opacity: 1; transform: none; cursor: default; }
.walk-track img { display: block; width: 100%; aspect-ratio: 1 / 2; object-fit: cover; object-position: top; border-radius: 28px; border: 5px solid #17161c; outline: 1px solid rgba(255, 255, 255, .16); box-shadow: 0 0 44px hsl(var(--f1) 90% 50% / .22), 0 18px 44px rgba(0, 0, 0, .6); }
.walk-track figcaption { margin-top: 16px; color: var(--text-dim); line-height: 1.55; font-size: 15px; opacity: 0; transition: opacity .4s ease; }
.walk-track figure.on figcaption { opacity: 1; }
.walk-track figcaption b { display: block; color: var(--text); font-weight: 500; }
.walk-swap { position: relative; }
.walk-swap img:not(:first-child) { position: absolute; inset: 0; }
.walk-swap img { opacity: 0; transition: opacity .7s ease; }
.walk-swap img.on { opacity: 1; }
.walk-ways { display: flex; justify-content: center; gap: 6px; margin-top: 14px; visibility: hidden; }
figure.on .walk-ways { visibility: visible; }
.walk-ways button { padding: 6px 9px; border-radius: 99px; border: 1px solid rgba(255, 255, 255, .2); background: none; color: var(--text-dim); font: inherit; font-size: 12px; white-space: nowrap; cursor: pointer; }
.walk-ways button.on { color: var(--text); border-color: hsl(var(--f1) 90% 62%); }
.walk-arrow { position: absolute; top: 280px; z-index: 2; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .24); background: rgba(0, 0, 0, .6); color: var(--text); font-size: 24px; line-height: 1; cursor: pointer; }
#walk-back { left: calc(50% - var(--ph) / 2 - 70px); }
#walk-next { right: calc(50% - var(--ph) / 2 - 70px); }
.walk-arrow:disabled { opacity: .25; cursor: default; }
@media (max-width: 620px) { .walk-arrow { display: none; } .path button { font-size: 11px; } .walk-track { gap: 18px; } }
@media (prefers-reduced-motion: reduce) { .walk-track figure, .walk-swap img { transition: none; } }

html:has(body.fac-page), body.fac-page { overflow-x: clip; }

/* The way in for facilitators who already have their code. */
.fac-signin { text-align: center; margin-top: 22px; color: rgba(239, 233, 228, .75); }
.fac-signin a { color: var(--accent); }
.home-nav .nav-signin { color: var(--accent); }
