/* Ways to experience Personal Evolution: four invitations in an editorial landscape with its own rhythm.
   A wide training photograph, a spacious typographic Restore, a tall ritual, a closing panorama.
   Names and offerings are always visible and large; opening one reveals its headline and description in place. */
.wx { position: relative; color: #fff; padding: clamp(70px, 10vh, 120px) 0 clamp(90px, 12vh, 150px);
  background: radial-gradient(ellipse 60% 40% at 80% 30%, rgba(116,201,197,.09), transparent 70%), linear-gradient(180deg, rgba(66,32,57,.96), rgba(81,42,73,.95) 50%, rgba(66,32,57,.98)); }
.wx-in { width: min(1240px, 100% - 48px); margin: 0 auto; }

/* ---------- opening ---------- */
.wx-head { display: flex; flex-direction: column; gap: 12px; margin-bottom: clamp(60px, 9vh, 110px); }
.wx-kick { margin: 0; font: 600 12px/1.4 var(--text); letter-spacing: .22em; text-transform: uppercase; color: var(--t1); }
.wx-h { margin: 0; font-family: var(--display); font-weight: 300; font-size: clamp(40px, 5vw, 78px); line-height: 1.04; color: #fff; }
.wx-sub { margin: 0; font-family: var(--display); font-style: italic; font-size: clamp(21px, 1.9vw, 28px); color: var(--ch); }

/* ---------- the landscape ---------- */
.wx-land { position: relative; display: flex; flex-direction: column; gap: clamp(90px, 14vh, 170px); }
.wx-way { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(18px, 2.6vw, 40px); align-items: center; }
.wx-pic { position: relative; overflow: hidden; border-radius: 3px; cursor: pointer; box-shadow: 0 34px 80px rgba(18,6,16,.5); transition: transform .9s cubic-bezier(.2,.7,.2,1), box-shadow .9s ease; }
.wx-pic img { display: block; width: 100%; height: auto; object-fit: cover; filter: saturate(.82) brightness(.94); transition: filter .9s ease; }
.wx-text { position: relative; min-width: 0; }

/* 01 Move & Nourish: a wide training photograph left, words to the right */
.wx-move .wx-pic { grid-column: 1 / 8; }
.wx-move .wx-pic img { aspect-ratio: 3 / 2; }
.wx-move .wx-text { grid-column: 8 / 13; }
/* 02 Restore & Reconnect: words left, the Thai massage photograph to the right, a little smaller */
.wx-restore .wx-text { grid-column: 1 / 7; grid-row: 1; }
.wx-restore .wx-pic { grid-column: 7 / 12; grid-row: 1; }
.wx-restore .wx-pic img { aspect-ratio: 821 / 595; }
/* 03 Gather & Experience: an upright gathering photograph, words beside it */
.wx-gather .wx-pic { grid-column: 2 / 6; }
.wx-gather .wx-pic img { aspect-ratio: 4 / 5; }
.wx-gather .wx-text { grid-column: 7 / 13; }
/* 04 Explore & Evolve: a panorama across the page, looking out with her, words beneath */
.wx-evolve .wx-pic { grid-column: 1 / 13; }
.wx-evolve .wx-pic img { aspect-ratio: 21 / 9; }
.wx-evolve .wx-text { grid-column: 2 / 10; margin-top: clamp(26px, 4vh, 44px); }

/* the one fine line: it drifts loosely behind all four and never points anywhere */
.wx-thread { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 0; }
/* a trail of light: a soft glow, a fine bright core, and now and then a glint that travels its length */
.wx-thread path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.wx-halo { stroke: url(#wx-light); stroke-width: 7; opacity: .28; filter: url(#wx-glow); }
.wx-line { stroke: url(#wx-light); stroke-width: 1.3; opacity: .75; }
.wx-spark { stroke: #fff; stroke-width: 3; opacity: 0; filter: url(#wx-glint); }
/* it draws itself in once when the landscape arrives */
.wx.js .wx-halo, .wx.js .wx-line { stroke-dasharray: var(--len, 6000); stroke-dashoffset: var(--len, 6000); transition: stroke-dashoffset 3.6s cubic-bezier(.45,.05,.25,1); }
.wx.js.lit .wx-halo, .wx.js.lit .wx-line { stroke-dashoffset: 0; }
/* the glint: a short pulse of light that drifts along the trail, slowly, while the section is on screen */
.wx.js.lit .wx-spark { opacity: .85; stroke-dasharray: 70 var(--len, 6000); stroke-dashoffset: 70; animation: wxGlint 11s cubic-bezier(.45,0,.55,1) 3.6s infinite; animation-play-state: var(--play, running); }
@keyframes wxGlint { 0% { stroke-dashoffset: 70; opacity: 0; } 8% { opacity: .85; } 88% { opacity: .85; } 100% { stroke-dashoffset: calc(-1 * var(--len, 6000)); opacity: 0; } }

/* ---------- words ---------- */
.wx-n { margin: 0 0 10px; font: 600 12px/1 var(--text); letter-spacing: .22em; color: var(--t1); }
/* 16 Nov 2026 (in review): no numbers; a subtle label tells individual sessions from immersive journeys, and each
   pathway closes with a quiet link to its section on Work with Katharina */
.wx-label { margin: 0 0 10px; font: 600 11.5px/1 var(--text); letter-spacing: .2em; text-transform: uppercase; color: var(--t1); }
.wx-go { margin: 14px 0 0; font: 600 12px/1.4 var(--text); letter-spacing: .14em; text-transform: uppercase; }
.wx-go a { color: var(--t2); text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.wx-go a::after { content: " →"; }
.wx-go a:hover, .wx-go a:focus-visible { color: var(--ch); }
.wx-title { margin: 0; font-weight: inherit; }
.wx-open { all: unset; cursor: pointer; display: inline; -webkit-tap-highlight-color: transparent; }
.wx-name { font-family: var(--display); font-weight: 300; font-size: clamp(40px, 4.4vw, 68px); line-height: 1.02; color: #fff; transition: color .4s ease; }
.wx-plus { position: relative; display: inline-block; vertical-align: middle; margin: -6px 0 0 16px; width: 26px; height: 26px; border-radius: 50%; border: 1.2px solid rgba(199,211,0,.8); transition: background .4s ease; }
.wx-plus::before, .wx-plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.4px; margin: -.7px 0 0 -5.5px; background: var(--ch); transition: transform .5s ease, background .4s ease; }
.wx-plus::after { transform: rotate(90deg); }
.wx-open:hover .wx-name { color: var(--ch); }
.wx-open:hover .wx-plus { background: rgba(199,211,0,.15); }
.wx-open:focus-visible { outline: 2px solid var(--ch); outline-offset: 6px; border-radius: 4px; }

/* offerings: always visible, large enough to find personal training or Thai massage at a glance */
.wx-offers { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: clamp(17px, 1.35vw, 20px); line-height: 1.45; }
.wx-offers span { color: rgba(237,227,234,.72); }
.wx-offers a { color: #fff; text-decoration: none; background: linear-gradient(var(--t2), var(--t2)) 0 100% / 100% 1px no-repeat; padding-bottom: 2px; }
.wx-offers a::after { content: " →"; color: var(--t2); }
.wx-offers a:hover { color: var(--ch); background-image: linear-gradient(var(--ch), var(--ch)); }
.wx-offers a:focus-visible { outline: 2px solid var(--ch); outline-offset: 3px; }

/* revealed in place */
.wx-more { display: grid; grid-template-rows: 1fr; }
.wx-more-in { overflow: hidden; min-height: 0; }
.wx-wh { margin: 26px 0 10px; font-family: var(--display); font-style: italic; font-size: clamp(25px, 2.3vw, 34px); line-height: 1.22; color: var(--ch); }
.wx-d { margin: 0 0 4px; max-width: 44ch; font-size: clamp(17px, 1.3vw, 20px); line-height: 1.6; color: #EDE3EA; }

.wx.js .wx-more { grid-template-rows: 0fr; transition: grid-template-rows .7s cubic-bezier(.2,.7,.2,1); }
.wx.js .wx-more-in { opacity: 0; transition: opacity .5s ease; }
.wx.js .wx-way.open .wx-more { grid-template-rows: 1fr; }
.wx.js .wx-way.open .wx-more-in { opacity: 1; transition-delay: .2s; }
.wx:not(.js) .wx-plus { display: none; }
.wx:not(.js) .wx-pic { cursor: default; }
.wx-way.open .wx-pic { transform: scale(1.025); box-shadow: 0 44px 100px rgba(18,6,16,.6); }
.wx-way.open .wx-pic img, .wx-pic:hover img { filter: none; }
.wx-way.open .wx-plus { background: var(--ch); }
.wx-way.open .wx-plus::before { background: var(--a1); }
.wx-way.open .wx-plus::after { transform: rotate(0deg); background: var(--a1); }


/* ---------- interaction cues ---------- */
/* the whole invitation is a target; the cues make it plain without hovering */
.wx.js .wx-way { cursor: pointer; }
.wx.js .wx-way .wx-offers, .wx.js .wx-way .wx-more { cursor: auto; }
/* a chartreuse badge sits on the edge of each photograph: + to open, − to close */
.wx-badge { position: absolute; z-index: 2; right: 18px; bottom: 18px; width: 56px; height: 56px; border-radius: 50%; background: var(--ch); box-shadow: 0 0 0 6px rgba(199,211,0,.18), 0 10px 26px rgba(18,6,16,.45); transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s ease; }
.wx-badge::before, .wx-badge::after { content: ""; position: absolute; left: 50%; top: 50%; width: 20px; height: 2px; margin: -1px 0 0 -10px; border-radius: 2px; background: var(--a1); transition: transform .4s ease; }
.wx-badge::after { transform: rotate(90deg); }
.wx-way.open .wx-badge::after { transform: rotate(0deg); }
.wx:not(.js) .wx-badge, .wx:not(.js) .wx-cue { display: none; }
/* the photograph's own position decides which edge the badge sits on, nearest its words */
/* each badge straddles the bottom edge of its photograph, on the side nearest its words, clear of the text */
.wx-move .wx-badge, .wx-gather .wx-badge { right: 22px; bottom: -28px; }
.wx-restore .wx-badge { right: auto; left: 22px; bottom: -28px; }
.wx-evolve .wx-badge { right: 28px; bottom: -28px; }
.wx-pic { overflow: visible; }
.wx-pic img { border-radius: 3px; }
/* the words: a quiet line beneath the offerings that says what will happen */
.wx-cue { display: inline-flex; align-items: center; gap: 10px; margin: 18px 0 0; min-height: 32px; font: 600 12px/1 var(--text); letter-spacing: .16em; text-transform: uppercase; color: var(--ch); }
.wx-cue-icon { position: relative; width: 18px; height: 18px; border-radius: 50%; border: 1.3px solid var(--ch); }
.wx-cue-icon::before, .wx-cue-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 1.3px; margin: -.65px 0 0 -4px; background: var(--ch); transition: transform .4s ease; }
.wx-cue-icon::after { transform: rotate(90deg); }
.wx-way.open .wx-cue-icon::after { transform: rotate(0deg); }
.wx-cue-close { display: none; }
.wx-way.open .wx-cue-open { display: none; }
.wx-way.open .wx-cue-close { display: inline; }
.wx-cue-open, .wx-cue-close { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; padding-bottom: 3px; transition: background-size .35s ease; }
/* an occasional pulse of light around each closed badge, staggered so they never all pulse together */
.wx.js.lit .wx-way:not(.open) .wx-badge { animation: wxPulse 7s ease-out 2s infinite; animation-play-state: var(--play, running); }
.wx.js.lit .wx-restore:not(.open) .wx-badge { animation-delay: 3.75s; }
.wx.js.lit .wx-gather:not(.open) .wx-badge { animation-delay: 5.5s; }
.wx.js.lit .wx-evolve:not(.open) .wx-badge { animation-delay: 7.25s; }
@keyframes wxPulse { 0% { box-shadow: 0 0 0 6px rgba(199,211,0,.18), 0 10px 26px rgba(18,6,16,.45); } 7% { box-shadow: 0 0 0 16px rgba(199,211,0,.0), 0 0 0 6px rgba(199,211,0,.32), 0 10px 26px rgba(18,6,16,.45); } 18%, 100% { box-shadow: 0 0 0 6px rgba(199,211,0,.18), 0 10px 26px rgba(18,6,16,.45); } }
/* desktop: gentle feedback on hover and keyboard focus */
@media (hover: hover) {
  .wx.js .wx-way:hover .wx-pic img { filter: none; }
  .wx.js .wx-way:hover .wx-badge { transform: scale(1.08); box-shadow: 0 0 0 9px rgba(199,211,0,.22), 0 12px 30px rgba(18,6,16,.5); }
  .wx.js .wx-way:hover .wx-name { color: var(--ch); }
  .wx.js .wx-way:hover .wx-cue-open, .wx.js .wx-way:hover .wx-cue-close { background-size: 100% 1px; }
}
.wx-way:has(.wx-open:focus-visible) .wx-badge { box-shadow: 0 0 0 3px var(--a1), 0 0 0 6px var(--ch); }
.wx-way:has(.wx-open:focus-visible) .wx-cue-open, .wx-way:has(.wx-open:focus-visible) .wx-cue-close { background-size: 100% 1px; }
.wx-way.open .wx-badge { box-shadow: 0 0 0 6px rgba(199,211,0,.18), 0 10px 26px rgba(18,6,16,.45); }

/* ---------- closing invitation ---------- */
.wx-close { margin-top: clamp(80px, 12vh, 140px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; padding-top: 34px; border-top: 1px solid rgba(183,228,225,.22); }
.wx-close-line { margin: 0; font-family: var(--display); font-size: clamp(26px, 2.6vw, 38px); line-height: 1.2; color: #fff; }
.wx-close-line em { color: var(--t2); }
.wx-acts { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- tablet ---------- */
@media (min-width: 761px) and (max-width: 1080px) {
  .wx-move .wx-pic { grid-column: 1 / 13; }
  .wx-move .wx-text { grid-column: 1 / 11; margin-top: 28px; }
  .wx-restore .wx-text { grid-column: 1 / 7; }
  .wx-restore .wx-pic { grid-column: 7 / 13; }
  .wx-gather .wx-pic { grid-column: 1 / 6; }
  .wx-gather .wx-text { grid-column: 6 / 13; }
  .wx-evolve .wx-text { grid-column: 1 / 12; }
}
/* ---------- phones: one calm column; the photograph, then the words ---------- */
@media (max-width: 760px) {
  .wx-in { width: calc(100% - 32px); }
  .wx-land { gap: 76px; }
  .wx-thread { display: none; }
  .wx-way { display: flex; flex-direction: column; align-items: stretch; }
  .wx-pic { order: -1; }
  .wx-gather .wx-pic { width: 78%; align-self: flex-start; }
  .wx-move .wx-pic img, .wx-evolve .wx-pic img { aspect-ratio: 4 / 3; }
  .wx-text { margin-top: 24px; }
  .wx-name { font-size: 40px; }
  .wx-offers { font-size: 18px; gap: 10px 18px; }
  .wx-offers li { min-height: 30px; display: flex; align-items: center; }
  .wx-close { flex-direction: column; align-items: flex-start; }
  .wx-badge, .wx-move .wx-badge, .wx-gather .wx-badge, .wx-restore .wx-badge, .wx-evolve .wx-badge { left: auto; right: 12px; bottom: 12px; width: 50px; height: 50px; }
  .wx-cue { font-size: 13px; min-height: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  .wx-pic, .wx-pic img, .wx-name, .wx-plus, .wx-plus::before, .wx-plus::after, .wx-badge, .wx-badge::before, .wx-badge::after, .wx-cue-icon::after { transition: none; }
  .wx-way.open .wx-pic { transform: none; }
  .wx.js .wx-more, .wx.js .wx-more-in { transition: none; }
  .wx.js.lit .wx-way .wx-badge { animation: none !important; }
  .wx.js .wx-halo, .wx.js .wx-line { transition: none; stroke-dashoffset: 0; }
  .wx.js.lit .wx-spark { animation: none; opacity: 0; }
}
