/* FaceYoga Isil, site styles. Desktop first; tablet nav below 1024px, phone layout below 861px. */

@font-face { font-family: 'Inter Tight'; src: url('../assets/fonts/inter-tight-latin-300-600.woff2') format('woff2'); font-weight: 300 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Instrument Serif'; src: url('../assets/fonts/instrument-serif-italic-latin.woff2') format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }

:root {
  --espresso: #251A16;
  --cream: #F4EEE7;
  --sand: #EAE1D6;
  --tile: #DCD2C6;
  --maroon: #410000;
  --maroon-2: #521111;
  --maroon-ph: #4A0808;
  --accent: #E9C4BE;
  --muted: #6A5A51;
  --muted-d: #CDBFB5;
  --muted-d2: #B7A79C;
  --sans: 'Inter Tight', 'Helvetica Neue', Arial, sans-serif;
  --serif: 'Instrument Serif', Georgia, serif;
  --ease: cubic-bezier(.65, 0, .35, 1);
  --ease-out: cubic-bezier(.22, .8, .24, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--espresso); color: var(--espresso); font-family: var(--sans); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
h1, h2, h3, p, figure, ul { margin: 0; }
ul { padding: 0; list-style: none; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:hover { opacity: .82; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
summary::-webkit-details-marker { display: none; }

.page { background: var(--cream); overflow-x: clip; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; top: 12px; left: 12px; z-index: 100; padding: 12px 18px; border-radius: 999px; background: var(--cream); color: var(--espresso); font-size: 14px; font-weight: 500; transform: translateY(-160%); transition: transform .25s ease; }
.skip:focus { transform: none; }
.m-only { display: none; }

/* Type */
.em { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.1em; letter-spacing: -.01em; }
.serif { font-family: var(--serif); font-style: italic; font-weight: 400; }
.accent { color: var(--accent); }
.h2 { font-weight: 300; font-size: clamp(38px, 4.4vw, 64px); line-height: 1.02; letter-spacing: -.03em; }
.h2-lg { font-size: clamp(38px, 4.6vw, 68px); }
.h2-xl { font-size: clamp(44px, 5.4vw, 80px); line-height: 1; letter-spacing: -.035em; }
.body { font-size: 17px; line-height: 1.65; color: var(--muted); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 14px; min-height: 56px; padding: 8px 8px 8px 26px; border-radius: 999px; font-size: 16px; font-weight: 500; transition: opacity .2s ease; }
.btn-light { background: var(--cream); color: var(--espresso); }
.btn-dark { background: var(--maroon); color: var(--cream); }
.btn-ico { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; }
.btn-light .btn-ico, .nav-cta .btn-ico { background: var(--maroon); color: var(--cream); }
.btn-dark .btn-ico { background: var(--cream); color: var(--espresso); }
.btn-ico svg { width: 15px; height: 15px; }
.i-arrow { transition: transform .35s var(--ease-out); }
a:hover .i-arrow { transform: translate(2px, -2px); }
.pill { position: absolute; top: 14px; left: 14px; padding: 7px 12px; border-radius: 999px; background: #FFFFFF; color: var(--espresso); font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.pill-dark { background: var(--maroon); color: var(--cream); }

/* ---------- Navigation ---------- */
.site-nav { position: fixed; top: 14px; left: 14px; right: 14px; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 100px; padding: 18px clamp(20px, 3vw, 40px); pointer-events: none; }
.site-nav > a, .site-nav > div, .site-nav > button { pointer-events: auto; }
.nav-logo { display: block; line-height: 0; }
.nav-logo img { height: 64px; width: auto; transition: height .6s var(--ease); }
.site-nav[data-scrolled] .nav-logo img { height: 46px; }
.nav-links { display: flex; gap: 4px; padding: 5px; border-radius: 999px; border: 1px solid transparent; }
.nav-links a { padding: 11px 18px; border-radius: 999px; font-size: 14px; color: #FFFFFF; transition: background-color .3s ease; }
.nav-links a.is-active { background: rgba(255, 255, 255, .14); }
.nav-cta { display: inline-flex; align-items: center; gap: 12px; min-height: 48px; padding: 6px 6px 6px 22px; border-radius: 999px; background: var(--cream); color: var(--espresso); font-size: 14px; font-weight: 500; }
.nav-cta .btn-ico { width: 36px; height: 36px; }
.nav-cta .btn-ico svg { width: 14px; height: 14px; }
.nav-btn { display: none; align-items: center; justify-content: center; width: 48px; height: 48px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: #FFFFFF; cursor: pointer; }
.nav-btn svg { width: 20px; height: 20px; }
.nav-btn .i-close { display: none; }
.nav-bg { position: absolute; z-index: -1; pointer-events: none; border-radius: 999px; background-color: rgba(255, 255, 255, .10); border: 1px solid rgba(255, 255, 255, .20); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); top: var(--bg-t0, 26px); right: var(--bg-r0, 30%); bottom: var(--bg-b0, 26px); left: var(--bg-l0, 30%); transition: top .6s var(--ease), right .6s var(--ease), bottom .6s var(--ease), left .6s var(--ease), background-color .6s ease, box-shadow .6s ease, opacity .3s ease; }
.site-nav[data-scrolled] .nav-bg { top: var(--bg-t1, 20px); right: var(--bg-r1, 8px); bottom: var(--bg-b1, 20px); left: var(--bg-l1, 8px); background-color: rgba(37, 26, 22, .62); box-shadow: 0 20px 44px -26px rgba(0, 0, 0, .6); }

/* Menu (tablet and phone) */
.menu { position: fixed; inset: 0; z-index: 45; display: flex; flex-direction: column; padding: 132px 28px max(28px, env(safe-area-inset-bottom)); background: rgba(37, 26, 22, .97); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); color: var(--cream); opacity: 0; visibility: hidden; transition: opacity .35s ease, visibility 0s linear .35s; overflow-y: auto; }
.menu-links { display: flex; flex-direction: column; }
.menu-links a { padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); font-size: 34px; font-weight: 300; letter-spacing: -.02em; transform: translateY(12px); opacity: 0; transition: transform .5s var(--ease-out), opacity .5s ease; }
.menu-foot { margin-top: auto; padding-top: 32px; display: flex; flex-direction: column; gap: 18px; }
.menu-ig { display: inline-flex; align-items: center; gap: 10px; align-self: center; font-size: 15px; color: var(--muted-d); }
.menu-ig svg { width: 16px; height: 16px; }
.menu-open { overflow: hidden; }
.menu-open .menu { opacity: 1; visibility: visible; transition: opacity .35s ease; }
.menu-open .menu-links a { transform: none; opacity: 1; }
.menu-open .menu-links a:nth-child(2) { transition-delay: .04s; }
.menu-open .menu-links a:nth-child(3) { transition-delay: .08s; }
.menu-open .menu-links a:nth-child(4) { transition-delay: .12s; }
.menu-open .menu-links a:nth-child(5) { transition-delay: .16s; }
.menu-open .nav-bg { opacity: 0; }
.menu-open .nav-btn .i-menu { display: none; }
.menu-open .nav-btn .i-close { display: block; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 14px; background: var(--espresso); }
.hero-frame { position: relative; display: flex; flex-direction: column; min-height: 900px; padding-bottom: 201px; border-radius: 28px; overflow: hidden; background: var(--maroon-ph); }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 30%; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(30, 21, 17, .84) 0%, rgba(30, 21, 17, .56) 40%, rgba(30, 21, 17, .06) 72%), linear-gradient(0deg, rgba(30, 21, 17, .78) 0%, rgba(30, 21, 17, 0) 40%); }
.hero-spacer { flex: none; height: 100px; }
.hero-content { position: relative; flex: 1; display: flex; flex-direction: column; justify-content: center; max-width: 820px; padding: 48px clamp(20px, 5vw, 76px) 53px; color: #FFFFFF; }
.hero h1 { font-weight: 300; font-size: clamp(50px, 6.8vw, 104px); line-height: .98; letter-spacing: -.035em; }
.hero-lead { margin-top: 30px; max-width: 480px; font-size: 18px; line-height: 1.6; color: rgba(255, 255, 255, .88); text-wrap: pretty; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 38px; }
.hero-sub { display: contents; }
.hero-how { display: inline-flex; align-items: center; min-height: 56px; padding: 0 26px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .40); color: #FFFFFF; font-size: 16px; }
.hero-start { flex-basis: 100%; margin-top: 6px; font-size: 14px; color: rgba(255, 255, 255, .74); }

.circ-row { position: absolute; left: 14px; right: 14px; bottom: 14px; display: flex; gap: 22px; padding: 4px 0 40px clamp(20px, 5vw, 76px); overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain; color: #FFFFFF; cursor: grab; }
.circ-row::-webkit-scrollbar { display: none; }
.circ-row.is-dragging { cursor: grabbing; }
.circ { flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.circ:last-child { padding-right: clamp(20px, 5vw, 76px); }
.circ-img { width: 126px; height: 126px; border-radius: 50%; overflow: hidden; border: 1px solid rgba(255, 255, 255, .40); }
.circ-img img { width: 100%; height: 100%; object-fit: cover; -webkit-user-drag: none; user-select: none; }
.circ figcaption { display: flex; align-items: center; gap: 8px; font-size: 13px; letter-spacing: .02em; }
.circ figcaption::before { content: ""; width: 14px; height: 1px; background: currentColor; }

/* ---------- Method ---------- */
.method { max-width: 1320px; margin: 0 auto; padding: clamp(88px, 10vw, 150px) clamp(20px, 5vw, 76px) 0; display: flex; flex-direction: column; align-items: center; text-align: center; }
.method .h2 { max-width: 940px; line-height: 1.04; text-wrap: balance; }
.method .lead { margin-top: 28px; max-width: 620px; font-size: 18px; line-height: 1.65; color: var(--muted); text-wrap: pretty; }
.fan { display: flex; justify-content: center; align-items: flex-end; margin-top: 72px; padding: 0 20px; }
.fan-card { position: relative; border-radius: 24px; overflow: hidden; border: 6px solid #FFFFFF; transition: transform .6s var(--ease-out), box-shadow .6s ease, filter .6s ease; }
.fan-card img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.fan-l, .fan-r { width: clamp(200px, 22vw, 290px); aspect-ratio: 290 / 380; box-shadow: 0 34px 60px -32px rgba(37, 26, 22, .55); }
.fan-l { margin-right: -26px; transform: rotate(-7deg) translateY(10px); }
.fan-r { margin-left: -26px; transform: rotate(7deg) translateY(10px); }
.fan-c { z-index: 2; width: clamp(207px, 22.8vw, 300px); aspect-ratio: 300 / 400; transform: translateY(-18px); box-shadow: 0 40px 70px -32px rgba(37, 26, 22, .6); }
.fan-c img { object-position: 50% 30%; }
@media (hover: hover) {
  .fan-l:hover { transform: rotate(-2deg) translate(-12px, -28px) scale(1.05); z-index: 3; box-shadow: 0 50px 80px -34px rgba(37, 26, 22, .6); }
  .fan-r:hover { transform: rotate(2deg) translate(12px, -28px) scale(1.05); z-index: 3; box-shadow: 0 50px 80px -34px rgba(37, 26, 22, .6); }
  .fan-c:hover { transform: translateY(-30px) scale(1.02); }
  .fan:has(.fan-l:hover) .fan-c, .fan:has(.fan-r:hover) .fan-c { transform: translateY(-8px) scale(.97); filter: brightness(.94); }
}
.stats { width: 100%; margin-top: 110px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid rgba(37, 26, 22, .14); }
.stat { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 40px 20px; border-right: 1px solid rgba(37, 26, 22, .14); }
.stat:last-child { border-right: 0; }
.stat-num { font-size: 64px; font-weight: 300; letter-spacing: -.04em; line-height: 1; }
.stat-label { font-size: 16px; }
.stat-label .serif { font-size: 19px; color: var(--muted); }

/* ---------- Face map (scroll scene) ---------- */
.facemap { --p: 1; position: relative; margin: clamp(88px, 10vw, 140px) 14px 0; height: var(--scene-h, auto); }
.fm-sticky { position: sticky; top: 14px; }
.fm-stage { position: relative; width: 100%; margin: 0 auto; overflow: hidden; background: var(--maroon); color: var(--cream); }
.fm-clip { position: absolute; inset: 0; }
.fm-img { position: absolute; max-width: none; height: auto; }
.fm-dim { position: absolute; inset: 0; opacity: var(--e); }
.fm-name { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--maroon); }

/* desktop scene */
.fm-d { --t: clamp(0, calc(var(--p) / .38), 1); --e: calc(var(--t) * var(--t) * (3 - 2 * var(--t))); max-width: calc((100vh - 28px) * 1400 / 780); max-width: calc((100svh - 28px) * 1400 / 780); aspect-ratio: 1400 / 780; border-radius: 28px; container-type: inline-size; }
.fm-d .fm-clip { clip-path: inset(0% calc(31.43% * (1 - var(--e))) 0% calc(31.43% * (1 - var(--e))) round 22px); }
.fm-d .fm-img { left: calc(31.43% - 31.43% * var(--e)); top: calc(-48% * var(--e)); width: calc(37.14% + 62.86% * var(--e)); }
.fm-d .fm-dim { background: rgba(37, 26, 22, .16); }
.fm-intro { position: absolute; left: 4.6%; top: 50%; width: 25%; transform: translate(calc(-40px * clamp(0, calc(var(--p) / .16), 1)), -50%); opacity: calc(1 - clamp(0, calc(var(--p) / .16), 1)); }
.fm-intro h2 { font-weight: 300; font-size: clamp(36px, 3.6vw, 54px); line-height: 1.02; letter-spacing: -.03em; }
.fm-intro p { margin-top: 20px; font-size: 16px; line-height: 1.6; color: var(--muted-d); }
.fm-hint { position: absolute; right: 4.6%; bottom: 7%; display: flex; flex-direction: column; align-items: center; gap: 12px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-d); opacity: calc(1 - clamp(0, calc(var(--p) / .16), 1)); }
.fm-hint span { width: 1px; height: 60px; background: rgba(244, 238, 231, .45); }
.fm-lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; filter: drop-shadow(0 0 2px rgba(37, 26, 22, .35)); }
.fm-line { stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--l)); }
.fm-pt { transform-box: fill-box; transform-origin: center; transform: scale(var(--l)); }
.fm-card { position: absolute; width: 19.29cqw; padding: 1cqw 1.14cqw; border-radius: 1.14cqw; background: rgba(244, 238, 231, .92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 18px 40px -24px rgba(37, 26, 22, .6); color: var(--espresso); opacity: var(--l); }
.fm-card-left { transform: translate(calc((1 - var(--l)) * 18px), -50%); }
.fm-card-right { transform: translate(calc((1 - var(--l)) * -18px), -50%); }
.fm-card .fm-name { font-size: clamp(10px, .79cqw, 14px); }
.fm-card p { margin-top: 6px; font-size: clamp(12px, 1cqw, 18px); line-height: 1.45; }

/* phone and tablet scene */
.fm-m { display: none; --t: clamp(0, calc(var(--p) / .36), 1); --e: calc(var(--t) * var(--t) * (3 - 2 * var(--t))); max-width: calc((100vh - 20px) * 370 / 620); max-width: calc((100svh - 20px) * 370 / 620); aspect-ratio: 370 / 620; border-radius: 24px; }
.fm-m .fm-clip { clip-path: inset(calc(6% * (1 - var(--e))) calc(18% * (1 - var(--e))) calc(36.7% * (1 - var(--e))) calc(18% * (1 - var(--e))) round 18px); }
.fm-m .fm-img { left: calc(18% - 104.2% * var(--e)); top: calc(6% - 61.2% * var(--e)); width: calc(64% + 238% * var(--e)); }
.fm-m .fm-dim { background: rgba(37, 26, 22, .14); }
.fmm-intro { position: absolute; left: 22px; right: 22px; bottom: 24px; opacity: calc(1 - clamp(0, calc(var(--p) / .14), 1)); }
.fmm-intro h2 { font-weight: 300; font-size: 32px; line-height: 1.02; letter-spacing: -.03em; }
.fmm-intro p { margin-top: 10px; font-size: 14px; line-height: 1.5; color: var(--muted-d); }
.fmm-dot { position: absolute; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--cream); opacity: var(--l); transform: scale(calc(.6 + .4 * var(--l))); box-shadow: 0 0 0 calc(5px * var(--a)) var(--accent); }
.fmm-card { position: absolute; left: 12px; right: 12px; bottom: 12px; height: 112px; border-radius: 16px; background: rgba(244, 238, 231, .94); color: var(--espresso); opacity: clamp(0, calc((var(--p) - .37) / .04), 1); }
.fmm-item { position: absolute; inset: 0; padding: 16px 18px; }
.fmm-item p { margin-top: 6px; font-size: 15px; line-height: 1.45; }

/* ---------- Program ---------- */
.program { margin: clamp(88px, 10vw, 150px) 14px 0; padding: clamp(60px, 7vw, 112px) clamp(20px, 5vw, 76px); border-radius: 28px; background: var(--maroon); color: var(--cream); }
.program-inner { max-width: 1240px; margin: 0 auto; }
.program-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 28px; }
.program-head p { max-width: 430px; font-size: 17px; line-height: 1.65; color: var(--muted-d); }
.program-grid { margin-top: 60px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(460px, 100%), 1fr)); gap: 24px; }
.facts-card { display: flex; flex-direction: column; padding: clamp(24px, 3vw, 40px); border-radius: 24px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .12); }
.facts { display: flex; flex-direction: column; }
.facts li { display: flex; align-items: center; gap: 18px; padding: 18px 0; border-bottom: 1px solid rgba(255, 255, 255, .10); }
.facts li:last-child { border-bottom: 0; }
.fact-ico { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .22); }
.fact-ico svg { width: 18px; height: 18px; }
.fact { display: flex; flex-direction: column; gap: 2px; }
.fact-k { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-d2); }
.fact-v { font-size: 18px; }
.facts-cta { margin-top: auto; padding-top: 30px; display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.facts-cta p { max-width: 260px; font-size: 14px; line-height: 1.5; color: var(--muted-d2); }
.cal-card { display: flex; flex-direction: column; gap: 24px; padding: clamp(24px, 3vw, 40px); border-radius: 24px; background: var(--maroon-2); }
.cal-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px; }
.cal-head h3 { font-weight: 300; font-size: 28px; letter-spacing: -.02em; }
.cal-head .serif { font-size: 32px; }
.cal-legend { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted-d); }
.cal-key { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
.cal-legend-m { display: none; }
.cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; text-align: center; }
.cal-wd { font-size: 12px; letter-spacing: .1em; color: var(--muted-d2); }
.cal-cell { aspect-ratio: 1; display: flex; align-items: center; justify-content: center; }
.cal-dot { position: relative; overflow: hidden; width: 84%; aspect-ratio: 1; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--accent); color: var(--espresso); font-size: 16px; font-weight: 500; }
.cal-ph { position: absolute; inset: 0; border-radius: 50%; overflow: hidden; -webkit-clip-path: inset(0 0 100% 0); clip-path: inset(0 0 100% 0); transition: clip-path .55s var(--ease), -webkit-clip-path .55s var(--ease); }
.cal-ph img { width: 100%; height: 100%; object-fit: cover; }
.cal-dot:hover .cal-ph { -webkit-clip-path: inset(0 0 0 0); clip-path: inset(0 0 0 0); }
.cal-rest { width: 12px; height: 2px; border-radius: 1px; background: rgba(244, 238, 231, .32); }
.cal-note { font-size: 15px; line-height: 1.55; color: var(--muted-d); }
.program-cta-m { display: none; }

/* ---------- Before and after ---------- */
.results { max-width: 1320px; margin: 0 auto; padding: clamp(88px, 10vw, 150px) clamp(20px, 5vw, 76px) 0; display: flex; flex-wrap: wrap; align-items: center; gap: clamp(32px, 5vw, 72px); }
.results-head { flex: 1 1 360px; min-width: 0; }
.results-head .body { margin-top: 22px; max-width: 420px; line-height: 1.6; }
.ba { flex: 1 1 100%; min-width: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); gap: 18px; }
.ba figure { position: relative; aspect-ratio: 912 / 813; border-radius: 24px; overflow: hidden; background: var(--sand); }
.ba img { width: 100%; height: 100%; object-fit: cover; }
.ba .pill { top: 16px; left: 16px; padding: 7px 14px; }

/* ---------- Workshops ---------- */
.workshops { max-width: 1320px; margin: 0 auto; padding: clamp(88px, 10vw, 150px) clamp(20px, 5vw, 76px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(460px, 100%), 1fr)); align-items: center; gap: clamp(40px, 6vw, 88px); }
.ws-media { position: relative; height: 580px; }
.ws-photo { position: absolute; inset: 0; border-radius: 28px; overflow: hidden; }
.ws-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.ws-card { position: absolute; left: 22px; right: 22px; bottom: 22px; max-width: 330px; display: flex; flex-direction: column; gap: 8px; padding: 22px 24px; border-radius: 20px; background: var(--cream); }
.ws-label { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--maroon); }
.ws-title { font-family: var(--serif); font-style: italic; font-size: 30px; line-height: 1.05; }
.ws-sub { font-size: 15px; color: var(--muted); }
.ws-date { margin-top: 6px; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; }
.ws-date svg { width: 16px; height: 16px; }
.ws-text .body { margin-top: 24px; max-width: 470px; }
.ws-text .body + .body { margin-top: 16px; }
.ws-text .btn { margin-top: 34px; }

/* ---------- About ---------- */
.about { margin: 0 14px; padding: clamp(60px, 7vw, 110px) clamp(20px, 5vw, 76px); border-radius: 28px; background: var(--sand); }
.about-inner { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(440px, 100%), 1fr)); align-items: center; gap: clamp(40px, 6vw, 88px); }
.about-text { display: flex; flex-direction: column; align-items: flex-start; }
.badge { margin-top: 22px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--cream); font-size: 13px; font-weight: 500; }
.badge svg { width: 14px; height: 14px; }
.about-text p { max-width: 540px; }
.about-lead { margin-top: 28px; font-size: 21px; line-height: 1.55; text-wrap: pretty; }
.about-text .body { margin-top: 14px; }
.about-lead + .body { margin-top: 18px; }
.about-quote { margin-top: 28px; font-family: var(--serif); font-style: italic; font-size: 30px; line-height: 1.2; text-wrap: balance; }
.about-text .about-join { margin-top: 24px; }
.about-text .btn { margin-top: 26px; }
.about-photo { justify-self: center; width: 100%; max-width: 500px; height: 720px; border-radius: 250px 250px 28px 28px; overflow: hidden; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 56% 40%; }

/* ---------- FAQ ---------- */
.faq { max-width: 1320px; margin: 0 auto; padding: clamp(88px, 10vw, 150px) clamp(20px, 5vw, 76px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto 1fr; grid-template-areas: "head list" "note list"; column-gap: clamp(32px, 6vw, 88px); align-items: start; }
.faq .h2 { grid-area: head; }
.faq-note { grid-area: note; margin-top: 22px; max-width: 360px; line-height: 1.6; }
.faq-note a { color: var(--espresso); text-decoration: underline; text-underline-offset: 3px; }
.faq-list { grid-area: list; display: flex; flex-direction: column; border-top: 1px solid rgba(37, 26, 22, .16); }
.faq details { border-bottom: 1px solid rgba(37, 26, 22, .16); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 76px; font-size: 20px; letter-spacing: -.01em; }
.faq-ico { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(37, 26, 22, .28); transition: background-color .3s ease, color .3s ease, border-color .3s ease; }
.faq-ico svg { width: 14px; height: 14px; }
.faq details[open] .faq-ico { background: var(--maroon); border-color: var(--maroon); color: var(--cream); }
.faq details[open] .faq-v { display: none; }
.faq details p { padding: 0 60px 26px 0; font-size: 16px; line-height: 1.65; color: var(--muted); }

/* ---------- Instagram ---------- */
.ig { margin: 0 14px clamp(88px, 10vw, 140px); padding: clamp(56px, 6vw, 96px) clamp(20px, 4vw, 56px); border-radius: 28px; background: var(--sand); }
.ig-inner { max-width: 1320px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 380px); grid-template-areas: "title text" "title btn" "tiles tiles"; column-gap: 28px; }
.ig .h2 { grid-area: title; align-self: end; }
.ig-text { grid-area: text; line-height: 1.6; }
.ig-btn { grid-area: btn; justify-self: start; margin-top: 22px; padding-left: 24px; gap: 12px; }
.ig-btn .btn-ico svg { width: 18px; height: 18px; }
.ig-tiles { grid-area: tiles; margin-top: 48px; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.ig-tile { position: relative; display: block; aspect-ratio: 3 / 4; border-radius: 16px; overflow: hidden; background: var(--tile); }
.ig-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease-out); }
.ig-ov { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(37, 26, 22, .38); color: #FFFFFF; opacity: 0; transition: opacity .4s ease; }
.ig-ov svg { width: 30px; height: 30px; }
.ig-tile:hover { opacity: 1; }
.ig-tile:hover img { transform: scale(1.05); }
.ig-tile:hover .ig-ov { opacity: 1; }
.ig-all { aspect-ratio: 3 / 4; display: flex; flex-direction: column; justify-content: space-between; padding: 22px; border-radius: 16px; background: var(--maroon); color: var(--cream); }
.ig-all > svg { width: 28px; height: 28px; }
.ig-all > span { display: flex; flex-direction: column; gap: 8px; }
.ig-all-t { font-family: var(--serif); font-style: italic; font-size: 32px; line-height: 1; }
.ig-all-s { font-size: 14px; color: var(--muted-d); }

/* ---------- Final CTA and footer ---------- */
.footer { padding: 14px 14px 0; background: var(--maroon); color: var(--cream); }
.cta-card { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(460px, 100%), 1fr)); border-radius: 28px; overflow: hidden; background: var(--maroon-2); }
.cta-text { display: flex; flex-direction: column; justify-content: center; padding: clamp(48px, 6vw, 96px) clamp(24px, 5vw, 76px); }
.cta-text p { margin-top: 24px; max-width: 400px; font-size: 17px; line-height: 1.6; color: var(--muted-d); }
.cta-text .btn { margin-top: 34px; align-self: flex-start; }
.cta-photo { position: relative; min-height: 680px; }
.cta-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 66%; }
.footer-main { max-width: 1240px; margin: 0 auto; padding: 72px clamp(6px, 4vw, 62px) 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; }
.footer-brand { display: flex; flex-direction: column; gap: 14px; max-width: 320px; }
.footer-logo { display: block; width: 140px; }
.footer-logo img { width: 100%; height: auto; }
.footer-brand p { font-size: 15px; line-height: 1.6; color: var(--muted-d2); }
.footer-cols { display: flex; flex-wrap: wrap; gap: 64px; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col a { font-size: 15px; }
.footer-h { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-d2); }
.footer-ig { display: inline-flex; align-items: center; gap: 10px; }
.footer-ig svg { width: 16px; height: 16px; }
.footer-legal { max-width: 1240px; margin: 56px auto 0; padding: 26px clamp(6px, 4vw, 62px) max(34px, env(safe-area-inset-bottom)); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 13px; color: var(--muted-d2); }
.footer-legal a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(183, 167, 156, .5); }

/* ================= Tablet: menu button, phone face map ================= */
@media (max-width: 1023px) {
  .nav-links, .nav-cta { display: none; }
  .nav-btn { display: inline-flex; }
  .nav-bg { background-color: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .24); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); top: var(--bg-t0, 18px); right: var(--bg-r0, 18px); bottom: var(--bg-b0, 18px); left: var(--bg-l0, 80%); }
  .site-nav[data-scrolled] .nav-bg { top: var(--bg-t1, 18px); right: var(--bg-r1, 18px); bottom: var(--bg-b1, 18px); left: var(--bg-l1, 6px); box-shadow: 0 18px 36px -22px rgba(0, 0, 0, .6); }
  .fm-d { display: none; }
  .fm-m { display: block; }
  .fm-sticky { top: 10px; }
  .ig-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ================= Phone ================= */
@media (max-width: 860px) {
  html { scroll-padding-top: 84px; }
  .d-only { display: none !important; }
  .m-only { display: revert; }
  .h2 { font-size: 38px; }
  .body { font-size: 16px; line-height: 1.6; }
  .btn { padding-left: 24px; }
  .btn-wide { display: flex; justify-content: space-between; width: 100%; }
  .pill { top: 8px; left: 8px; padding: 5px 9px; font-size: 10px; letter-spacing: .1em; }

  /* nav */
  .site-nav { top: 10px; left: 10px; right: 10px; min-height: 84px; padding: 18px 18px 18px 22px; }
  .nav-logo img { height: 48px; }
  .site-nav[data-scrolled] .nav-logo img { height: 40px; }
  .menu { padding-top: 116px; padding-left: 22px; padding-right: 22px; }

  /* hero */
  .hero { --hero-h: max(600px, min(780px, calc(100vh - 20px))); padding: 10px; background: linear-gradient(var(--espresso), var(--espresso)) top / 100% calc(var(--hero-h) + 20px) no-repeat, var(--cream); }
  @supports (height: 100svh) { .hero { --hero-h: max(600px, min(780px, calc(100svh - 20px))); } }
  .hero-frame { height: var(--hero-h); min-height: 0; padding-bottom: 0; border-radius: 24px; }
  .hero-img { object-position: 50% 20%; }
  .hero-shade { background: linear-gradient(0deg, rgba(30, 21, 17, .92) 0%, rgba(30, 21, 17, .70) 42%, rgba(30, 21, 17, .05) 70%), linear-gradient(180deg, rgba(30, 21, 17, .45) 0%, rgba(30, 21, 17, 0) 18%); }
  .hero-spacer { display: none; }
  .hero-content { flex: none; margin-top: auto; max-width: none; padding: 0 22px 26px; }
  .hero h1 { font-size: 46px; }
  .hero-lead { margin-top: 18px; max-width: none; font-size: 16px; line-height: 1.55; }
  .hero-actions { display: block; margin-top: 24px; }
  .hero-sub { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 14px; }
  .hero-how { min-height: 44px; padding: 0; border: 0; border-radius: 0; font-size: 15px; text-decoration: underline; text-underline-offset: 4px; }
  .hero-start { flex-basis: auto; margin: 0; font-size: 13px; }
  .circ-row { position: static; gap: 14px; padding: 38px 0 0 20px; margin: 0 -10px; color: var(--espresso); cursor: auto; }
  .circ { gap: 10px; }
  .circ:last-child { padding-right: 20px; }
  .circ-img { width: 96px; height: 96px; border: 0; }
  .circ figcaption { letter-spacing: 0; }
  .circ figcaption::before { display: none; }

  /* method */
  .method { padding: 64px 20px 0; }
  .method .h2 { font-size: 34px; }
  .method .lead { margin-top: 20px; font-size: 16px; line-height: 1.6; }
  .fan { margin-top: 48px; padding: 0; }
  .fan-card { border-width: 4px; border-radius: 18px; }
  .fan-l, .fan-r { width: 140px; aspect-ratio: 140 / 190; box-shadow: 0 24px 40px -24px rgba(37, 26, 22, .55); }
  .fan-l { margin-right: -22px; transform: rotate(-7deg) translateY(8px); }
  .fan-r { margin-left: -22px; transform: rotate(7deg) translateY(8px); }
  .fan-c { width: 146px; aspect-ratio: 146 / 200; transform: translateY(-12px); box-shadow: 0 28px 44px -24px rgba(37, 26, 22, .6); }
  .stats { margin-top: 60px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat { gap: 6px; padding: 26px 8px; }
  .stat:nth-child(1) { border-bottom: 1px solid rgba(37, 26, 22, .14); }
  .stat:nth-child(2) { border-right: 0; border-bottom: 1px solid rgba(37, 26, 22, .14); }
  .stat-num { font-size: 48px; }
  .stat-label { font-size: 14px; }
  .stat-label .serif { font-size: 17px; }

  /* face map */
  .facemap { margin: 72px 10px 0; }

  /* program */
  .program { margin: 80px 10px 0; padding: 48px 18px 22px; border-radius: 24px; }
  .program-head { display: block; padding: 0 4px; }
  .program-head p { margin-top: 16px; max-width: none; font-size: 16px; line-height: 1.6; }
  .program-grid { margin-top: 28px; grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .facts-card { padding: 6px 18px; border-radius: 20px; }
  .facts li { gap: 14px; padding: 14px 0; }
  .facts .fact-days, .facts-cta, .cal-note { display: none; }
  .fact-ico { width: 40px; height: 40px; }
  .fact-ico svg { width: 17px; height: 17px; }
  .fact-k { font-size: 11px; }
  .fact-v { font-size: 16px; }
  .cal-card { gap: 18px; padding: 22px 18px; border-radius: 20px; }
  .cal-head h3 { font-size: 22px; }
  .cal-head .serif { font-size: 25px; }
  .cal { gap: 6px; }
  .cal-wd { font-size: 11px; letter-spacing: .06em; }
  .cal-dot { width: 90%; font-size: 14px; }
  .cal-rest { width: 10px; }
  .cal-legend-m { display: inline-flex; }
  .cal-legend-m .cal-key { width: 9px; height: 9px; }
  .program-cta-m { display: block; margin-top: 22px; }
  .program-cta-m p { margin: 14px 4px 6px; font-size: 13px; line-height: 1.5; color: var(--muted-d2); text-align: center; }

  /* results */
  .results { display: block; padding: 80px 20px 0; }
  .results-head .body { margin-top: 16px; }
  .ba { margin-top: 26px; grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .ba figure { border-radius: 18px; }
  .ba .pill { top: 12px; left: 12px; padding: 6px 11px; font-size: 10px; letter-spacing: .12em; }

  /* workshops */
  .workshops { display: block; padding: 80px 20px; }
  .ws-media { height: auto; }
  .ws-photo { position: relative; height: 360px; border-radius: 22px; }
  .ws-photo img { object-position: 50% 30%; }
  .ws-card { position: relative; left: auto; right: auto; bottom: auto; max-width: none; margin: -70px 14px 0; gap: 6px; padding: 20px; border-radius: 18px; box-shadow: 0 20px 40px -24px rgba(37, 26, 22, .45); }
  .ws-label { font-size: 10px; }
  .ws-title { font-size: 26px; }
  .ws-sub { font-size: 14px; }
  .ws-date { margin-top: 4px; font-size: 13px; }
  .ws-date svg { width: 15px; height: 15px; }
  .ws-text .h2 { margin-top: 44px; }
  .ws-text .body { margin-top: 16px; }
  .ws-text .body + .body { margin-top: 12px; }
  .ws-text .btn { margin-top: 26px; }

  /* about */
  .about { margin: 0 10px; padding: 40px 20px 44px; border-radius: 24px; }
  .about-inner { display: flex; flex-direction: column; gap: 0; }
  .about-photo { order: -1; width: 300px; max-width: 100%; height: 400px; border-radius: 150px 150px 22px 22px; }
  .about-text { width: 100%; }
  .about-text .h2-xl { margin-top: 36px; font-size: 44px; }
  .badge { margin-top: 18px; padding: 7px 13px; font-size: 12px; }
  .badge svg { width: 13px; height: 13px; }
  .about-lead { margin-top: 22px; font-size: 19px; line-height: 1.5; }
  .about-text .body { margin-top: 12px; }
  .about-lead + .body { margin-top: 14px; }
  .about-quote { margin-top: 22px; font-size: 26px; }
  .about-text .about-join { margin-top: 20px; }
  .about-text .btn { margin-top: 22px; }

  /* faq */
  .faq { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-template-areas: "head" "list" "note"; padding: 80px 20px; }
  .faq-list { margin-top: 30px; }
  .faq summary { gap: 14px; min-height: 68px; font-size: 17px; letter-spacing: 0; }
  .faq-ico { width: 36px; height: 36px; }
  .faq-ico svg { width: 13px; height: 13px; }
  .faq details p { padding: 0 44px 22px 0; font-size: 15px; line-height: 1.6; }
  .faq-note { margin-top: 24px; max-width: none; font-size: 15px; }

  /* instagram */
  .ig { margin: 0 10px 80px; padding: 40px 12px 14px; border-radius: 24px; }
  .ig-inner { grid-template-columns: minmax(0, 1fr); grid-template-areas: "title" "text" "tiles" "btn"; }
  .ig .h2, .ig-text { padding: 0 8px; }
  .ig-text { margin-top: 14px; font-size: 15px; }
  .ig-tiles { margin-top: 22px; gap: 4px; border-radius: 14px; overflow: hidden; }
  .ig-tile, .ig-all { border-radius: 0; }
  .ig-ov { display: none; }
  .ig-all { padding: 12px; }
  .ig-all > svg { width: 22px; height: 22px; }
  .ig-all-t { font-size: 21px; }
  .ig-all-s { display: none; }
  .ig-btn { margin-top: 14px; }

  /* footer */
  .footer { padding: 10px 10px 0; }
  .cta-card { grid-template-columns: minmax(0, 1fr); border-radius: 24px; }
  .cta-photo { order: -1; min-height: 0; height: 320px; }
  .cta-photo img { object-position: 50% 69%; }
  .cta-text { padding: 32px 22px 26px; }
  .cta-text .h2 { font-size: 36px; }
  .cta-text p { margin-top: 16px; max-width: none; font-size: 16px; }
  .cta-text .btn { margin-top: 24px; align-self: stretch; }
  .footer-main { flex-direction: column; gap: 36px; padding: 48px 12px 0; }
  .footer-brand { gap: 10px; }
  .footer-logo { width: 120px; }
  .footer-brand p { font-size: 14px; }
  .footer-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .footer-col { gap: 4px; }
  .footer-h { margin-bottom: 6px; font-size: 11px; }
  .footer-col a { display: flex; align-items: center; min-height: 36px; }
  .footer-ig svg { display: none; }
  .footer-legal { margin-top: 40px; padding: 22px 12px max(30px, env(safe-area-inset-bottom)); flex-wrap: nowrap; font-size: 12px; }
}

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