/* Roi Karpathiou - Classical Pilates | site styles (mobile first) */
:root {
  --plum: #3B1431;
  --plum-2: #55203F;
  --plum-deep: #24091D;
  --orchid: #B53DC6;
  --orchid-soft: #E7B8EE;
  --ink: #2A1B26;
  --text: #4A3A45;
  --muted: #8A7883;
  --ivory: #FBF8F5;
  --sand: #F3ECE8;
  --line: #E6DCE2;
  --white: #FFFFFF;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Lato', 'Helvetica Neue', Arial, sans-serif;
  --gutter: 22px;
  --max: 1240px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --nav-h: 64px;
}
@media (min-width: 900px) { :root { --gutter: 48px; --nav-h: 80px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0; background: var(--ivory); color: var(--text);
  font-family: var(--sans); font-size: 16px; line-height: 1.7; font-weight: 400;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1.1em; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; color: var(--plum); margin: 0; line-height: 1.08; letter-spacing: .005em; }
::selection { background: var(--orchid); color: #fff; }
:focus-visible { outline: 2px solid var(--orchid); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 96px 0; position: relative; }
@media (min-width: 900px) { .section { padding: 150px 0; } }
.section--tight { padding: 64px 0; }
.dark { background: var(--plum); color: rgba(255,255,255,.82); }
.dark h1, .dark h2, .dark h3 { color: #fff; }
.sand { background: var(--sand); }

/* type */
.eyebrow { font-family: var(--sans); font-size: 11px; font-weight: 700; letter-spacing: .34em; text-transform: uppercase; color: var(--orchid); display: inline-flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; }
.dark .eyebrow { color: var(--orchid-soft); }
.display { font-size: clamp(44px, 12vw, 118px); line-height: .98; letter-spacing: -.01em; }
.h1 { font-size: clamp(40px, 9.5vw, 92px); line-height: 1.02; }
.h2 { font-size: clamp(34px, 7.4vw, 68px); line-height: 1.05; }
.h3 { font-size: clamp(26px, 5vw, 38px); line-height: 1.12; }
.lead { font-family: var(--serif); font-size: clamp(21px, 4.6vw, 30px); line-height: 1.42; color: var(--ink); font-weight: 400; }
.dark .lead { color: rgba(255,255,255,.9); }
.italic { font-style: italic; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.quote { font-family: var(--serif); font-style: italic; font-size: clamp(26px, 6.2vw, 52px); line-height: 1.22; color: var(--plum); }
.dark .quote { color: #fff; }
.quote-by { margin-top: 26px; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); }
.dark .quote-by { color: var(--orchid-soft); }
.prose p { font-size: 17px; line-height: 1.8; }
.prose p:first-child::first-letter { }
.rule { width: 60px; height: 1px; background: var(--orchid); margin: 28px 0; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 14px; padding: 17px 28px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; background: var(--plum); color: #fff; position: relative; overflow: hidden; isolation: isolate; transition: color .5s var(--ease); will-change: transform; }
.btn::before { content: ""; position: absolute; inset: 0; background: var(--orchid); transform: translateY(101%); border-radius: inherit; transition: transform .6s var(--ease); z-index: -1; }
.btn:hover::before { transform: translateY(0); }
.btn .arr { width: 18px; height: 10px; transition: transform .5s var(--ease); }
.btn:hover .arr { transform: translateX(5px); }
.btn--light { background: #fff; color: var(--plum); }
.btn--light:hover { color: #fff; }
.btn--ghost { background: transparent; color: var(--plum); box-shadow: inset 0 0 0 1px rgba(59,20,49,.3); }
.btn--ghost:hover { color: #fff; }
.dark .btn--ghost { color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.35); }
.link { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--plum); padding-bottom: 6px; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; transition: background-size .6s var(--ease); }
.link:hover { background-size: 0 1px; background-position: 100% 100%; }
.dark .link { color: #fff; }

/* nav */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 60; height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; padding: 0 var(--gutter); transition: transform .6s var(--ease), background-color .5s, box-shadow .5s; color: #fff; }
.nav__logo { height: 30px; width: auto; position: relative; z-index: 2; }
@media (min-width: 900px) { .nav__logo { height: 38px; } }
.nav__logo img { height: 100%; width: auto; }
.nav__logo .logo-dark { position: absolute; inset: 0; opacity: 0; transition: opacity .4s; }
.nav.is-solid { background: rgba(251,248,245,.86); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); box-shadow: 0 1px 0 rgba(59,20,49,.08); color: var(--plum); }
.nav.is-solid .logo-light { opacity: 0; }
.nav.is-solid .logo-dark { opacity: 1; }
.nav.is-hidden { transform: translateY(-100%); }
.nav.on-light:not(.is-solid) { color: var(--plum); }
.nav.on-light:not(.is-solid) .logo-light { opacity: 0; }
.nav.on-light:not(.is-solid) .logo-dark { opacity: 1; }
.nav__right { display: flex; align-items: center; gap: 22px; position: relative; z-index: 2; }
.nav__links { display: none; }
@media (min-width: 1180px) {
  .nav__links { display: flex; gap: 30px; font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
  .nav__links a { position: relative; padding: 6px 0; opacity: .85; transition: opacity .3s; }
  .nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
  .nav__links a:hover, .nav__links a[aria-current="page"] { opacity: 1; }
  .nav__links a:hover::after, .nav__links a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
}
.burger { width: 46px; height: 46px; border-radius: 50%; border: 1px solid currentColor; background: transparent; color: inherit; display: grid; place-items: center; cursor: pointer; padding: 0; }
.burger span { display: block; width: 18px; height: 1px; background: currentColor; position: relative; transition: transform .5s var(--ease), background .3s; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; width: 18px; height: 1px; background: currentColor; transition: transform .5s var(--ease); }
.burger span::before { transform: translateY(-5px); }
.burger span::after { transform: translateY(5px); }
body.menu-open .burger span { background: transparent; }
body.menu-open .burger span::before { transform: rotate(45deg); }
body.menu-open .burger span::after { transform: rotate(-45deg); }
body.menu-open .nav { color: #fff !important; background: transparent !important; box-shadow: none !important; -webkit-backdrop-filter: none; backdrop-filter: none; transform: none !important; }
body.menu-open .nav .logo-light { opacity: 1 !important; }
body.menu-open .nav .logo-dark { opacity: 0 !important; }

.menu { position: fixed; inset: 0; z-index: 55; background: var(--plum-deep); color: #fff; clip-path: circle(0% at calc(100% - 45px) 40px); visibility: hidden; display: flex; flex-direction: column; justify-content: space-between; padding: calc(var(--nav-h) + 30px) var(--gutter) 30px; overflow-y: auto; }
.menu::before { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 70% at 80% 0%, rgba(181,61,198,.22), transparent 60%); pointer-events: none; }
.menu__list { list-style: none; margin: 0; padding: 0; position: relative; }
.menu__list li { overflow: hidden; border-bottom: 1px solid rgba(255,255,255,.1); }
.menu__list a { display: flex; align-items: baseline; gap: 16px; padding: 14px 0; font-family: var(--serif); font-size: clamp(32px, 8.5vw, 60px); line-height: 1.05; color: #fff; transition: color .3s, padding-left .5s var(--ease); }
.menu__list a small { font-family: var(--sans); font-size: 11px; letter-spacing: .2em; color: var(--orchid-soft); min-width: 22px; }
.menu__list a:hover, .menu__list a[aria-current="page"] { color: var(--orchid-soft); padding-left: 8px; }
.menu__foot { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 22px; padding-top: 34px; font-size: 13px; color: rgba(255,255,255,.65); }
.menu__badge { display: flex; align-items: center; gap: 14px; }
.menu__badge img { height: 44px; width: auto; }

/* social icons */
.social { display: flex; gap: 12px; }
.social a { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; border: 1px solid currentColor; opacity: .85; transition: background .4s, color .4s, opacity .3s, transform .4s var(--ease); }
.social a:hover { opacity: 1; background: #fff; color: var(--plum); transform: translateY(-3px); }
.social svg { width: 18px; height: 18px; fill: currentColor; }
.footer .social a:hover { background: var(--orchid); color: #fff; }

/* hero */
.hero { position: relative; height: 100svh; min-height: 600px; overflow: hidden; background: var(--plum-deep); color: #fff; display: flex; align-items: flex-end; }
.hero__media { position: absolute; inset: 0; }
.hero__media img, .hero__media video { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(36,9,29,.55) 0%, rgba(36,9,29,.15) 35%, rgba(36,9,29,.35) 60%, rgba(36,9,29,.92) 100%); }
.hero__inner { position: relative; z-index: 2; width: 100%; padding-bottom: 54px; }
.hero__title { color: #fff; }
.hero__title em { font-style: italic; color: var(--orchid-soft); }
.hero__sub { max-width: 560px; margin-top: 22px; font-size: 16px; color: rgba(255,255,255,.85); }
.hero__badge { display: inline-flex; align-items: center; gap: 12px; padding: 9px 16px 9px 9px; border-radius: 999px; background: rgba(255,255,255,.1); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.18); font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 26px; }
.hero__badge img { height: 30px; width: auto; background: #fff; border-radius: 999px; padding: 4px 8px; }
.hero__scroll { position: absolute; z-index: 2; right: var(--gutter); bottom: 54px; display: none; flex-direction: column; align-items: center; gap: 12px; font-size: 10px; letter-spacing: .3em; text-transform: uppercase; writing-mode: vertical-rl; }
.hero__scroll i { width: 1px; height: 60px; background: rgba(255,255,255,.3); position: relative; overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: #fff; animation: drip 2.2s var(--ease) infinite; }
@keyframes drip { to { top: 100%; } }
@media (min-width: 900px) { .hero__scroll { display: flex; } .hero__inner { padding-bottom: 80px; } }

/* page hero (inner pages) */
.phero { position: relative; min-height: 88svh; display: flex; align-items: flex-end; overflow: hidden; background: var(--plum-deep); color: #fff; }
.phero--short { min-height: 70svh; }
.phero__media { position: absolute; inset: 0; }
.phero__media img, .phero__media video { width: 100%; height: 100%; object-fit: cover; }
.phero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(36,9,29,.5), rgba(36,9,29,.2) 40%, rgba(36,9,29,.88)); }
.phero .wrap { position: relative; z-index: 2; padding-top: 140px; padding-bottom: 56px; }
.phero h1 { color: #fff; }
.phero .lead { color: rgba(255,255,255,.88); max-width: 720px; margin-top: 20px; }
.breadcrumb { font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--orchid-soft); margin-bottom: 18px; display: block; }

/* marquee */
.marquee { overflow: hidden; white-space: nowrap; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 22px 0; background: var(--ivory); }
.dark .marquee, .marquee--dark { background: var(--plum); border-color: rgba(255,255,255,.1); }
.marquee__track { display: inline-flex; gap: 0; will-change: transform; }
.marquee__item { font-family: var(--serif); font-size: clamp(30px, 7vw, 64px); color: var(--plum); padding: 0 28px; display: inline-flex; align-items: center; gap: 56px; font-style: italic; }
.marquee__item::after { content: ""; width: 10px; height: 10px; border: 1px solid var(--orchid); transform: rotate(45deg); }
.marquee--dark .marquee__item { color: #fff; }

/* split layout */
.split { display: grid; gap: 44px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 90px; } .split--rev > :first-child { order: 2; } .split--6040 { grid-template-columns: 1.2fr .8fr; } .split--4060 { grid-template-columns: .85fr 1.15fr; } }

/* image frames */
.frame { position: relative; overflow: hidden; border-radius: 2px; background: var(--sand); }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame--tall { aspect-ratio: 4 / 5; }
.frame--port { aspect-ratio: 2 / 3; }
.frame--wide { aspect-ratio: 16 / 10; }
.frame--arch { border-radius: 999px 999px 4px 4px; aspect-ratio: 3 / 4; }
.frame__tag { position: absolute; left: 16px; bottom: 16px; z-index: 2; font-size: 10px; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; color: #fff; background: rgba(36,9,29,.55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); padding: 8px 12px; border-radius: 999px; }
.stack { position: relative; }
.stack .frame--small { position: absolute; width: 46%; right: -6%; bottom: -12%; box-shadow: 0 30px 60px -20px rgba(36,9,29,.45); border: 6px solid var(--ivory); }
@media (min-width: 900px) { .stack .frame--small { right: -14%; } }

/* about teaser */
.sig-quote { border-left: 1px solid var(--orchid); padding-left: 22px; margin: 34px 0; font-family: var(--serif); font-style: italic; font-size: 22px; line-height: 1.45; color: var(--plum); }

/* stats */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 18px; margin-top: 44px; }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat__n { font-family: var(--serif); font-size: clamp(46px, 11vw, 76px); line-height: 1; color: var(--plum); }
.dark .stat__n { color: #fff; }
.stat__l { font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-top: 10px; }
.dark .stat__l { color: var(--orchid-soft); }

/* method band */
.method { position: relative; overflow: hidden; }
.method__bg { position: absolute; inset: -10% 0; }
.method__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .28; filter: grayscale(1); }
.method .wrap { position: relative; }

/* gallery (studio) */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 900px) { .gallery { grid-template-columns: repeat(12, 1fr); gap: 16px; } }
.gallery a { position: relative; overflow: hidden; display: block; background: var(--sand); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .8s; }
.gallery a:hover img { transform: scale(1.06); }
.gallery a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(36,9,29,.35)); opacity: 0; transition: opacity .5s; }
.gallery a:hover::after { opacity: 1; }
.g-a { grid-column: span 2; aspect-ratio: 16/10; }
.g-b { aspect-ratio: 3/4; }
@media (min-width: 900px) {
  .g-1 { grid-column: 1 / span 7; grid-row: span 2; aspect-ratio: auto; }
  .g-2 { grid-column: 8 / span 5; aspect-ratio: 16/11; }
  .g-3 { grid-column: 8 / span 5; aspect-ratio: 16/11; }
  .g-4 { grid-column: span 4; aspect-ratio: 3/4; }
  .g-5 { grid-column: span 4; aspect-ratio: 3/4; }
  .g-6 { grid-column: span 4; aspect-ratio: 3/4; }
  .g-7 { grid-column: span 5; aspect-ratio: 4/5; }
  .g-8 { grid-column: span 7; aspect-ratio: 16/11.5; }
}

/* horizontal scroller (mobile swipe, desktop pinned) */
.hscroll { overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 0 var(--gutter); margin: 0 calc(var(--gutter) * -1); }
.hscroll::-webkit-scrollbar { display: none; }
.hscroll__track { display: flex; gap: 14px; width: max-content; }
.hscroll__item { scroll-snap-align: start; width: 78vw; max-width: 420px; flex: none; }
@media (min-width: 900px) { .hscroll__item { width: 34vw; max-width: 520px; } }
.hscroll.is-pinned { overflow: visible; scroll-snap-type: none; }

/* cards */
.cards { display: grid; gap: 18px; }
@media (min-width: 900px) { .cards--2 { grid-template-columns: 1fr 1fr; gap: 26px; } .cards--3 { grid-template-columns: repeat(3, 1fr); gap: 26px; } .cards--4 { grid-template-columns: repeat(4, 1fr); gap: 22px; } }
.card { background: #fff; border: 1px solid var(--line); border-top: 2px solid var(--plum); padding: 30px 26px; position: relative; transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(59,20,49,.35); }
.dark .card { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.12); border-top-color: var(--orchid); color: rgba(255,255,255,.82); }
.card__tag { font-size: 10px; font-weight: 700; letter-spacing: .28em; text-transform: uppercase; color: var(--orchid); }
.dark .card__tag { color: var(--orchid-soft); }
.card h3 { margin: 12px 0 10px; font-size: 30px; }
.card p { font-size: 15px; margin: 0; }

/* timeline module path */
.path { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 26px; position: relative; }
.path::before { content: ""; position: absolute; left: 6px; right: 14%; top: 6px; height: 1px; background: currentColor; opacity: .25; }
.path__step i { display: block; width: 13px; height: 13px; border-radius: 50%; background: var(--plum); margin-bottom: 12px; position: relative; }
.dark .path__step i { background: #fff; }
.path__step.exam i { background: transparent; border: 1px solid var(--orchid); transform: rotate(45deg); border-radius: 0; width: 11px; height: 11px; }
.path__step b { display: block; font-size: 12px; letter-spacing: .04em; color: var(--plum); }
.dark .path__step b { color: #fff; }
.path__step.exam b { color: var(--orchid); }
.dark .path__step.exam b { color: var(--orchid-soft); }
.path__step span { font-family: var(--serif); font-style: italic; font-size: 15px; color: var(--muted); }
.sched { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14px; }
.dark .sched { border-color: rgba(255,255,255,.12); }

/* E-Motion block */
.emotion { position: relative; overflow: hidden; }
.emotion__logo { width: 170px; margin-bottom: 26px; }
.collage { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 64px; gap: 10px; }
@media (min-width: 900px) { .collage { grid-auto-rows: 84px; gap: 14px; } }
.collage .frame { position: absolute; }
.collage > * { position: relative; overflow: hidden; }
.c-1 { grid-column: 1 / span 4; grid-row: 1 / span 5; }
.c-2 { grid-column: 5 / span 2; grid-row: 2 / span 3; }
.c-3 { grid-column: 3 / span 4; grid-row: 6 / span 3; }
.c-4 { grid-column: 1 / span 2; grid-row: 6 / span 4; }
.collage img { width: 100%; height: 100%; object-fit: cover; }

/* conference band */
.conf { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; background: #000; color: #fff; }
.conf__video { position: absolute; inset: 0; }
.conf__video video, .conf__video img { width: 100%; height: 100%; object-fit: cover; }
.conf__video::after { content: ""; position: absolute; inset: 0; background: radial-gradient(90% 70% at 50% 50%, rgba(36,9,29,.35), rgba(36,9,29,.9)); }
.conf .wrap { position: relative; z-index: 2; text-align: center; }
.conf__logo { width: min(440px, 82vw); margin: 0 auto 30px; filter: drop-shadow(0 10px 30px rgba(0,0,0,.4)); }
.conf h2 { color: #fff; max-width: 900px; margin: 0 auto; }
.conf .lead { color: rgba(255,255,255,.85); max-width: 700px; margin: 22px auto 34px; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0 0 36px; }
.chip { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding: 10px 16px; border: 1px solid rgba(255,255,255,.3); border-radius: 999px; }

/* trainers */
.trainers { display: grid; gap: 26px; }
@media (min-width: 700px) { .trainers { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .trainers { grid-template-columns: repeat(4, 1fr); } }
.trainer__img { aspect-ratio: 4/5; overflow: hidden; background: var(--sand); }
.trainer__img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: filter .8s, transform 1.2s var(--ease); }
.trainer:hover .trainer__img img { filter: grayscale(0); transform: scale(1.05); }
.trainer h3 { font-size: 30px; margin: 18px 0 4px; }
.trainer .from { font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--orchid); }
.trainer p { font-size: 15px; margin-top: 12px; }
details.more summary { cursor: pointer; list-style: none; font-size: 11px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--plum); display: inline-flex; gap: 8px; align-items: center; margin-top: 6px; }
details.more summary::-webkit-details-marker { display: none; }
details.more summary::after { content: "+"; font-size: 16px; font-weight: 400; transition: transform .4s var(--ease); }
details.more[open] summary::after { transform: rotate(45deg); }
details.more .more__body { padding-top: 10px; }
details.more .more__body p { font-size: 15px; }

/* sponsors */
.sponsors { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (min-width: 900px) { .sponsors { grid-template-columns: repeat(4, 1fr); } }
.sponsors a { background: #fff; display: grid; place-items: center; padding: 34px 22px; aspect-ratio: 16/9; transition: background .4s; }
.sponsors a:hover { background: var(--sand); }
.sponsors img { max-height: 54px; width: auto; filter: grayscale(1); opacity: .8; transition: filter .5s, opacity .5s; object-fit: contain; }
.sponsors a:hover img { filter: none; opacity: 1; }

/* masonry archive grid */
.masonry { columns: 2; column-gap: 10px; }
@media (min-width: 900px) { .masonry { columns: 3; column-gap: 16px; } }
.masonry a { display: block; margin-bottom: 10px; break-inside: avoid; overflow: hidden; position: relative; background: var(--sand); }
@media (min-width: 900px) { .masonry a { margin-bottom: 16px; } }
.masonry img { width: 100%; transition: transform 1.2s var(--ease), filter .8s; }
.masonry a:hover img { transform: scale(1.05); }
.masonry--bw img { filter: grayscale(1) contrast(1.05); }
.masonry figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 14px 12px; font-size: 12px; color: #fff; background: linear-gradient(transparent, rgba(36,9,29,.75)); opacity: 0; transform: translateY(8px); transition: opacity .5s, transform .5s var(--ease); }
.masonry a:hover figcaption { opacity: 1; transform: none; }

/* timeline (about) */
.journey { position: relative; margin-top: 30px; }
.journey::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 1px; background: var(--line); }
.journey__line { position: absolute; left: 7px; top: 8px; width: 1px; height: 0; background: var(--orchid); }
.journey__item { position: relative; padding: 0 0 44px 46px; }
.journey__item::before { content: ""; position: absolute; left: 0; top: 8px; width: 15px; height: 15px; border-radius: 50%; background: var(--ivory); border: 1px solid var(--orchid); }
.journey__year { font-family: var(--serif); font-size: 34px; color: var(--plum); line-height: 1; }
.journey__item h3 { font-size: 24px; margin: 8px 0 8px; }
.journey__item p { margin: 0; font-size: 16px; }

/* repertoire tabs */
.tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; margin-bottom: 30px; }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex: none; border: 1px solid rgba(255,255,255,.25); background: transparent; color: #fff; border-radius: 999px; padding: 12px 20px; font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; cursor: pointer; transition: background .4s, color .4s, border-color .4s; font-family: var(--sans); }
.tab[aria-selected="true"] { background: #fff; color: var(--plum); border-color: #fff; }
.rep { columns: 2; column-gap: 26px; }
@media (min-width: 900px) { .rep { columns: 4; } }
.rep li { break-inside: avoid; list-style: none; padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,.1); display: grid; grid-template-columns: 30px 1fr; font-size: 15px; color: rgba(255,255,255,.88); }
.rep li .n { font-family: var(--serif); color: var(--orchid-soft); }
.rep li ul { grid-column: 2; padding: 4px 0 0; margin: 0; }
.rep li ul li { border: 0; padding: 2px 0; display: block; font-family: var(--serif); font-style: italic; font-size: 16px; color: rgba(255,255,255,.65); }
.rep li.series > span:last-of-type { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.rep-panel[hidden] { display: none; }
.rep-wrap { padding-left: 0; margin: 0; }

/* values / pills */
.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { padding: 12px 20px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-family: var(--serif); font-size: 20px; font-style: italic; color: var(--plum); }
.dark .pill { background: transparent; border-color: rgba(255,255,255,.2); color: #fff; }

/* feature list */
.feature { padding: 30px 0; border-top: 1px solid var(--line); display: grid; gap: 14px; }
@media (min-width: 900px) { .feature { grid-template-columns: 90px 1fr 1.4fr; gap: 40px; align-items: start; } }
.feature__n { font-family: var(--serif); font-size: 22px; color: var(--orchid); }
.feature h3 { font-size: 30px; }
.feature p { margin: 0; }
.dark .feature { border-color: rgba(255,255,255,.12); }

/* video block */
.vid { position: relative; aspect-ratio: 16/9; overflow: hidden; background: #000; border-radius: 2px; }
.vid video { width: 100%; height: 100%; object-fit: cover; }
.vid__btn { position: absolute; inset: 0; margin: auto; width: 88px; height: 88px; border-radius: 50%; background: rgba(255,255,255,.14); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.4); color: #fff; display: grid; place-items: center; cursor: pointer; transition: transform .5s var(--ease), background .4s; }
.vid__btn:hover { transform: scale(1.08); background: var(--orchid); }
.vid__btn svg { width: 26px; height: 26px; fill: currentColor; margin-left: 4px; }
.vid.is-playing .vid__btn { opacity: 0; pointer-events: none; }

/* notice */
.notice { border: 1px solid var(--orchid); background: #fff; padding: 30px 26px; text-align: center; }
.notice h3 { font-size: 34px; margin-bottom: 12px; }

/* info rows */
.info { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (min-width: 900px) { .info { grid-template-columns: repeat(3, 1fr); } }
.info > div { background: #fff; padding: 26px; }
.info b { display: block; font-size: 10px; font-weight: 700; letter-spacing: .28em; text-transform: uppercase; color: var(--orchid); margin-bottom: 8px; }
.info span { font-family: var(--serif); font-size: 24px; color: var(--plum); line-height: 1.2; }

/* CTA */
.cta { text-align: center; }
.cta h2 { max-width: 880px; margin: 0 auto 20px; }
.cta p { max-width: 560px; margin: 0 auto 34px; }
.cta__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* footer */
.footer { background: var(--plum-deep); color: rgba(255,255,255,.7); padding: 80px 0 34px; position: relative; overflow: hidden; }
.footer::before { content: ""; position: absolute; inset: 0; background: radial-gradient(80% 60% at 10% 0%, rgba(181,61,198,.16), transparent 60%); pointer-events: none; }
.footer .wrap { position: relative; }
.footer__top { display: grid; gap: 44px; padding-bottom: 50px; border-bottom: 1px solid rgba(255,255,255,.1); }
@media (min-width: 900px) { .footer__top { grid-template-columns: 1.3fr 1fr 1fr; align-items: start; } }
.footer__logos { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.footer__logos .roi { height: 54px; width: auto; }
.footer__logos .pe { height: 64px; width: auto; }
.footer__logos .div { width: 1px; height: 50px; background: rgba(255,255,255,.2); }
.footer h4 { font-family: var(--sans); font-size: 11px; font-weight: 700; letter-spacing: .28em; text-transform: uppercase; color: var(--orchid-soft); margin-bottom: 18px; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer ul li { padding: 4px 0; }
.footer ul a { transition: color .3s; }
.footer ul a:hover { color: #fff; }
.footer__contact a { display: block; color: #fff; font-family: var(--serif); font-size: 22px; line-height: 1.5; }
.footer__contact .social { margin-top: 20px; color: #fff; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 26px; font-size: 12px; letter-spacing: .04em; }
.footer__big { font-family: var(--serif); font-size: clamp(48px, 15vw, 210px); line-height: .9; color: rgba(255,255,255,.06); white-space: nowrap; margin: 40px 0 0; text-align: center; letter-spacing: -.01em; user-select: none; }

/* lightbox */
.lb { position: fixed; inset: 0; z-index: 90; background: rgba(20,5,16,.96); display: none; align-items: center; justify-content: center; touch-action: pan-y; }
.lb.is-open { display: flex; }
.lb__img { max-width: 92vw; max-height: 82svh; object-fit: contain; box-shadow: 0 30px 80px rgba(0,0,0,.5); user-select: none; -webkit-user-drag: none; }
.lb__btn { position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.05); color: #fff; display: grid; place-items: center; cursor: pointer; font-size: 22px; line-height: 1; font-family: var(--sans); }
.lb__close { top: 18px; right: 18px; }
.lb__prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb__next { right: 14px; top: 50%; transform: translateY(-50%); }
@media (max-width: 700px) { .lb__prev, .lb__next { top: auto; bottom: 24px; transform: none; } .lb__prev { left: calc(50% - 64px); } .lb__next { right: calc(50% - 64px); } }
.lb__count { position: absolute; top: 32px; left: 24px; color: rgba(255,255,255,.6); font-size: 12px; letter-spacing: .2em; }

/* intro loader */
.loader { position: fixed; inset: 0; z-index: 100; background: var(--plum-deep); display: grid; place-items: center; }
.loader img { width: min(300px, 64vw); opacity: 0; }
.loader__bar { position: absolute; left: 50%; bottom: 18%; width: 120px; height: 1px; background: rgba(255,255,255,.15); transform: translateX(-50%); overflow: hidden; }
.loader__bar i { position: absolute; inset: 0; background: var(--orchid-soft); transform: scaleX(0); transform-origin: left; }
html:not(.js) .loader, .loader.is-done { display: none; }

/* progress */
.progress { position: fixed; left: 0; top: 0; height: 2px; width: 100%; background: var(--orchid); transform: scaleX(0); transform-origin: left; z-index: 70; pointer-events: none; }

/* reveal initial states (only with JS + motion allowed) */
html.js.motion [data-reveal] { opacity: 0; transform: translateY(40px); }
html.js.motion [data-img] { clip-path: inset(100% 0 0 0); }
html.js.motion [data-img] img { transform: scale(1.25); }
html.js.motion [data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
html.js.motion [data-split] .w > span { display: inline-block; transform: translateY(110%); }
html.js.motion [data-stagger] > * { opacity: 0; transform: translateY(30px); }
html.js.motion .hero__media img, html.js.motion .hero__media video { transform: scale(1.18); }
[data-split] .w > span { will-change: transform; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* misc */
.center { text-align: center; }
.mt-s { margin-top: 18px; } .mt-m { margin-top: 34px; } .mt-l { margin-top: 64px; } .mb-m { margin-bottom: 34px; } .mb-l { margin-bottom: 64px; }
.maxw { max-width: 760px; }
.center.maxw { margin-left: auto; margin-right: auto; }
.head-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 22px; margin-bottom: 44px; }
.divider { height: 1px; background: var(--line); }
.note-fine { font-size: 13px; color: var(--muted); }

/* fixes */
.hero .btn--ghost, .conf .btn--ghost, .phero .btn--ghost { color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.4); }
.footer__contact .social a { display: grid; font-size: 0; line-height: 0; }
.collage { margin-bottom: 30px; }

.masonry.is-laid { columns: auto; display: flex; gap: 10px; align-items: flex-start; }
.masonry.is-laid .masonry__col { flex: 1; min-width: 0; }
@media (min-width: 900px) { .masonry.is-laid { gap: 16px; } }
html.js.motion .masonry.is-laid[data-stagger] .masonry__col > * { opacity: 0; transform: translateY(30px); }
html.js.motion .masonry.is-laid[data-stagger] > .masonry__col { opacity: 1; transform: none; }

/* ===== v2 refinements ===== */
/* larger logo */
:root { --nav-h: 76px; }
@media (min-width: 900px) { :root { --nav-h: 96px; } }
.nav__logo { height: 42px; }
@media (min-width: 900px) { .nav__logo { height: 56px; } }
.nav__logo .logo-light { filter: drop-shadow(0 1px 10px rgba(20,5,16,.35)); }

/* menu: descriptor hidden on mobile */
.menu__t { display: inline; }
.menu__d { display: none; }
@media (min-width: 900px) {
  .menu { justify-content: center; padding: calc(var(--nav-h) + 20px) var(--gutter) 40px; }
  .menu__list, .menu__foot { width: 100%; max-width: var(--max); margin: 0 auto; }
  .menu__list { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 48px; }
  .menu__list li { border-bottom: 0; border-top: 1px solid rgba(255,255,255,.14); }
  .menu__list a { flex-direction: column; align-items: flex-start; gap: 14px; padding: 26px 0 54px; font-size: clamp(34px, 3.3vw, 54px); }
  .menu__list a small { min-width: 0; }
  .menu__d { display: block; font-family: var(--sans); font-size: 13px; letter-spacing: .02em; color: rgba(255,255,255,.55); line-height: 1.5; max-width: 260px; transition: color .3s; }
  .menu__list a:hover .menu__d { color: rgba(255,255,255,.85); }
  .menu__list a:hover, .menu__list a[aria-current="page"] { padding-left: 0; }
  .menu__list a .menu__t { position: relative; }
  .menu__list a .menu__t::after { content: ""; position: absolute; left: 0; bottom: -6px; height: 1px; width: 100%; background: var(--orchid-soft); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
  .menu__list a:hover .menu__t::after, .menu__list a[aria-current="page"] .menu__t::after { transform: scaleX(1); }
  .menu__foot { padding-top: 46px; border-top: 1px solid rgba(255,255,255,.14); }
}

/* format toggle */
.fmt__bar { display: grid; gap: 18px; margin-bottom: 30px; }
@media (min-width: 900px) { .fmt__bar { grid-template-columns: auto 1fr; align-items: center; gap: 36px; } }
.fmt__switch { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; padding: 5px; border-radius: 999px; border: 1px solid rgba(59,20,49,.25); width: max-content; isolation: isolate; }
.dark .fmt__switch { border-color: rgba(255,255,255,.28); }
.fmt__pill { position: absolute; top: 5px; bottom: 5px; left: 5px; width: calc(50% - 5px); border-radius: 999px; background: var(--plum); z-index: -1; transition: transform .6s var(--ease); }
.dark .fmt__pill { background: #fff; }
.fmt[data-format="intensive"] .fmt__pill { transform: translateX(100%); }
.fmt__btn { appearance: none; border: 0; background: transparent; cursor: pointer; font-family: var(--sans); font-size: 11px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; padding: 13px 24px; border-radius: 999px; color: var(--plum); transition: color .5s var(--ease); min-width: 132px; }
.dark .fmt__btn { color: rgba(255,255,255,.8); }
.fmt__btn[aria-pressed="true"] { color: #fff; }
.dark .fmt__btn[aria-pressed="true"] { color: var(--plum); }
.fmt__intro { margin: 0; font-size: 15px; max-width: 640px; }
.fmt[data-format="regular"] [data-show="intensive"], .fmt[data-format="intensive"] [data-show="regular"] { display: none; }

/* teacher training photo grid (static) */
.tgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.tgrid a { display: block; overflow: hidden; background: var(--sand); aspect-ratio: 4/5; }
.tgrid a.tg-1 { grid-column: span 2; aspect-ratio: 16/10; }
.tgrid img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.tgrid a:hover img { transform: scale(1.05); }
@media (min-width: 900px) {
  .tgrid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .tgrid a.tg-1 { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
  .tgrid a { aspect-ratio: 4/3.2; }
  .tgrid a.tg-4, .tgrid a.tg-5, .tgrid a.tg-6 { aspect-ratio: 4/3.4; }
}

/* ===== v3: presenters (compact on mobile) + biography dialog ===== */
.trainer__body h3 { margin-top: 18px; }
@media (max-width: 699px) {
  .trainers { gap: 0; }
  .trainer { display: grid; grid-template-columns: 112px 1fr; gap: 18px; align-items: start; padding: 22px 0; border-top: 1px solid var(--line); }
  .trainer:last-child { border-bottom: 1px solid var(--line); }
  .trainer__img { aspect-ratio: 4/5; }
  .trainer__body h3 { margin: 0 0 4px; font-size: 25px; }
  .trainer .from { font-size: 10px; letter-spacing: .16em; }
  .trainer p { font-size: 14px; margin: 8px 0 10px; line-height: 1.55; }
}
.bio-open { appearance: none; background: none; border: 0; padding: 6px 0; cursor: pointer; font-family: var(--sans); font-size: 11px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--plum); display: inline-flex; gap: 8px; align-items: center; border-bottom: 1px solid currentColor; }
.bio-open span { font-size: 15px; font-weight: 400; transition: transform .4s var(--ease); }
.bio-open:hover span { transform: rotate(90deg); }

dialog.bio { border: 0; padding: 0; margin: 0; max-width: none; max-height: none; width: 100%; height: 100%; background: transparent; color: var(--text); overflow: hidden; }
dialog.bio::backdrop { background: rgba(20,5,16,.72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.bio__inner { position: absolute; left: 0; right: 0; bottom: 0; height: 92svh; background: var(--ivory); border-radius: 22px 22px 0 0; display: flex; flex-direction: column; overflow: hidden; box-shadow: 0 -20px 60px rgba(0,0,0,.3); }
.bio__img { flex: none; height: 30svh; overflow: hidden; }
.bio__img img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; filter: grayscale(1); }
.bio__text { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; padding: 26px var(--gutter) 40px; }
.bio__text h3 { font-size: 36px; margin: 8px 0 18px; }
.bio__text p { font-size: 16px; line-height: 1.75; }
.bio__text .from { font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--orchid); }
.bio__links { padding-top: 18px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 6px 14px; }
.bio__close { position: absolute; top: 14px; right: 14px; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,.6); background: rgba(36,9,29,.45); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: #fff; font-size: 24px; line-height: 1; cursor: pointer; display: grid; place-items: center; }
@media (min-width: 900px) {
  .bio__inner { left: 50%; top: 50%; bottom: auto; right: auto; transform: translate(-50%, -50%); width: min(1080px, 90vw); height: min(680px, 86vh); border-radius: 4px; flex-direction: row; }
  .bio__img { height: auto; width: 40%; }
  .bio__text { padding: 56px 56px 48px; }
  .bio__text h3 { font-size: 46px; }
  .bio__close { border-color: rgba(59,20,49,.25); background: #fff; color: var(--plum); }
}

/* ===== v4: solid exam marker + conference day tabs ===== */
.path__step.exam i { background: var(--orchid); border-color: var(--orchid); }
.dark .path__step.exam i { background: var(--orchid-soft); border-color: var(--orchid-soft); }

.days__switch { position: relative; display: inline-grid; grid-template-columns: repeat(3, 1fr); padding: 5px; border-radius: 999px; border: 1px solid rgba(59,20,49,.25); margin-bottom: 28px; isolation: isolate; }
.days__pill { position: absolute; top: 5px; bottom: 5px; left: 5px; width: calc((100% - 10px) / 3); border-radius: 999px; background: var(--plum); z-index: -1; transition: transform .6s var(--ease); }
.days[data-active="2"] .days__pill { transform: translateX(100%); }
.days[data-active="3"] .days__pill { transform: translateX(200%); }
.days__btn { appearance: none; border: 0; background: transparent; cursor: pointer; font-family: var(--sans); font-size: 11px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; padding: 13px 22px; border-radius: 999px; color: var(--plum); min-width: 98px; transition: color .5s var(--ease); }
.days__btn[aria-selected="true"] { color: #fff; }
.day-panel[hidden] { display: none; }
.ph { position: relative; margin-bottom: 10px; background: linear-gradient(110deg, #EFE6EB 30%, #F7F1F4 45%, #EFE6EB 60%); background-size: 250% 100%; animation: phShimmer 2.4s linear infinite; display: grid; place-items: center; }
@media (min-width: 900px) { .ph { margin-bottom: 16px; } }
.ph span { font-family: var(--serif); font-style: italic; font-size: 18px; color: rgba(59,20,49,.35); }
@keyframes phShimmer { from { background-position: 100% 0; } to { background-position: -150% 0; } }

/* ===== v5: collaboration cards ===== */
.collab-label { font-family: var(--serif); font-style: italic; font-size: clamp(22px, 4.5vw, 30px); color: var(--muted); margin-bottom: 26px; }
.collab { display: grid; gap: 14px; align-items: center; }
@media (min-width: 900px) { .collab { grid-template-columns: 1fr auto 1fr; gap: 28px; } }
.collab__amp { font-family: var(--serif); font-style: italic; font-size: 44px; color: var(--orchid); text-align: center; line-height: 1; }
.pcard { display: grid; grid-template-columns: 96px 1fr; gap: 22px; align-items: center; background: #fff; border: 1px solid var(--line); border-top: 2px solid var(--plum); padding: 26px 24px; transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.pcard:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -30px rgba(59,20,49,.35); }
@media (min-width: 900px) { .pcard { grid-template-columns: 120px 1fr; padding: 32px 30px; gap: 28px; } }
.pcard__avatar { aspect-ratio: 1; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 4px var(--ivory), 0 0 0 5px var(--orchid); }
.pcard__avatar img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; filter: grayscale(1); }
.pcard h3 { font-size: clamp(26px, 5.5vw, 32px); margin: 8px 0 4px; }
.pcard .muted { font-size: 14px; margin: 0 0 12px; line-height: 1.5; }

/* ===== v6: conference film + video popup ===== */
.film { position: relative; display: block; width: 100%; padding: 0; border: 0; cursor: pointer; overflow: hidden; aspect-ratio: 16/10; background: #000; border-radius: 2px; }
@media (min-width: 900px) { .film { aspect-ratio: 21/9; } }
.film img { width: 100%; height: 100%; object-fit: cover; object-position: center 45%; transition: transform 1.4s var(--ease), filter .8s; filter: brightness(.78); }
.film:hover img { transform: scale(1.04); filter: brightness(.65); }
.film__play { position: absolute; left: 50%; top: 50%; width: 92px; height: 92px; margin: -46px 0 0 -46px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: rgba(255,255,255,.14); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.45); transition: transform .6s var(--ease), background .4s; }
.film__play::before { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); animation: pulse 2.4s var(--ease) infinite; }
@keyframes pulse { 0% { transform: scale(.9); opacity: .9; } 100% { transform: scale(1.35); opacity: 0; } }
.film:hover .film__play { transform: scale(1.08); background: var(--orchid); }
.film__play svg { width: 26px; height: 26px; fill: currentColor; margin-left: 4px; }
.film__label { position: absolute; left: 20px; bottom: 18px; font-size: 11px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: #fff; }

dialog.vmodal { border: 0; padding: 0; margin: 0; width: 100%; height: 100%; max-width: none; max-height: none; background: transparent; overflow: hidden; }
dialog.vmodal::backdrop { background: rgba(10,2,8,.92); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.vmodal__inner { position: absolute; inset: 0; margin: auto; width: min(92vw, 80svh, 760px); height: min(92vw, 80svh, 760px); }
.vmodal__inner video { width: 100%; height: 100%; background: #000; border-radius: 4px; box-shadow: 0 40px 100px rgba(0,0,0,.6); }
.vmodal__close { position: absolute; z-index: 2; top: 16px; right: 16px; width: 50px; height: 50px; border-radius: 50%; border: 1px solid rgba(255,255,255,.4); background: rgba(255,255,255,.08); color: #fff; font-size: 26px; line-height: 1; cursor: pointer; display: grid; place-items: center; }

/* ===== v7: collaboration cards inside the dark section ===== */
.collab-wrap { margin-top: 72px; padding-top: 56px; border-top: 1px solid rgba(255,255,255,.12); }
@media (min-width: 900px) { .collab-wrap { margin-top: 100px; padding-top: 80px; } }
.dark .collab-label { color: rgba(255,255,255,.7); }
.dark .pcard { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.12); border-top-color: var(--orchid); }
.dark .pcard h3 { color: #fff; }
.dark .pcard .muted { color: rgba(255,255,255,.65); }
.dark .pcard__avatar { box-shadow: 0 0 0 4px var(--plum), 0 0 0 5px var(--orchid-soft); }
.dark .collab__amp { color: var(--orchid-soft); }

/* ===== v8: mobile smoothness, glass header, focus rings, fixes ===== */
html, body { overflow-x: clip; }
body { overflow-x: visible; }
@supports not (overflow: clip) { body { overflow-x: hidden; } }

/* Apple-style glass header, always visible */
.nav { transition: background-color .45s var(--ease), box-shadow .45s var(--ease), color .45s var(--ease); transform: none !important; }
.nav.is-solid {
  background: rgba(251,248,245,.62);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  box-shadow: 0 .5px 0 rgba(59,20,49,.12);
}
@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) { .nav.is-solid { background: rgba(251,248,245,.96); } }

/* no visible focus ring for pointer/touch users in overlays; keyboard ring kept elsewhere */
.lb__btn:focus, .bio__close:focus, .vmodal__close:focus, dialog video:focus, dialog:focus, .bio a:focus:not(:focus-visible) { outline: none; }
.lb__btn:focus-visible, .bio__close:focus-visible, .vmodal__close:focus-visible { outline: none; box-shadow: 0 0 0 2px rgba(255,255,255,.55); }
.vmodal__close { z-index: 3; }
.vmodal__inner video { outline: none; border: 0; }

/* sticky only on desktop */
.sticky-d { position: static; }
@media (min-width: 900px) { .sticky-d { position: sticky; top: 120px; } }
.only-m { display: block; }
.only-d { display: none; }
@media (min-width: 900px) { .only-m { display: none; } .only-d { display: block; } }

/* touch: lighter image reveal (no clip-path animation) */
html.js.motion.touch [data-img] { clip-path: none; opacity: 0; }
html.js.motion.touch [data-img] img { transform: scale(1.08); }

/* module path line */
.path__line { position: absolute; left: 6px; right: 14%; top: 6px; height: 1px; background: var(--orchid); transform-origin: left center; pointer-events: none; }
.dark .path__line { background: var(--orchid-soft); }
.path__step { position: relative; z-index: 1; }
.path__step i { will-change: transform; }

/* GPU hints for animated content */
[data-reveal], [data-stagger] > *, .masonry__col > * { will-change: auto; }
.hero__media img, .phero__media img, .phero__media video { will-change: transform; backface-visibility: hidden; }

/* ===== v9: smooth biography sheet ===== */
dialog.bio { position: fixed; inset: 0; width: 100vw; height: 100vh; height: 100lvh; overflow: hidden; }
dialog.bio::backdrop { background: rgba(20,5,16,0); -webkit-backdrop-filter: none; backdrop-filter: none; transition: background .45s ease; }
dialog.bio.is-in::backdrop { background: rgba(20,5,16,.7); }
.bio__inner {
  position: fixed; left: 0; right: 0; top: 8svh; bottom: auto; height: 92svh;
  transform: translate3d(0, 100%, 0); transition: transform .55s cubic-bezier(.22,1,.36,1);
  will-change: transform; backface-visibility: hidden; contain: layout paint;
}
dialog.bio.is-in .bio__inner { transform: translate3d(0, 0, 0); }
dialog.bio.is-out .bio__inner { transform: translate3d(0, 100%, 0); transition-duration: .4s; transition-timing-function: cubic-bezier(.55,0,.8,.3); }
.bio__img { position: relative; z-index: 1; background: #E9E1E6; }
.bio__img img { opacity: 1; }
.bio__close { position: absolute; z-index: 5; }
.bio__text > * { transition: opacity .5s ease .2s, transform .5s cubic-bezier(.22,1,.36,1) .2s; }
dialog.bio:not(.is-in) .bio__text > * { opacity: 0; transform: translate3d(0, 14px, 0); }
.bio__text > :nth-child(2) { transition-delay: 0.26s; }
.bio__text > :nth-child(3) { transition-delay: 0.32s; }
.bio__text > :nth-child(4) { transition-delay: 0.38s; }
.bio__text > :nth-child(5) { transition-delay: 0.44s; }
.bio__text > :nth-child(6) { transition-delay: 0.50s; }
.bio__text > :nth-child(7) { transition-delay: 0.56s; }
.bio__text > :nth-child(8) { transition-delay: 0.62s; }
.bio__text > :nth-child(n+9) { transition-delay: .62s; }
dialog.bio.is-out .bio__text > * { transition-delay: 0s; }
@media (min-width: 900px) {
  .bio__inner {
    top: 0; bottom: 0; left: 0; right: 0; margin: auto;
    width: min(1080px, 90vw); height: min(680px, 86vh);
    transform: translate3d(0, 24px, 0) scale(.97); opacity: 0;
    transition: transform .5s cubic-bezier(.22,1,.36,1), opacity .35s ease;
  }
  dialog.bio.is-in .bio__inner { transform: none; opacity: 1; }
  dialog.bio.is-out .bio__inner { transform: translate3d(0, 12px, 0) scale(.98); opacity: 0; transition-duration: .3s; }
}
@media (prefers-reduced-motion: reduce) { .bio__inner, .bio__text > * { transition: none !important; } }
html.modal-open, html.modal-open body { overflow: hidden; }

/* ===== v10: home studio gallery - tiles fill their grid cells exactly ===== */
@media (min-width: 900px) {
  .gallery .g-1, .gallery .g-8 { aspect-ratio: auto; position: relative; }
  .gallery .g-1 img, .gallery .g-8 img { position: absolute; inset: 0; width: 100%; height: 100%; }
}

/* ===== v11: keep side gutters on blocks that are both .wrap and .section ===== */
.wrap.section { padding-left: var(--gutter); padding-right: var(--gutter); }

/* ===== v12: lead paragraphs never smaller than body text ===== */
.lead, .prose p.lead, p.lead { font-size: clamp(22px, 5.4vw, 30px); line-height: 1.42; }

/* ===== v13: module timelines without the final exam step (3 steps) ===== */
.path { grid-template-columns: repeat(3, 1fr); }
.path::before, .path__line { right: calc(33.333% - 6.5px); }

/* v16: presenter photo opens the biography */
.trainer__img { cursor: pointer; -webkit-tap-highlight-color: transparent; }

/* v17: day switch stays within reach while browsing the conference photos */
@media (min-width: 900px) {
  .days__switch { position: sticky; top: calc(var(--nav-h) + 12px); z-index: 20; background: rgba(251,248,245,.88); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); transition: box-shadow .4s, border-color .4s; }
  .days__switch.is-stuck { box-shadow: 0 10px 30px rgba(59,20,49,.14); border-color: rgba(59,20,49,.12); }
}
.days__float { position: fixed; left: 50%; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); z-index: 50; margin: 0; padding: 4px; display: grid; background: rgba(251,248,245,.9); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); border-color: rgba(59,20,49,.14); box-shadow: 0 10px 30px rgba(36,9,29,.22); transform: translate3d(-50%, 140%, 0); opacity: 0; pointer-events: none; transition: transform .5s var(--ease), opacity .35s; }
.days__float.is-on { transform: translate3d(-50%, 0, 0); opacity: 1; pointer-events: auto; }
.days__float .days__pill { top: 4px; bottom: 4px; left: 4px; width: calc((100% - 8px) / 3); }
.days__float[data-active="2"] .days__pill { transform: translateX(100%); }
.days__float[data-active="3"] .days__pill { transform: translateX(200%); }
.days__float .days__btn { padding: 10px 16px; min-width: 76px; font-size: 10px; letter-spacing: .18em; }
@media (min-width: 900px) { .days__float { display: none; } }
html.modal-open .days__float { opacity: 0; pointer-events: none; }
