/*
 * Yoga Studio: a breath. Warm sand, the clay of a terracotta pot for every
 * action, sage for calm, a dark olive for the evening. Soft arches for the
 * pictures, a soft serif for the words.
 */
body.dx-fitness {
	--sand: #f3ece1;
	--sand-2: #e9dfcf;
	--clay: #c15f3c;
	--clay-2: #a64e2f;
	--sage: #8f9f80;
	--sage-2: #dfe5d6;
	--olive: #2f3326;
	--ink: #2b2a24;
	--muted: #6d675b;
	--bg: var(--sand);
	--accent: var(--clay);
	--font-text: 'Manrope', system-ui, sans-serif;
	--font-display: 'EB Garamond', Georgia, serif;
	--step-head: clamp(2.2rem, 1.3rem + 3vw, 4rem);
	--step-lead: clamp(1.1rem, 1rem + .35vw, 1.28rem);
}
.dx-fitness .yg-w { max-width: 1280px; margin-inline: auto; padding-inline: var(--gutter); }
.dx-fitness section { padding-block: clamp(80px, 9vw, 140px); scroll-margin-top: 70px; }
.dx-fitness .yg-head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 52px); }
.dx-fitness .yg-kick { margin-bottom: 16px; font: 600 13px/1 var(--font-text); letter-spacing: .14em; text-transform: uppercase; color: var(--clay); }
.dx-fitness .yg-h2 { font: 400 var(--step-head)/1.05 var(--font-display); letter-spacing: -.025em; text-wrap: balance; }
.dx-fitness .yg-lead { margin-top: 18px; font-size: var(--step-lead); line-height: 1.6; color: var(--muted); max-width: 54ch; }
.dx-fitness .yg-btn { display: inline-flex; align-items: center; min-height: 52px; padding: 0 26px; border: 0; border-radius: 999px; background: var(--clay); color: #fff; font: 700 15px/1 var(--font-text); text-decoration: none; transition: background .2s, transform .2s var(--ease); }
.dx-fitness .yg-btn:hover { background: var(--clay-2); transform: translateY(-2px); }
.dx-fitness .yg-btn--s { min-height: 42px; padding: 0 18px; }
.dx-fitness .yg-btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.dx-fitness .yg-btn--ghost:hover { background: var(--ink); color: var(--sand); }
.dx-fitness .yg-link { color: inherit; font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--sage); }
.dx-fitness .yg-arch { margin: 0; overflow: hidden; border-radius: 999px 999px 24px 24px; }
.dx-fitness .yg-arch img { width: 100%; height: 100%; object-fit: cover; }

.dx-fitness .yg-nav { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 24px; padding: 14px var(--gutter); background: rgba(243, 236, 225, .92); backdrop-filter: blur(10px); font: 600 14px/1 var(--font-text); }
.dx-fitness .yg-brand { display: inline-flex; align-items: center; gap: 10px; font: 400 22px/1 var(--font-display); text-decoration: none; }
.dx-fitness .yg-dot { width: 18px; height: 18px; border-radius: 50%; background: radial-gradient(circle, var(--clay) 0 40%, transparent 42%), radial-gradient(circle, transparent 0 60%, var(--sage) 62% 70%, transparent 72%); }
.dx-fitness .yg-menu { display: flex; gap: 24px; margin-left: auto; }
.dx-fitness .yg-menu a { text-decoration: none; color: var(--muted); }
.dx-fitness .yg-menu a:hover { color: var(--clay); }
.dx-fitness .yg-burger { display: none; color: inherit; }

/* ---- the hero: the words, an arch and the breathing circle */
.dx-fitness .yg-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 80px); align-items: center; min-height: calc(100svh - 70px); padding: clamp(40px, 5vw, 80px) var(--gutter); }
.dx-fitness .yg-hero__text { max-width: 620px; justify-self: end; }
.dx-fitness .yg-hero h1 { font: 400 clamp(2.8rem, 1.6rem + 4vw, 5.4rem)/1 var(--font-display); letter-spacing: -.035em; text-wrap: balance; }
.dx-fitness .yg-hero h1 em { color: var(--clay); }
.dx-fitness .yg-hero__say { margin-top: 24px; font-size: var(--step-lead); color: var(--muted); max-width: 46ch; }
.dx-fitness .yg-hero__act { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin: 32px 0 24px; }
.dx-fitness .yg-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.dx-fitness .yg-chips li { padding: 9px 14px; border-radius: 999px; background: var(--sage-2); color: #4b5a3e; font-weight: 600; font-size: 14px; }
.dx-fitness .yg-hero__pic { position: relative; max-width: 520px; }
.dx-fitness .yg-hero__pic .yg-arch { aspect-ratio: 3 / 4; }
.dx-fitness .yg-breath { position: absolute; left: -70px; bottom: 40px; display: grid; place-items: center; width: 170px; height: 170px; padding: 0; border: 0; border-radius: 50%; background: var(--olive); color: var(--sand); cursor: pointer; box-shadow: 0 30px 60px -30px rgba(47, 51, 38, .7); }
.dx-fitness .yg-breath__ring { position: absolute; inset: 18px; border-radius: 50%; background: radial-gradient(circle, rgba(193, 95, 60, .9), rgba(193, 95, 60, .2) 70%); transform: scale(.55); transition: transform 4s cubic-bezier(.45, 0, .55, 1); }
.dx-fitness .yg-breath.is-in .yg-breath__ring { transform: scale(1); }
.dx-fitness .yg-breath__t { position: relative; max-width: 110px; font: 600 13px/1.3 var(--font-text); text-align: center; }

/* ---- the week */
.dx-fitness .yg-week { background: #fff; }
.dx-fitness .yg-filters { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-bottom: 24px; }
.dx-fitness .yg-seg { display: flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 999px; background: var(--sand); }
.dx-fitness .yg-seg button { min-height: 40px; padding: 0 16px; border: 0; border-radius: 999px; background: transparent; font-weight: 600; font-size: 14px; color: var(--muted); transition: background .2s, color .2s; }
.dx-fitness .yg-seg button[aria-pressed=true] { background: var(--olive); color: var(--sand); }
.dx-fitness .yg-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.dx-fitness .yg-day { display: grid; gap: 8px; align-content: start; }
.dx-fitness .yg-day__n { padding: 10px 0; text-align: center; font: 400 20px/1 var(--font-display); border-bottom: 2px solid var(--sand-2); }
.dx-fitness .yg-class { --c: var(--sage); display: grid; gap: 3px; padding: 14px 14px 12px; border: 0; border-radius: 14px; background: var(--sand); border-left: 5px solid var(--c); text-align: left; transition: transform .2s var(--ease), background .2s, opacity .3s; }
.dx-fitness .yg-class:hover { transform: translateY(-3px); background: var(--sand-2); }
.dx-fitness .yg-class--vinyasa { --c: var(--clay); }
.dx-fitness .yg-class--pilates { --c: #c9a24a; }
.dx-fitness .yg-class--yin { --c: #6f7fa0; }
.dx-fitness .yg-class b { font: 600 18px/1 var(--font-text); }
.dx-fitness .yg-class span { font-weight: 700; font-size: 14px; }
.dx-fitness .yg-class small { font-size: 12.5px; color: var(--muted); }
.dx-fitness .yg-class em { margin-top: 4px; font-style: normal; font-size: 12px; font-weight: 700; color: #4b5a3e; }
.dx-fitness .yg-class.is-few em { color: var(--clay); }
.dx-fitness .yg-class.is-full { opacity: .5; cursor: not-allowed; }
.dx-fitness .yg-class.is-mine { background: var(--olive); color: var(--sand); }
.dx-fitness .yg-class.is-mine small, .dx-fitness .yg-class.is-mine em { color: var(--sage-2); }
.dx-fitness .yg-class[hidden] { display: none; }
.dx-fitness .yg-none { margin-top: 18px; color: var(--muted); }

/* ---- classes */
.dx-fitness .yg-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 36px); }
.dx-fitness .yg-card .yg-arch--s { aspect-ratio: 4 / 5; margin-bottom: 22px; }
.dx-fitness .yg-card h3 { font: 400 28px/1.15 var(--font-display); }
.dx-fitness .yg-card p { margin-top: 10px; color: var(--muted); }
.dx-fitness .yg-card__p { font-weight: 700; color: var(--clay) !important; }

/* ---- plans on sage */
.dx-fitness .yg-plans { background: var(--sage-2); }
.dx-fitness .yg-plan-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.dx-fitness .yg-plan { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 32px 28px; border-radius: 28px; background: var(--sand); }
.dx-fitness .yg-plan.is-main { background: var(--olive); color: var(--sand); transform: translateY(-12px); }
.dx-fitness .yg-plan__tag { position: absolute; top: -14px; left: 28px; padding: 6px 12px; border-radius: 999px; background: var(--clay); color: #fff; font-weight: 700; font-size: 12px; }
.dx-fitness .yg-plan h3 { font: 400 28px/1 var(--font-display); }
.dx-fitness .yg-plan__price { font: 600 clamp(2rem, 1.6rem + 1.2vw, 2.6rem)/1 var(--font-display); color: var(--clay); }
.dx-fitness .yg-plan.is-main .yg-plan__price { color: #e8a184; }
.dx-fitness .yg-plan ul { display: grid; gap: 8px; margin: 6px 0 14px; }
.dx-fitness .yg-plan li::before { content: "◦ "; color: var(--clay); font-weight: 800; }
.dx-fitness .yg-plan .yg-btn { margin-top: auto; align-self: start; }
.dx-fitness .yg-plan.is-main .yg-btn { background: var(--sand); color: var(--olive); }

/* ---- about */
.dx-fitness .yg-about__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.dx-fitness .yg-ticks { display: grid; gap: 10px; margin-top: 26px; }
.dx-fitness .yg-ticks li { padding-left: 30px; position: relative; font-weight: 600; }
.dx-fitness .yg-ticks li::before { content: ""; position: absolute; left: 0; top: .35em; width: 14px; height: 14px; border-radius: 50%; background: var(--sage); }
.dx-fitness .yg-about__pics { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: end; }
.dx-fitness .yg-about__pics .yg-arch { aspect-ratio: 3 / 4; }
.dx-fitness .yg-arch--b { margin-bottom: 60px; }

/* ---- what members say, on the evening olive */
.dx-fitness .yg-say { background: var(--olive); color: var(--sand); }
.dx-fitness .yg-quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 48px); }
.dx-fitness .yg-quotes p { font: 400 clamp(1.3rem, 1rem + 1vw, 1.8rem)/1.3 var(--font-display); }
.dx-fitness .yg-quotes footer { margin-top: 14px; font-weight: 700; font-size: 14px; color: #e8a184; }

/* ---- questions */
.dx-fitness .yg-faq__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 80px); }
.dx-fitness .yg-faq__list details { margin-bottom: 8px; border-radius: 18px; background: #fff; }
.dx-fitness .yg-faq__list summary { cursor: pointer; display: flex; justify-content: space-between; gap: 16px; padding: 20px 22px; font-weight: 700; font-size: 17px; list-style: none; }
.dx-fitness .yg-faq__list summary::-webkit-details-marker { display: none; }
.dx-fitness .yg-faq__list summary::after { content: "+"; display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--sage-2); transition: transform .25s var(--ease); }
.dx-fitness .yg-faq__list details[open] summary::after { transform: rotate(45deg); background: var(--clay); color: #fff; }
.dx-fitness .yg-faq__list p { padding: 0 22px 20px; color: var(--muted); }

/* ---- contact */
.dx-fitness .yg-contact { background: var(--sand-2); }
.dx-fitness .yg-contact__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.dx-fitness .yg-contact__links { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 26px; }
.dx-fitness .yg-contact__links a { font: 400 26px/1 var(--font-display); color: var(--clay); text-decoration: none; }
.dx-fitness .yg-arch--wide { aspect-ratio: 4 / 3; border-radius: 999px 999px 28px 28px; }

.dx-fitness .yg-foot { padding: clamp(44px, 5vw, 72px) 0 32px; background: var(--olive); color: rgba(243, 236, 225, .75); }
.dx-fitness .yg-foot__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 20px; align-items: end; }
.dx-fitness .yg-foot__name { font: 400 clamp(2rem, 1.3rem + 2vw, 3.4rem)/1 var(--font-display); color: var(--sand); }
.dx-fitness .yg-foot a { color: #e8a184; text-decoration: none; font-weight: 700; }

.dx-fitness .yg-dlg { border-radius: 24px; }
.dx-fitness .yg-dlg__x { position: absolute; top: 10px; right: 10px; }
.dx-fitness .yg-dlg__x button { width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--sand); font-size: 24px; }
.dx-fitness .yg-dlg__body { padding: 36px clamp(20px, 4vw, 40px) 32px; }
.dx-fitness .yg-dlg h2 { font: 400 28px/1.1 var(--font-display); margin-bottom: 12px; }
.dx-fitness .yg-dlg__sum { margin-bottom: 22px; padding: 14px 16px; border-radius: 14px; background: var(--sage-2); font-weight: 600; }
.dx-fitness .yg-dlg__tick { font: 400 26px/1.1 var(--font-display); color: var(--clay); margin-bottom: 10px; }
.dx-fitness .yg-dlg [data-dlg-ok] .yg-btn { margin-top: 20px; }
.dx-fitness .yg-form { display: grid; gap: 14px; }
.dx-fitness .yg-form label { display: grid; gap: 6px; font-weight: 700; font-size: 14px; }
.dx-fitness .yg-form input[type=text], .dx-fitness .yg-form input[type=tel] { min-height: 50px; padding: 0 14px; border: 0; border-radius: 14px; background: var(--sand); font-size: 17px; }
.dx-fitness .yg-form .yg-check { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.dx-fitness .yg-form .yg-check input { width: 20px; height: 20px; accent-color: var(--clay); }
.dx-fitness .yg-form .yg-btn { justify-self: start; }

@media (max-width: 960px) {
	.dx-fitness .yg-menu, .dx-fitness .yg-nav .yg-btn--s { display: none; }
	.dx-fitness .yg-burger { display: grid; place-items: center; margin-left: auto; width: 44px; height: 44px; border: 0; background: transparent; }
	.dx-fitness .yg-burger span, .dx-fitness .yg-burger span::before, .dx-fitness .yg-burger span::after { display: block; width: 22px; height: 2px; background: currentColor; }
	.dx-fitness .yg-burger span { position: relative; }
	.dx-fitness .yg-burger span::before, .dx-fitness .yg-burger span::after { content: ""; position: absolute; left: 0; }
	.dx-fitness .yg-burger span::before { top: -7px; }
	.dx-fitness .yg-burger span::after { top: 7px; }
	.dx-fitness .yg-nav.is-open .yg-menu { display: grid; position: absolute; top: 100%; left: 0; right: 0; padding: 8px var(--gutter) 20px; background: var(--sand); }
	.dx-fitness .yg-nav.is-open .yg-menu a { padding: 12px 0; font-size: 20px; }
	.dx-fitness .yg-hero, .dx-fitness .yg-about__grid, .dx-fitness .yg-faq__grid, .dx-fitness .yg-contact__grid { grid-template-columns: minmax(0, 1fr); }
	.dx-fitness .yg-hero__text { justify-self: start; }
	.dx-fitness .yg-hero__pic { justify-self: center; width: 80%; }
	.dx-fitness .yg-breath { left: -30px; width: 130px; height: 130px; }
	.dx-fitness .yg-grid { grid-template-columns: repeat(6, minmax(140px, 1fr)); overflow-x: auto; padding-bottom: 10px; scroll-snap-type: x mandatory; }
	.dx-fitness .yg-day { scroll-snap-align: start; }
	.dx-fitness .yg-cards, .dx-fitness .yg-plan-grid, .dx-fitness .yg-quotes { grid-template-columns: minmax(0, 1fr); }
	.dx-fitness .yg-plan.is-main { transform: none; }
	.dx-fitness .yg-foot__grid { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
	.dx-fitness .yg-breath__ring { transition-duration: .01s; }
}
